(0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (1.2ms) CREATE TABLE "storytime_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.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_storytime_users_on_email" ON "storytime_users" ("email")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_storytime_users_on_reset_password_token" ON "storytime_users" ("reset_password_token")  (0.7ms) 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"  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140501171949') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:27:15.055567"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$rdeSWeoES2GXHTu6U0ZU0u3P91vyt/SxFr.2mycHXbUqUcA9cF7Gq"], ["updated_at", "2014-05-01 17:27:15.055567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:31:20.571595"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$lFNIws2Ycun9Z7QMXawh3eqg5692p4jLXOr2GLiCzkoO9MGRHzw1W"], ["updated_at", "2014-05-01 17:31:20.571595"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:35:23.533156"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$rne166FiSbVcAdq0oYHmQud///oZatUxNY0VzLyAXI0hQm53eLYBW"], ["updated_at", "2014-05-01 17:35:23.533156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:35:44.244172"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Hu/sy421V2yomZm8UeN2TO7lHWbGU7DuJNeudtZZoOSGC/wjJEk96"], ["updated_at", "2014-05-01 17:35:44.244172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:35:44 -0500  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:35:59.745995"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$F4rikGyf.bTlFVGONSTR4O.JwjMSIus/PFBt2rKLDZQAqbty/jii2"], ["updated_at", "2014-05-01 17:35:59.745995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:36:45.066047"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$yCrTge.iODtQ2zujwOju9e8bbEKW8jvyZUnxKtKZGUxnPzQ5rTDHm"], ["updated_at", "2014-05-01 17:36:45.066047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:37:45.676526"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$zPhDfOa.SuwcNbOcNge/UOy0gF6kA5WPL5/7Gs/lBJ2EqKnL8cCZS"], ["updated_at", "2014-05-01 17:37:45.676526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:37:53.038375"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$w7y5RLF07QbCBMOC//1mfeC4nW0sVahHS40sGQvct8RbKYg0yLjMy"], ["updated_at", "2014-05-01 17:37:53.038375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.5ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:38:03.387810"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$oJ06ZFBpV3bAh7kDPOWGieedYSvJmy4OFd1CGpyrVBkJOLMmVGn/K"], ["updated_at", "2014-05-01 17:38:03.387810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:38:03 -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.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (37.7ms) Completed 200 OK in 98ms (Views: 82.6ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.5ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:41:05.241695"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$sddzeeUj4GOyrJFIFJHtx.WfQJo9OBEh89ryO1Y30OPicQ.Fd.qOS"], ["updated_at", "2014-05-01 17:41:05.241695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:41:05 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (35.3ms) Completed 200 OK in 70ms (Views: 55.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:41:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:41:05.355141"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:41:05.355141"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:41:05.356083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:41:05 -0500  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) DROP TABLE "storytime_users"  (1.0ms) CREATE TABLE "storytime_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.4ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_storytime_users_on_email" ON "storytime_users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_storytime_users_on_reset_password_token" ON "storytime_users" ("reset_password_token")  (0.1ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:43:35.925071"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$SZ3oeUG2HeqSzbSLlx.Q0uynL40HcG0dzDNWRTmKpDVrEpJDaJ1.W"], ["updated_at", "2014-05-01 17:43:35.925071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:43:35 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (35.1ms) Completed 200 OK in 77ms (Views: 56.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:43:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:43:36.046039"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:43:36.046039"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:43:36.047086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:43:36 -0500  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) DROP TABLE "storytime_users"  (1.0ms) CREATE TABLE "storytime_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.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_storytime_users_on_email" ON "storytime_users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_storytime_users_on_reset_password_token" ON "storytime_users" ("reset_password_token")  (0.1ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) DROP TABLE "storytime_users"  (1.0ms) CREATE TABLE "storytime_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.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_storytime_users_on_email" ON "storytime_users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_storytime_users_on_reset_password_token" ON "storytime_users" ("reset_password_token")  (0.1ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published" boolean, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (0.9ms) DROP TABLE "storytime_users"  (1.0ms) CREATE TABLE "storytime_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_storytime_users_on_email" ON "storytime_users" ("email")  (0.9ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'  (1.0ms) CREATE UNIQUE INDEX "index_storytime_users_on_reset_password_token" ON "storytime_users" ("reset_password_token")  (0.1ms) SELECT version FROM "schema_migrations"  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140501174341') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:44:41.473032"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$iS8WN095WJuWZq7TBmJ9l.9kVzb7MZMdIsbWcHWX4v.3CQ3.ebxXO"], ["updated_at", "2014-05-01 17:44:41.473032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:44:41 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (44.4ms) Completed 200 OK in 124ms (Views: 91.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:44:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:44:41.698589"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:44:41.698589"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:44:41.699695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:44:41 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.5ms) Completed 200 OK in 9ms (Views: 3.6ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:47:09.966923"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$InRpwGIjLLr0WsuSUGckpOpnbny.lFIZBrssGZPPNh.BtpoRXW9eu"], ["updated_at", "2014-05-01 17:47:09.966923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:47:09 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (35.4ms) Completed 200 OK in 70ms (Views: 55.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:47:10 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:47:10.078982"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:47:10.078982"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:47:10.080016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:47:10 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.3ms) Completed 200 OK in 12ms (Views: 5.5ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:47:12.757738"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$cv5a0Ge5dP1rb90R6dT3xOR7suOJhglZRkuXLbRDgsvU5W4qjaqcS"], ["updated_at", "2014-05-01 17:47:12.757738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:47:12 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (27.1ms) Completed 200 OK in 57ms (Views: 42.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:47:12 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:47:12.856283"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:47:12.856283"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:47:12.857948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:47:12 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.1ms) Completed 200 OK in 11ms (Views: 5.2ms | ActiveRecord: 0.2ms)  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:47:47.919481"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$qjjO0a2rhfVUBSpfEwJyHOxX1ED9g91lVXpMNES22J6bres28BgCy"], ["updated_at", "2014-05-01 17:47:47.919481"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:47:47 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.5ms) Completed 200 OK in 55ms (Views: 39.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:47:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:47:48.009737"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:47:48.009737"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:47:48.010754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:47:48 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Completed 200 OK in 10ms (Views: 4.6ms | ActiveRecord: 0.1ms)  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:47:53.542676"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$k.oxrIKBa10wMk2vGjTzb./xEUJXNq0.6bO6wlftaOgCJIoIPMZPG"], ["updated_at", "2014-05-01 17:47:53.542676"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:47:53 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.5ms) Completed 200 OK in 50ms (Views: 37.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:47:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:47:53.638881"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:47:53.638881"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:47:53.639882"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:47:53 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Completed 200 OK in 10ms (Views: 4.8ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:48:25.403396"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$aSstASds0w/W7yocJSG9v.lBB3FC76yoM6mjwx87RVzBZw8bBKxLi"], ["updated_at", "2014-05-01 17:48:25.403396"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:48:25 -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.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.3ms) Completed 200 OK in 53ms (Views: 40.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:48:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:48:25.492712"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:48:25.492712"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:48:25.493646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:48:25 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.2ms) Completed 200 OK in 11ms (Views: 5.7ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts"  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:51:12.649733"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$e/ccvJh2JnYMRp9j4sHXuOD7bWR1oDkE.mA2xCFJxWOjZ8hw2rN1e"], ["updated_at", "2014-05-01 17:51:12.649733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:51:12 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.4ms) Completed 200 OK in 55ms (Views: 39.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:51:12 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:51:12.741985"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:51:12.741985"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:51:12.742965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:51:12 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (9.3ms) Completed 200 OK in 16ms (Views: 11.8ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 12:51:12 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (14.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (16.4ms) Completed 200 OK in 19ms (Views: 18.6ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 12:51:12 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"}  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 17:51:12.804517"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 17:51:12.804517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 12:51:12 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (12.6ms) Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:51:29.843042"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$4KreBfJLo2x/YboFengC0u4MCCw1HTY6A.OOOYW7rvLqIOg4zWaSS"], ["updated_at", "2014-05-01 17:51:29.843042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:51:29 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.9ms) Completed 200 OK in 55ms (Views: 38.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:51:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:51:29.932906"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:51:29.932906"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:51:29.933898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:51:29 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Completed 200 OK in 10ms (Views: 4.8ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 12:51:29 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (9.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (18.2ms) Completed 200 OK in 20ms (Views: 19.9ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 12:51:29 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"}  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 17:51:29.988944"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 17:51:29.988944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 12:51:29 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (12.8ms) Completed 200 OK in 17ms (Views: 15.3ms | ActiveRecord: 0.2ms)  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:52:34.714758"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$ilzqoZ6bZszeYnsnYGN5KOXk6upkk5ShphlMg41/wGMxHqZ.tpFZi"], ["updated_at", "2014-05-01 17:52:34.714758"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:52:34 -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 (2.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (33.8ms) Completed 200 OK in 71ms (Views: 58.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:52:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:52:34.822106"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:52:34.822106"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:52:34.823091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:52:34 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.5ms) Completed 200 OK in 14ms (Views: 7.6ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 12:52:34 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (11.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (13.0ms) Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 12:52:34 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"}  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 17:52:34.895898"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 17:52:34.895898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 12:52:34 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (9.3ms) Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.1ms)  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:52:54.882157"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$lSojagn5.7Z4niERT.bOu.sinVOfUZBuEvXnFa/EOAV0KxDS1kyim"], ["updated_at", "2014-05-01 17:52:54.882157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:52:54 -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.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (26.5ms) Completed 200 OK in 57ms (Views: 43.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:52:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:52:54.973612"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:52:54.973612"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:52:54.974625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:52:54 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.5ms) Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 12:52:55 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (12.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (13.6ms) Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 12:52:55 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"}  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 17:52:55.034343"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 17:52:55.034343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 12:52:55 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (7.6ms) Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.2ms)  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:53:09.666428"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$sIpQryN1WZN5SLLXnIVoE.SrdZuYdriP5jQovY1ytPALXx5IrT9H2"], ["updated_at", "2014-05-01 17:53:09.666428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:53:09 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.0ms) Completed 200 OK in 65ms (Views: 50.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:53:09 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:53:09.769253"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:53:09.769253"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:53:09.770247"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:53:09 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.6ms) Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 12:53:09 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (11.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (12.9ms) Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 12:53:09 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"}  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 17:53:09.821630"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 17:53:09.821630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 12:53:09 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (8.4ms) Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.1ms)  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:54:04.413043"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$sRLNo1mQ55NuNRBXU.8c6.eirrR/f6B5OfSedOH1eQt7LlXvUg2I."], ["updated_at", "2014-05-01 17:54:04.413043"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:54:04 -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 (2.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (26.1ms) Completed 200 OK in 57ms (Views: 44.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:54:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:54:04.509550"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:54:04.509550"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:54:04.510526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:54:04 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (11.1ms) Completed 200 OK in 20ms (Views: 13.7ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 12:54:04 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (11.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (13.1ms) Completed 200 OK in 15ms (Views: 14.9ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 12:54:04 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"}  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 17:54:04.572428"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 17:54:04.572428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 12:54:04 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (9.2ms) Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.1ms)  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:54:08.913902"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$NvVHnSAxlx6K7MbEeXZCp.6YMiGLyJfauAcjgTivO4M0OCQfQnqTK"], ["updated_at", "2014-05-01 17:54:08.913902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:54:08 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (27.9ms) Completed 200 OK in 57ms (Views: 45.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:54:09 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:54:09.007974"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:54:09.007974"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:54:09.008955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:54:09 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.6ms) Completed 200 OK in 9ms (Views: 4.1ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 12:54:09 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (13.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (14.6ms) Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 12:54:09 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"}  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 17:54:09.070410"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 17:54:09.070410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 12:54:09 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (8.5ms) Completed 200 OK in 11ms (Views: 10.6ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:54:45.563783"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$JomI2iAsDKEeunJlI0GMzuqzTGde76PziUHx08yzogX6jtq83G59K"], ["updated_at", "2014-05-01 17:54:45.563783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:54:45 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.9ms) Completed 200 OK in 51ms (Views: 38.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:54:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:54:45.650070"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:54:45.650070"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:54:45.651068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:54:45 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.6ms) Completed 200 OK in 8ms (Views: 4.1ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 12:54:45 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (17.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (19.0ms) Completed 200 OK in 21ms (Views: 20.7ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 12:54:45 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"}  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 17:54:45.706238"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 17:54:45.706238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 12:54:45 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (8.3ms) Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 17:55:12.991388"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$wgbtUYRld8eKFVcISr474.wy0UHGhfBhbI8bEwIuiKe3y1p469fs6"], ["updated_at", "2014-05-01 17:55:12.991388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:55:12 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.7ms) Completed 200 OK in 53ms (Views: 38.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 12:55:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 17:55:13.078233"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 17:55:13.078233"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 17:55:13.079216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-01 12:55:13 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Completed 200 OK in 10ms (Views: 5.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 12:55:13 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (19.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (21.0ms) Completed 200 OK in 24ms (Views: 23.2ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 12:55:13 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"}  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 17:55:13.139253"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 17:55:13.139253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 12:55:13 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (8.2ms) Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.1ms)  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:00:56.057526"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$QloNx/F2Mpic8i3d3/eywODiQ1EMWI7JGRYqRaUo/K8kSa/pBPSJi"], ["updated_at", "2014-05-01 18:00:56.057526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:00:56 -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 (2.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (32.3ms) Completed 200 OK in 64ms (Views: 50.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:00:56 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:00:56.159080"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:00:56.159080"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:00:56.161052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:00:56 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.5ms) Completed 200 OK in 8ms (Views: 4.1ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 13:00:56 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (9.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (11.2ms) Completed 200 OK in 13ms (Views: 12.9ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 13:00:56 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"}  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 18:00:56.216295"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 18:00:56.216295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 13:00:56 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (8.2ms) Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.1ms)  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:01:41.493531"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$74d4alEoXUb7D63yBXFC/OTPS3mhbFpOQ9bfbezwltYzfOkGeaeqK"], ["updated_at", "2014-05-01 18:01:41.493531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:01:41 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.6ms) Completed 200 OK in 56ms (Views: 40.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:01:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:01:41.588722"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:01:41.588722"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:01:41.589724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:01:41 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Completed 200 OK in 9ms (Views: 4.6ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 13:01:41 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (24.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (26.2ms) Completed 200 OK in 28ms (Views: 27.9ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 13:01:41 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"}  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 18:01:41.656197"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 18:01:41.656197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 13:01:41 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (7.8ms) Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:01:46.302191"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$IC8t2ZX839e1NRlSW3vtnOAb.rWIujwlgRyv1HwAYiIrh5GvUr6oe"], ["updated_at", "2014-05-01 18:01:46.302191"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:01:46 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.9ms) Completed 200 OK in 52ms (Views: 39.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:01:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:01:46.390760"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:01:46.390760"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:01:46.391730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:01:46 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Completed 200 OK in 9ms (Views: 4.7ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 13:01:46 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (10.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (12.0ms) Completed 200 OK in 14ms (Views: 13.8ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 13:01:46 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"}  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 18:01:46.449209"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 18:01:46.449209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 13:01:46 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (8.5ms) Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.1ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1  (1.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:02:03.701857"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$azfjllLhrlchLewkZENSheY892UqBGRc73ZjA9D30j9TNlvajLd5K"], ["updated_at", "2014-05-01 18:02:03.701857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:02:03 -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 (2.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (33.3ms) Completed 200 OK in 65ms (Views: 51.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:02:03 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:02:03.806387"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:02:03.806387"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:02:03.807854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 20ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:02:03 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (13.6ms) Completed 200 OK in 21ms (Views: 16.6ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 13:02:03 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (11.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (13.1ms) Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 13:02:03 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"}  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 18:02:03.874808"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 18:02:03.874808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 13:02:03 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (7.7ms) Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.1ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:02:38.879081"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$MwHHBksKqpVhNCm4jUuwJOVEm060Yya5BJMkAj8igGk9iVF54OqZK"], ["updated_at", "2014-05-01 18:02:38.879081"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:02:38 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.9ms) Completed 200 OK in 58ms (Views: 42.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:02:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:02:38.972885"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:02:38.972885"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:02:38.973901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:02:38 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.5ms) Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 13:02:39 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (14.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (16.3ms) Completed 200 OK in 18ms (Views: 18.0ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 13:02:39 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"} Unpermitted parameters: user_id  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 18:02:39.033283"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 18:02:39.033283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 13:02:39 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (10.9ms) Completed 200 OK in 14ms (Views: 13.0ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:02:56.973736"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$FDvTolZexPWTGkhPLUltVeaxsPF7/bwglf3Kgodb6OQGhs9zL.Ejm"], ["updated_at", "2014-05-01 18:02:56.973736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:02:56 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (26.1ms) Completed 200 OK in 58ms (Views: 41.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:02:57 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:02:57.066476"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:02:57.066476"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:02:57.067845"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:02:57 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (8.3ms) Completed 200 OK in 15ms (Views: 10.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 13:02:57 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (15.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (17.1ms) Completed 200 OK in 19ms (Views: 19.1ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 13:02:57 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Unpermitted parameters: user_id Completed 500 Internal Server Error in 3ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:03:04.114952"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$qRvLA/86qi4Z2/U2LzO11uGJ5NKvoYSojISKhhODWz8ImAEojW9Ga"], ["updated_at", "2014-05-01 18:03:04.114952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:03:04 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (26.8ms) Completed 200 OK in 58ms (Views: 44.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:03:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:03:04.208733"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:03:04.208733"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:03:04.209704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:03:04 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (8.9ms) Completed 200 OK in 15ms (Views: 11.5ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 13:03:04 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (15.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (16.8ms) Completed 200 OK in 19ms (Views: 19.0ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 13:03:04 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 2ms  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:03:11.695715"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$wPim/E7IDpxnCe2vAM7IbuZqz8tT0t1yGX/nCFM15phBS0IPibkQm"], ["updated_at", "2014-05-01 18:03:11.695715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:03:11 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.7ms) Completed 200 OK in 52ms (Views: 37.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:03:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:03:11.781423"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:03:11.781423"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:03:11.782481"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:03:11 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.5ms) Completed 200 OK in 16ms (Views: 4.1ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 13:03:11 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (9.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (11.0ms) Completed 200 OK in 13ms (Views: 12.7ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 13:03:11 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Unpermitted parameters: user_id  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 18:03:11.859846"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 18:03:11.859846"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 24ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 13:03:11 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (8.4ms) Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:03:19.347958"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$xMPHMY06fStzMTkPq8cOcOHi0v4jrooFltGhNLEpVblNudTCvr1dS"], ["updated_at", "2014-05-01 18:03:19.347958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:03:19 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (23.8ms) Completed 200 OK in 51ms (Views: 38.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:03:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:03:19.434477"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:03:19.434477"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:03:19.435483"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:03:19 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Completed 200 OK in 9ms (Views: 4.8ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 13:03:19 -0500 Processing by Storytime::PostsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_form.html.erb (9.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/new.html.erb within layouts/storytime/application (11.3ms) Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.0ms) Started POST "/posts" for 127.0.0.1 at 2014-05-01 13:03:19 -0500 Processing by Storytime::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"user_id"=>"", "title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>"", "published"=>"0", "post_type"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Unpermitted parameters: user_id  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "post_type", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-01 18:03:19.508292"], ["excerpt", ""], ["post_type", ""], ["published", "f"], ["title", ""], ["updated_at", "2014-05-01 18:03:19.508292"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 20ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-01 13:03:19 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (9.0ms) Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.6ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:37:30.512538"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$YSQSe8i5hnlz0p7kUNgi3OFK0aEI5XNnr.ZP3eGagsO8I1E6fv3Te"], ["updated_at", "2014-05-01 18:37:30.512538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:37:30 -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.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (39.2ms) Completed 200 OK in 2940ms (Views: 2924.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:37:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:37:33.524006"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:37:33.524006"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:37:33.525512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 26ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:37:33 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.5ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.4ms) Completed 200 OK in 14ms (Views: 7.5ms | ActiveRecord: 0.5ms)  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/posts/new" for 127.0.0.1 at 2014-05-01 13:37:33 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"new"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 0]] Completed 404 Not Found in 2ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.5ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:38:53.418297"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Ya9Q92lgYx6UG5sieRbRyO7ByKNgxURnh0gn6qyFA5f3rRVMuDy12"], ["updated_at", "2014-05-01 18:38:53.418297"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:38:53 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (35.2ms) Completed 200 OK in 102ms (Views: 87.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:38:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:38:53.566155"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:38:53.566155"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:38:53.567146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:38:53 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (41.6ms) Completed 500 Internal Server Error in 49ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.6ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:40:12.052775"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$r/R4BMj6Rv2P5//Xbtt4LuUFllnFe1E/2ryjn/cPwvldA0gaubdFa"], ["updated_at", "2014-05-01 18:40:12.052775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:40:12 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (38.6ms) Completed 200 OK in 107ms (Views: 92.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:40:12 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:40:12.201236"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:40:12.201236"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:40:12.202823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 24ms (ActiveRecord: 1.9ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:40:12 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (41.4ms) Completed 500 Internal Server Error in 49ms  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:47:56.018590"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$QH2LAcc3aNhr/NUQIdctleBSDQCZYJeJOhh3pJQFIqjgxXcaghE7a"], ["updated_at", "2014-05-01 18:47:56.018590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:47:56 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (30.3ms) Completed 200 OK in 98ms (Views: 83.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:47:56 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:47:56.162159"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:47:56.162159"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:47:56.163165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:47:56 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (41.6ms) Completed 500 Internal Server Error in 51ms  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:49:11.418820"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$NFbCYUx0RwJD9iPow8wDJuIhYpH6zTUffqKpa0RPYkIwHb2QOieqi"], ["updated_at", "2014-05-01 18:49:11.418820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:49:11 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.2ms) Completed 200 OK in 82ms (Views: 69.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:49:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:49:11.538239"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:49:11.538239"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:49:11.539233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:49:11 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (13.6ms) Completed 500 Internal Server Error in 22ms  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:49:27.311341"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Ub28AwBz6WZLmj4o8gM8EuXmvhLHuz2dCYbYppmJB9fXabGDT9O4K"], ["updated_at", "2014-05-01 18:49:27.311341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:49:27 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.6ms) Completed 200 OK in 88ms (Views: 74.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:49:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:49:27.432560"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:49:27.432560"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:49:27.433854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:49:27 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (17.3ms) Completed 500 Internal Server Error in 25ms  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:49:44.079717"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$El8WGe0YI.xj.qKfSFESmuTAcfq1ye.C/ihgTXSlmSLd69AUfBUzq"], ["updated_at", "2014-05-01 18:49:44.079717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:49:44 -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/storytime/application (22.8ms) Completed 200 OK in 77ms (Views: 61.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:49:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:49:44.192006"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:49:44.192006"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:49:44.192997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:49:44 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (43.0ms) Completed 500 Internal Server Error in 51ms  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:50:02.400309"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$cvcMLZ23vPNnDL3CCq32A.Usb9cnEp9Hu1pNYvHQC5ral0Yj0AqIK"], ["updated_at", "2014-05-01 18:50:02.400309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:50:02 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (23.8ms) Completed 200 OK in 72ms (Views: 59.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:50:02 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:50:02.505674"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:50:02.505674"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:50:02.506763"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:50:02 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (43.1ms) Completed 500 Internal Server Error in 52ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:54:20.375633"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$d9M.fj96XgEI771jM0.Au.A5TIFBTsUgSOqkXWBbKzFgsXuTWCnK."], ["updated_at", "2014-05-01 18:54:20.375633"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:54:20 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (27.5ms) Completed 200 OK in 79ms (Views: 65.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:54:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:54:20.488532"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:54:20.488532"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:54:20.489650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:54:20 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (43.4ms) Completed 500 Internal Server Error in 52ms  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:54:38.346107"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$xsxljGp/Jw6euS82obxHguz.gTD5dOHhrBaGiqYNxzRiQwRzuxzs6"], ["updated_at", "2014-05-01 18:54:38.346107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:54:38 -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 (2.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (33.4ms) Completed 200 OK in 95ms (Views: 74.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:54:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:54:38.485499"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:54:38.485499"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:54:38.486660"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:54:38 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (50.8ms) Completed 500 Internal Server Error in 58ms  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:54:48.259826"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$fB765HQ5Waa61Rln3MIupO3dhVDySNOyx4BqXyncz0aorCfwkyL9G"], ["updated_at", "2014-05-01 18:54:48.259826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:54:48 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.9ms) Completed 200 OK in 87ms (Views: 73.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:54:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:54:48.390828"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:54:48.390828"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:54:48.394549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 22ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:54:48 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (12.9ms) Completed 500 Internal Server Error in 20ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:59:10.612899"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$UenO75JuPA73lcZR40ZPGusA5yEgZfC/YhXr3g.zSnbdc5swz2uya"], ["updated_at", "2014-05-01 18:59:10.612899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:59:10 -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/storytime/application (23.5ms) Completed 200 OK in 77ms (Views: 60.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:59:10 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:59:10.725722"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:59:10.725722"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:59:10.726709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:59:10 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (45.3ms) Completed 500 Internal Server Error in 54ms  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:59:13.451995"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$mUaCCntUacWPvRqH8JZx8ea3oJn8WzeGfCp6prBIwiAknOY3ezP4q"], ["updated_at", "2014-05-01 18:59:13.451995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:59:13 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.5ms) Completed 200 OK in 75ms (Views: 59.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:59:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:59:13.562312"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:59:13.562312"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:59:13.563297"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:59:13 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (39.9ms) Completed 500 Internal Server Error in 45ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:59:22.248936"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$7Ni1AWb61ule74d6ft7vZuOnhN4sl1nEVvtLFOOjwLrLciSpYTL46"], ["updated_at", "2014-05-01 18:59:22.248936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:59:22 -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 (2.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (27.1ms) Completed 200 OK in 86ms (Views: 72.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:59:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:59:22.371814"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:59:22.371814"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:59:22.372850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:59:22 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (14.7ms) Completed 500 Internal Server Error in 23ms  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 18:59:53.512833"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$9Q1VepV7XcWoc8QoYa3b3u91EMYgQXCr9v2wKnHI56Eg3nT2nA5aa"], ["updated_at", "2014-05-01 18:59:53.512833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:59:53 -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 (2.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (30.1ms) Completed 200 OK in 106ms (Views: 92.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 13:59:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 18:59:53.657356"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 18:59:53.657356"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 18:59:53.658541"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-01 13:59:53 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (14.7ms) Completed 500 Internal Server Error in 22ms  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 19:00:01.512289"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$gkBgsU77JQ.gESoUC2QrcOSoh0/fup7k8HPuuZ5qiN7OqAe7RfmJ2"], ["updated_at", "2014-05-01 19:00:01.512289"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 14:00:01 -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/storytime/application (22.5ms) Completed 200 OK in 71ms (Views: 55.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 14:00:01 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 19:00:01.616585"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 19:00:01.616585"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 19:00:01.617588"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-01 14:00:01 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (45.2ms) Completed 500 Internal Server Error in 53ms  (2.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-01 19:00:16.463851"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$7ryAMNqeba482k4kL/QzuerDKCoRc5aByQud8VdFSzvngXztIDQHy"], ["updated_at", "2014-05-01 19:00:16.463851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-01 14:00:16 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (27.0ms) Completed 200 OK in 89ms (Views: 74.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-01 14:00:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-01 19:00:16.592898"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-01 19:00:16.592898"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-01 19:00:16.594815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 20ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-01 14:00:16 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (12.5ms) Completed 500 Internal Server Error in 19ms  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.5ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:06:12.294020"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$qxroy2PqBG6rPhbvmdw6nu1BFM31o8AvVW0lGe9ZcTS/31LQYOC1G"], ["updated_at", "2014-05-03 20:06:12.294020"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:06:12 -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/storytime/application (23.6ms) Completed 200 OK in 90ms (Views: 75.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:06:12 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:06:12.428182"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:06:12.428182"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:06:12.429413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:06:12 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (12.2ms) Completed 500 Internal Server Error in 18ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:09:47.082046"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$UdCyY2P.YgepxwHLrrNFfeENqS6t35Dob6cmlYLevwsVfCjhP48Oa"], ["updated_at", "2014-05-03 20:09:47.082046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:09:47 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.4ms) Completed 200 OK in 70ms (Views: 57.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:09:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:09:47.188611"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:09:47.188611"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:09:47.189802"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:09:47 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (13.2ms) Completed 500 Internal Server Error in 20ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:09:53.794733"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$GJFVPYniYQsdPT6japTvFex35su253NZSmRarhvZEIGez4Dp2clqG"], ["updated_at", "2014-05-03 20:09:53.794733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:09:53 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.0ms) Completed 200 OK in 70ms (Views: 53.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:09:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:09:53.898607"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:09:53.898607"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:09:53.899634"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:09:53 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (11.7ms) Completed 500 Internal Server Error in 21ms  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 500 Internal Server Error in 7ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 500 Internal Server Error in 8ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 500 Internal Server Error in 10ms  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 500 Internal Server Error in 7ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 500 Internal Server Error in 6ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 500 Internal Server Error in 3ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 500 Internal Server Error in 3ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 6ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:23:24.425401"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$00nnNctkSGfZO9JAk474r.8UVOA2MbP8xrMlyTeLMzxVEyFRYv5V2"], ["updated_at", "2014-05-03 20:23:24.425401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:23:24 -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.7ms) Completed 200 OK in 108ms (Views: 98.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:23:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:23:24.562965"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:23:24.562965"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:23:24.564366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:23:24 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Completed 500 Internal Server Error in 19ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 6ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:23:33.544855"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$8.LSOg41fNJFhVkZQGWxYuXueVOGXubP7nUMuubGq0nTSPOU5bdTy"], ["updated_at", "2014-05-03 20:23:33.544855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:23:33 -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.3ms) Completed 200 OK in 100ms (Views: 87.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:23:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:23:33.672075"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:23:33.672075"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:23:33.673076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:23:33 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Completed 500 Internal Server Error in 20ms  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:23:49.556823"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$BB9ks8vp2Q1Br5dof.YfMe4Azq3zSKhzorhNK6p.8x7.D7qs5xoN6"], ["updated_at", "2014-05-03 20:23:49.556823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:23:49 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (42.5ms) Completed 200 OK in 118ms (Views: 100.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:23:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:23:49.709962"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:23:49.709962"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:23:49.710930"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:23:49 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (13.0ms) Completed 500 Internal Server Error in 21ms  (2.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms Rendered text template (0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 5ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:24:01.498611"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$6oErfbfsuJhb.T4I8romleihPhJzNOWFzwcyKm9iaZNTYCgZ3o0ym"], ["updated_at", "2014-05-03 20:24:01.498611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:24:01 -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.3ms) Completed 200 OK in 59ms (Views: 44.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:24:01 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:24:01.587678"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:24:01.587678"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:24:01.588699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:24:01 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Completed 500 Internal Server Error in 18ms  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:24:22.146013"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$y7yEUGIXoT31nVoDhlSLNuvsZr7Mny7v3TFp0xknnW7Ar03G7I/pa"], ["updated_at", "2014-05-03 20:24:22.146013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:24:22 -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 (2.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.3ms) Completed 200 OK in 80ms (Views: 62.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:24:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:24:22.260039"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:24:22.260039"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:24:22.261066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:24:22 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (13.1ms) Completed 500 Internal Server Error in 21ms  (1.7ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms Rendered text template (0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 5ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:29:02.872299"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$iGktymcODZ4WSm6S7iQo/eRNMAFLNWIBrUfY61bNrMS8ESAf3KCg6"], ["updated_at", "2014-05-03 20:29:02.872299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:29:02 -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) Completed 200 OK in 58ms (Views: 47.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:29:02 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:29:02.958786"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:29:02.958786"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:29:02.959815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.6ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:29:02 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Completed 500 Internal Server Error in 17ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 7ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:29:08.901774"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$ECZqx9c.at2G6BGnr6wPYOc9aDjk00pvbpz13NZbSFfVh2vEtJ8/m"], ["updated_at", "2014-05-03 20:29:08.901774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:29:08 -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.3ms) Completed 200 OK in 55ms (Views: 43.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:29:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (2.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:29:08.982060"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:29:08.982060"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:29:08.983039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 2.5ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:29:08 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Completed 500 Internal Server Error in 21ms  (2.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 6ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:30:39.364304"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$jYR01nK.dq/3NQjGmPvaT.TTyJfr00CwbXJuoDJGwAjjMUIV///Ty"], ["updated_at", "2014-05-03 20:30:39.364304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:30:39 -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) Completed 200 OK in 62ms (Views: 47.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:30:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:30:39.452372"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:30:39.452372"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:30:39.453398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:30:39 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Completed 500 Internal Server Error in 18ms  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 6ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:31:08.777717"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$achG6gOkHK3GVpNRMTSxW..pa7myC.DEukv1EJ.PPuG05fdsEdlYK"], ["updated_at", "2014-05-03 20:31:08.777717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:31:08 -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) Completed 200 OK in 59ms (Views: 49.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:31:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:31:08.868854"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:31:08.868854"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:31:08.869851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:31:08 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Completed 500 Internal Server Error in 19ms  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 5ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:32:36.417337"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$cdgRyc89XzeCjp1rxg.3Vu4jlD7PIjmUmBnNJytpxN1p2gFzwkTcC"], ["updated_at", "2014-05-03 20:32:36.417337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:32:36 -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.3ms) Completed 200 OK in 59ms (Views: 47.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:32:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:32:36.505856"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:32:36.505856"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:32:36.506882"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:32:36 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Completed 500 Internal Server Error in 313998ms  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 5ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:37:53.462446"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$YbFbJnRyVyys/jQM6Nd9ROG0fWCyeMLk55cKkxYhoYCu8sv0Gz80i"], ["updated_at", "2014-05-03 20:37:53.462446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:37:53 -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.3ms) Completed 200 OK in 56ms (Views: 46.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:37:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:37:53.548529"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:37:53.548529"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:37:53.549559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:37:53 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Completed 500 Internal Server Error in 19ms  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 6ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:38:57.411345"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$rxJQiP2o7V2y683dLyqDN.mnJgk2fW9lA6NT/XbhidTtIpl4ZVSFu"], ["updated_at", "2014-05-03 20:38:57.411345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:38:57 -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.5ms) Completed 200 OK in 57ms (Views: 45.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:38:57 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:38:57.495068"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:38:57.495068"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:38:57.496650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:38:57 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Completed 500 Internal Server Error in 28ms  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 5ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:39:14.620209"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$SEXoweXodF/VsUK8IuD9run/0SEHXkVELF/L49XofqSCNugHLvtXC"], ["updated_at", "2014-05-03 20:39:14.620209"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:39:14 -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.8ms) Completed 200 OK in 55ms (Views: 45.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:39:14 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:39:14.703205"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:39:14.703205"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:39:14.704189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:39:14 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Completed 200 OK in 11ms (Views: 5.2ms | ActiveRecord: 0.1ms)  (1.9ms) SELECT COUNT(*) FROM "storytime_posts"  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:39:36.496777"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Q/FGbiZHYXSs/BO3MMS3pe4TvhqP3pf6tenNd58w5H/4peVPjD3rK"], ["updated_at", "2014-05-03 20:39:36.496777"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:39:36 -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 (2.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (27.6ms) Completed 200 OK in 81ms (Views: 66.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:39:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:39:36.612755"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:39:36.612755"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:39:36.613733"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:39:36 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Completed 200 OK in 12ms (Views: 6.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts"  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 9ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:42:47.298653"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$HeFpH09lOjIQvrKOizfkeebCQL4jOjEHxTSvdorGedvY3Xzs.y6lS"], ["updated_at", "2014-05-03 20:42:47.298653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 12ms  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:42:55.938065"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$HRQdgseKaqmD0m94phH0yujxXRCWU2ofcrLojp6TCPmDwsiFqGWAG"], ["updated_at", "2014-05-03 20:42:55.938065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 21ms  (1.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:52:58.060730"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$lLwxCPaRajIfd.EUAZxELusPbKn.A48yK9b3nAJv4DMC92YG/5dL."], ["updated_at", "2014-05-03 20:52:58.060730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 19ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:53:01.120448"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$KWobtfU5IxoWFwX9iHX2Cu5cc/3EndrKKUHsF6ntS1wK4xrPHOt8S"], ["updated_at", "2014-05-03 20:53:01.120448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered widgets/index.html.erb within layouts/storytime/dashboard (1.9ms) Completed 500 Internal Server Error in 18ms  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:53:07.770818"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$IQZ/Q7XAStqTHRc5MVSiUO2G4YU24/pFPaPfl/XwiNxoWpmMxg5Su"], ["updated_at", "2014-05-03 20:53:07.770818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered widgets/index.html.erb within layouts/storytime/dashboard (2.6ms) Completed 500 Internal Server Error in 22ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:54:03.648152"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$UHhCeGZBfJ3BXW8qEaYpSeFS/BopwZ1wP0e9QLOqJbuwZkoHDFXwy"], ["updated_at", "2014-05-03 20:54:03.648152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered widgets/index.html.erb within layouts/storytime/dashboard (1.3ms) Completed 500 Internal Server Error in 20ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 7ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:54:06.454197"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$M.5JbSPyxivl4BbDzs/PnuoD.Ph1axpBieqinch30R2JPtGN7ShOu"], ["updated_at", "2014-05-03 20:54:06.454197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 9ms  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:56:52.410312"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$gQLCCJRYAznp1s2HLsM4Y.8pcbqNph1XiWbcvZWQjW3Hg37TFDVQ2"], ["updated_at", "2014-05-03 20:56:52.410312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:56:52 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (23.6ms) Completed 200 OK in 71ms (Views: 57.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:56:52 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:56:52.512252"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:56:52.512252"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:56:52.513368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:56:52 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.4ms) Completed 200 OK in 12ms (Views: 5.5ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts"  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:56:52.554205"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$Rg27pX0rYQJDF3C70n/20u.ScBPN4MdGFiQn3lY6zhg6ANZMQdgTq"], ["updated_at", "2014-05-03 20:56:52.554205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered widgets/index.html.erb within layouts/storytime/dashboard (0.3ms) Completed 500 Internal Server Error in 4ms  (0.5ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:59:34.914195"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$cCGc8mH9FHSjfcZbkvTMIudLFqrCgRPYlEu6nrLrSzQlM.QfbcOHG"], ["updated_at", "2014-05-03 20:59:34.914195"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:59:34 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (28.6ms) Completed 200 OK in 77ms (Views: 64.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:59:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:59:35.034353"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:59:35.034353"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:59:35.035368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:59:35 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.6ms) Completed 200 OK in 11ms (Views: 6.4ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts"  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:59:55.255066"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$/gDyzx6WyIehv57v1zrRxeMvRT.M475S2cSnG7M/fBA97cjkA/6Cy"], ["updated_at", "2014-05-03 20:59:55.255066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:59:55 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (29.5ms) Completed 200 OK in 89ms (Views: 72.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:59:55 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:59:55.386892"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:59:55.386892"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:59:55.388366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 20ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:59:55 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Completed 200 OK in 14ms (Views: 6.1ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts"  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 20:59:58.329307"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$.YpdzrabOFRWCKptK.qrIuJYivxuHHrUYlNPOfW88eyu75UllOWTS"], ["updated_at", "2014-05-03 20:59:58.329307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:59:58 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (23.6ms) Completed 200 OK in 73ms (Views: 59.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 15:59:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 20:59:58.436356"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 20:59:58.436356"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 20:59:58.437406"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-03 15:59:58 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.4ms) Completed 200 OK in 10ms (Views: 5.8ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts"  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:04:25.490312"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$BVLVnVAkih2rHtpNHbzqjOo5n/317NwJuX8GW5uEpKbmwD/WYvur6"], ["updated_at", "2014-05-03 21:04:25.490312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:04:25 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.6ms) Completed 200 OK in 67ms (Views: 53.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:04:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 21:04:25.592719"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 21:04:25.592719"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 21:04:25.593802"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-03 16:04:25 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:04:25.618219"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$Et7I8dfG5kbjRVxcYP6I7uiZhyQDE1fw0dDC7V2Czgb.7oJhOKUbm"], ["updated_at", "2014-05-03 21:04:25.618219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:04:34.451236"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$H2E6EL3/5bIHhiqIQ88LoOrWQPtcApBNaYsXUmSW00LXhcqUK6r1e"], ["updated_at", "2014-05-03 21:04:34.451236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:04:34 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.2ms) Completed 200 OK in 73ms (Views: 58.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:04:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 21:04:34.558913"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 21:04:34.558913"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 21:04:34.559879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-03 16:04:34 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:04:34.586229"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$fPLkgaksELivI60IelN6Y.Vob7QUSUw7UL.NE4C7oFk6fRW7yBtze"], ["updated_at", "2014-05-03 21:04:34.586229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:04:38.714192"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$6Jaot4tQaM9wuFGWx6Nx/eDamM9JNJc8pgqa5VBcEMKrXJV0AnGGW"], ["updated_at", "2014-05-03 21:04:38.714192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:04:38 -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/storytime/application (22.4ms) Completed 200 OK in 75ms (Views: 60.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:04:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 21:04:38.823437"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 21:04:38.823437"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 21:04:38.824451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-03 16:04:38 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:04:38.851542"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$4ZKh1gU07x.8verPrXGtGuIpZkIa2YxjH0aR1bi8Tj/NyXKrIKrvW"], ["updated_at", "2014-05-03 21:04:38.851542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:05:24.261308"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$vhyp34QHyKQySJh2.WFEE.QJPxhW1ZtuTk8AbZMTL25kx.jAQSoGy"], ["updated_at", "2014-05-03 21:05:24.261308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:05:24 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (23.9ms) Completed 200 OK in 71ms (Views: 57.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:05:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 21:05:24.367108"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 21:05:24.367108"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 21:05:24.368175"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-03 16:05:24 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:05:24.396007"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$TG/aMiI4ANzFlbeDTpaDyekZiULqvJ52zJKbjrtvlfaQJXLLT05wu"], ["updated_at", "2014-05-03 21:05:24.396007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:06:00.198767"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$kv8oSsrN5g42dnmleS0aeOp3JtiGbZFtse0u5SlJ9ZCgEfzzWZhwK"], ["updated_at", "2014-05-03 21:06:00.198767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered widgets/index.html.erb within layouts/storytime/dashboard (1.2ms) Completed 500 Internal Server Error in 15ms  (2.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 5ms  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:06:00.250785"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$XMXzRduB1TOE3D1dJvhj0.l99qqpdPXdbWvcXvIhYwG8VF1DRdEZy"], ["updated_at", "2014-05-03 21:06:00.250785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:06:00 -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.5ms) Completed 200 OK in 57ms (Views: 47.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:06:00 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 21:06:00.331671"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 21:06:00.331671"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 21:06:00.332883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-03 16:06:00 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:06:00.362959"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$ZS870b0jBQzU4gjYg5PrxOLxmn9L4ZGy16g8/HgZsq4MDhswB2ngK"], ["updated_at", "2014-05-03 21:06:00.362959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:06:00 -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 (0.6ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:06:00 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 21:06:00.380274"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 21:06:00.380274"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 21:06:00.380752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-03 16:06:00 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:06:00.395916"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$gAAqaXbFJLQ3CTQUzvrjgOj7qc3tXGMBhhtbMeCtwNmY25j6aLqM6"], ["updated_at", "2014-05-03 21:06:00.395916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:06:00.405938"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-03 21:06:00.405938"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:06:00.412153"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$1q6V7IfeuJgWcOWRBUAccON/BDnM8uN2w0DgyOyxO3h65rDKMqbWu"], ["updated_at", "2014-05-03 21:06:00.412153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:06:00.413636"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-03 21:06:00.413636"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:06:00.417447"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$nIbe655Mh/VGruW5i3DSkevc7.UDH4RXxwgFeJlErAN.p9WhPWcW2"], ["updated_at", "2014-05-03 21:06:00.417447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:06:00.418633"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-03 21:06:00.418633"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-03 16:06:00 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] Completed 500 Internal Server Error in 18ms  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:07:16.176015"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$VzMV8dWtCUXSad3c3gicw.frN7IsYab7GLmbiY4TKyHF.rp.IFR6m"], ["updated_at", "2014-05-03 21:07:16.176015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:07:16 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.2ms) Completed 200 OK in 71ms (Views: 54.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:07:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 21:07:16.280632"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 21:07:16.280632"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 21:07:16.281653"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-03 16:07:16 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:07:16.306990"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$nfGQ8gNywgEqUsmPPuYOq.VXL6wMwhDkLghjvxCOUyaGiWJ1nQ6WG"], ["updated_at", "2014-05-03 21:07:16.306990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:07:16.317018"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-03 21:07:16.317018"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:07:16.320863"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$pXttf3tpaj1q/wK9OPqf4ukN8pBmo3RLqF/Ofmi4IJPXRtHlOSpwW"], ["updated_at", "2014-05-03 21:07:16.320863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:07:16.322043"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-03 21:07:16.322043"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:07:16.325188"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$L0SfSuCMr.4a5MWmmM6XPOWxkzEjtFYXGnFVNWybgB.IvOaNqE8NO"], ["updated_at", "2014-05-03 21:07:16.325188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:07:16.326257"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-03 21:07:16.326257"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-03 16:07:16 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (0.6ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms)  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:07:32.050288"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$t8iiqDNPkI8GGuOdN/l5a.nMWdYFzBaw3yQgltiayyF2bwoeOXj6S"], ["updated_at", "2014-05-03 21:07:32.050288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:07:32 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.3ms) Completed 200 OK in 76ms (Views: 61.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:07:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 21:07:32.162708"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 21:07:32.162708"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 21:07:32.163677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-03 16:07:32 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.2ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:07:32.189095"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$rB6xfjxZ1/vMwB.g00KsMeIjoIWEf6.n7gzYvUgVLMzSQZVbfGO5e"], ["updated_at", "2014-05-03 21:07:32.189095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:07:32.198835"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-03 21:07:32.198835"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:07:32.202494"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$1H5KSjLo9hPuPrpWNTB8VuwyQ/Mf6.tRGhHuC62HaL2A38Etc2He2"], ["updated_at", "2014-05-03 21:07:32.202494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:07:32.203650"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-03 21:07:32.203650"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:07:32.206891"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$qNV0Qi1Mur/eQtQKouV67uyibUc123EaIeHW9nN0ewh0j93kKcyo2"], ["updated_at", "2014-05-03 21:07:32.206891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:07:32.207996"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-03 21:07:32.207996"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-03 16:07:32 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (0.5ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.1ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:08:05.301305"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$EA9P5bJD249IpisHQHfiS.ozATjHsuh4VFty1CSBFWtILqgNjF0WC"], ["updated_at", "2014-05-03 21:08:05.301305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:08:05 -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 (9.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (49.3ms) Completed 200 OK in 136ms (Views: 107.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:08:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 21:08:05.529993"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 21:08:05.529993"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 21:08:05.531463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 23ms (ActiveRecord: 1.6ms) Started GET "/" for 127.0.0.1 at 2014-05-03 16:08:05 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.7ms) Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:08:05.567593"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$0cfV/ZU3bIGypZqWr4okVuTW5M7t653YF0S7Ym7esAG/z/x8dOY7S"], ["updated_at", "2014-05-03 21:08:05.567593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:08:05.590091"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-03 21:08:05.590091"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:08:05.595668"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$NFU5K9Rn5wrr/QzqyBJTB.SAGejqRAZ.Rus8cKKCKz5Ji5AalR5AW"], ["updated_at", "2014-05-03 21:08:05.595668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:08:05.597415"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-03 21:08:05.597415"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:08:05.607201"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$XZVhRqxHivrfQHrP4hk9AOygUtAtQXUJ7RihDjGMwEtevb1JlQJrq"], ["updated_at", "2014-05-03 21:08:05.607201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:08:05.615393"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-03 21:08:05.615393"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-03 16:08:05 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (0.8ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:08:20.901599"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$WoEVRMe033gdk0bljyOQhunTMdTbb2oCtYV9p0kCca0i.NnWOtfoW"], ["updated_at", "2014-05-03 21:08:20.901599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:08:20 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (27.0ms) Completed 200 OK in 79ms (Views: 65.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:08:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 21:08:21.016587"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 21:08:21.016587"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 21:08:21.017613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-03 16:08:21 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.0ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:08:21.044772"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$Dqkzs4u9msT25yCZRpew0eBH7ZtfMJ/0HIyElfzueRPFCErfyZWYS"], ["updated_at", "2014-05-03 21:08:21.044772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:08:21.055062"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-03 21:08:21.055062"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:08:21.058712"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$weFSqlf7GSbAD2xviQzwvu1Ek2nNdb92VR17yZ9QehfhwOQTG6I1S"], ["updated_at", "2014-05-03 21:08:21.058712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:08:21.059952"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-03 21:08:21.059952"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:08:21.065033"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$kqCFZ2EZG2UuyLLlNEqDpuKiT0BrvPLOobtP9kGi/3ezgwlbLIF8K"], ["updated_at", "2014-05-03 21:08:21.065033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:08:21.066422"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-03 21:08:21.066422"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-03 16:08:21 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (0.7ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:08:40.265542"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Hq8IMNrYJzn5Rc5B6NYaw.IB.FDlrmxhTA/XrtNCDxorlTigAePVm"], ["updated_at", "2014-05-03 21:08:40.265542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:08:40 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (21.5ms) Completed 200 OK in 72ms (Views: 56.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-03 16:08:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-03 21:08:40.370443"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-03 21:08:40.370443"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-03 21:08:40.371677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-03 16:08:40 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.0ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:08:40.394560"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$8bYIDq/w1d/BP1NjXRpCAuSRdXq4eZRhIo5uuURk.rI3qBgdFVDsW"], ["updated_at", "2014-05-03 21:08:40.394560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:08:40.404723"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-03 21:08:40.404723"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:08:40.408408"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$bFPUE.idE.SbEckpAMIg7O0rMe0Z7z8fUgGXZHAXK15CU7Qp2cAt6"], ["updated_at", "2014-05-03 21:08:40.408408"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:08:40.409560"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-03 21:08:40.409560"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-03 21:08:40.412944"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$ZUp09gjHU.tJayZ5v4/3L.6w08IQRKbx/GCaKkIXHKh.TxuGHz/Lq"], ["updated_at", "2014-05-03 21:08:40.412944"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-03 21:08:40.414637"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-03 21:08:40.414637"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-03 16:08:40 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.5ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:33:51.212854"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$ZEr8vqG45cJwdiMBeKF6i.L/0eEPzOtkslSFOh2dfE5d5XoWs9LXu"], ["updated_at", "2014-05-04 20:33:51.212854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 15:33:51 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (34.3ms) Completed 200 OK in 99ms (Views: 85.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 15:33:51 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-04 20:33:51.348524"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-04 20:33:51.348524"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-04 20:33:51.349845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-04 15:33:51 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.6ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.9ms) Completed 200 OK in 12ms (Views: 8.6ms | ActiveRecord: 1.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:33:51.378390"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$X58IDMB61JM628wqYBHyzOSVJ9wjphpMXJkh2f.kMO5EKR6LtWXVm"], ["updated_at", "2014-05-04 20:33:51.378390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:33:51.391432"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-04 20:33:51.391432"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:33:51.395136"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$yp2ouVS4RoSJN1PhLmthnOFWMkw/ei4yxrl6XN7dtJx0W8HJOdgTa"], ["updated_at", "2014-05-04 20:33:51.395136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:33:51.396356"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-04 20:33:51.396356"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:33:51.399450"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$7jEnEHxbWgfCKskRq1TppeBSX.nVzF7cmQtzCaXFYmEq7sQQ6qqj6"], ["updated_at", "2014-05-04 20:33:51.399450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:33:51.400507"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-04 20:33:51.400507"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-04 15:33:51 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.8ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.2ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:33:51.426416"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$t6ee24V//GkFYmzxzwJ11OLfYbqegAh5L13Zg7FyOImY1UFVQKz3C"], ["updated_at", "2014-05-04 20:33:51.426416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 15:33:51 -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.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.3ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 15:33:51 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-04 20:33:51.443273"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-04 20:33:51.443273"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-04 20:33:51.443704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-04 15:33:51 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts"  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:33:51.463828"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$970DIwaV06joA1nrxMcshOEHSgccn7zRxKbxCxgQChXuf/3dwDI8C"], ["updated_at", "2014-05-04 20:33:51.463828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered widgets/index.html.erb within layouts/storytime/dashboard (0.7ms) Completed 500 Internal Server Error in 9ms  (0.5ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:36:37.628433"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$OKySF3TGCtsefnFsogcuOOJtw6LnWtcOZqnT1BWuhMxRYwMOHgsim"], ["updated_at", "2014-05-04 20:36:37.628433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:36:37.640721"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-04 20:36:37.640721"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:36:37.646318"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$s01JDc7tf6l7T5vqlzgRTuenIP6RWV9dz.egKkhGMZ0Ou7E1PXiJm"], ["updated_at", "2014-05-04 20:36:37.646318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:36:37.647740"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-04 20:36:37.647740"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:36:37.651016"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$pBTTV8Tpb0pXcfu25G3t0eur0sy2WSYg.Zlj9XziYiwUCwvWThm7a"], ["updated_at", "2014-05-04 20:36:37.651016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:36:37.652137"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-04 20:36:37.652137"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-04 15:36:37 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (8.5ms) Completed 200 OK in 49ms (Views: 48.1ms | ActiveRecord: 0.2ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:36:37.736435"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$t6mBfUHawTIFJSY2XE0FleqyDtuBi8JC94bTheUYy1TjgBczz6A/O"], ["updated_at", "2014-05-04 20:36:37.736435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:36:37.738200"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-04 20:36:37.738200"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 15:36:37 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (17.2ms) Completed 500 Internal Server Error in 20ms  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:39:12.616834"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$etykf8K8Oo.lIJNCazp5MuOgQCCAwPGwsIt1V4sKvYFjp.WLhDudm"], ["updated_at", "2014-05-04 20:39:12.616834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:39:12.634527"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-04 20:39:12.634527"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 15:39:12 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (1.3ms) Completed 200 OK in 44ms (Views: 42.8ms | ActiveRecord: 0.2ms)  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:39:18.071136"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$PntqelMFk1hAK8n/aGd0s.Rol89fVxb3PNptJ4ULQpjPsIvZhnWDC"], ["updated_at", "2014-05-04 20:39:18.071136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered widgets/index.html.erb within layouts/storytime/dashboard (1.2ms) Completed 500 Internal Server Error in 15ms  (2.4ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 5ms  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:39:18.123666"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$inc8FPFWvRTtKwDN.ejyPeZfCdWHb7T0YSwIK16vgoqIy8AO9bfO."], ["updated_at", "2014-05-04 20:39:18.123666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 15:39:18 -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.3ms) Completed 200 OK in 55ms (Views: 45.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 15:39:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-04 20:39:18.200614"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-04 20:39:18.200614"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-04 20:39:18.201651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-04 15:39:18 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts"  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:39:18.231835"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$CHZ2iRSqO/r2ZCjB7bakqefkX.fw0q4zANPbGYtXc9iUk3yCN2vPG"], ["updated_at", "2014-05-04 20:39:18.231835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:39:18.242580"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-04 20:39:18.242580"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 15:39:18 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:39:18.255739"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$nxz4N5QFpug2e64FNEbbPu7Ms4r93binSTaxD3DuZ40x4JKICkPUq"], ["updated_at", "2014-05-04 20:39:18.255739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:39:18.257344"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-04 20:39:18.257344"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:39:18.260877"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$iur2UuOGdMJFQ9Ngliv8cuOZN9iO2zzrtqyiD9/wMZdJ6vwWmpyQa"], ["updated_at", "2014-05-04 20:39:18.260877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:39:18.262078"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-04 20:39:18.262078"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:39:18.267125"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$iChuEUw.x3VoQOcKOJ4Sz.Vj5OrDnhyg6OMrjeoqOBy40N/jblRE2"], ["updated_at", "2014-05-04 20:39:18.267125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:39:18.269734"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-04 20:39:18.269734"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-04 15:39:18 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.2ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:39:33.546781"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$HRI4Y5kwhghxKtX72Jp8HugyVJcJspvJrMejqM7EQLJS65D3sqA.S"], ["updated_at", "2014-05-04 20:39:33.546781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:39:33.558550"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-04 20:39:33.558550"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 15:39:33 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (1.5ms) Completed 200 OK in 50ms (Views: 49.1ms | ActiveRecord: 0.2ms)  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:42:24.415788"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$svu2rtUf49dXrLLSM4n3S.p/mgdzPuwQSPAQURaxV1vptoA55wKNe"], ["updated_at", "2014-05-04 20:42:24.415788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:42:24.427608"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-04 20:42:24.427608"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 15:42:24 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (1.5ms) Completed 200 OK in 45ms (Views: 43.7ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:42:38.199218"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$JZI7UKELsJzIrkdfg/FMSuivGYuYEHt1hS1IJOjknAQu/xvUnqKoK"], ["updated_at", "2014-05-04 20:42:38.199218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:42:38.211976"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-04 20:42:38.211976"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 15:42:38 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (1.3ms) Completed 200 OK in 43ms (Views: 41.5ms | ActiveRecord: 0.2ms)  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:42:43.426752"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$v4DV.06H8HYaT.ts6KGUlOlM33O74.StAbFTunFINztnf1HQvCwjK"], ["updated_at", "2014-05-04 20:42:43.426752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:42:43.442077"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-04 20:42:43.442077"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 15:42:43 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (1.5ms) Completed 200 OK in 51ms (Views: 49.9ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:43:31.533570"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$/K/epYC.DcsC2vQ945GNTeiDWAm.aGYwjoEwlXd3GlpEqKDQ3xAtG"], ["updated_at", "2014-05-04 20:43:31.533570"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:43:31.547501"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-04 20:43:31.547501"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 15:43:31 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (1.3ms) Completed 200 OK in 41ms (Views: 40.4ms | ActiveRecord: 0.1ms)  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:43:52.906068"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$s7bF2lNKb/kQ3bUVEFFnsu5CumcnUxf7CK92PlXXHU.hJRLpmHV0."], ["updated_at", "2014-05-04 20:43:52.906068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-04 20:43:52.918004"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-04 20:43:52.918004"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 15:43:52 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (1.4ms) Completed 200 OK in 48ms (Views: 46.6ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:48:05.666928"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$qU1ThZQU8ehNEWjk.MblmemGuyuPLBJf3eQh1Y73WV2m2uIoJ0D9a"], ["updated_at", "2014-05-04 20:48:05.666928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 15:48:05 -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.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (27.9ms) Completed 200 OK in 76ms (Views: 63.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 15:48:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-04 20:48:05.778599"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-04 20:48:05.778599"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-04 20:48:05.779695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-04 15:48:05 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.6ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 15:48:05 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (11.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (13.0ms) Completed 500 Internal Server Error in 19ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:49:03.842811"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$qV.YewnIPWpOxbSFKOHTwOhvfd4fIReC3sBaNi6YMyNx7BVpLaYAC"], ["updated_at", "2014-05-04 20:49:03.842811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 15:49:03 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.7ms) Completed 200 OK in 70ms (Views: 57.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 15:49:03 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-04 20:49:03.947215"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-04 20:49:03.947215"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-04 20:49:03.948257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-04 15:49:03 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.5ms) Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 15:49:03 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (9.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (10.6ms) Completed 500 Internal Server Error in 16ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-04 20:51:58.337289"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$asfJLxNCB6CvEnEozTNBjOyvPa.Ng1aj3C1CzkJJCHRao9rah4rOC"], ["updated_at", "2014-05-04 20:51:58.337289"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 15:51:58 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (23.0ms) Completed 200 OK in 69ms (Views: 54.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 15:51:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-04 20:51:58.444372"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-04 20:51:58.444372"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-04 20:51:58.445914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-04 15:51:58 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.4ms) Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 15:51:58 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (9.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (10.6ms) Completed 500 Internal Server Error in 16ms  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.6ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:14:10.937044"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$cpDfHi.ajsFnokrJqjtLIe0qSQIc0.MVERKRL3NmGV2hV0UE9Rkdy"], ["updated_at", "2014-05-05 02:14:10.937044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:14:10 -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/storytime/application (35.8ms) Completed 200 OK in 106ms (Views: 90.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:14:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:14:11.089699"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:14:11.089699"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:14:11.090674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:14:11 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.5ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.6ms) Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 1.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 21:14:11 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 10ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:14:15.383889"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$sw5v3D1Ond.aguw9GNt8fO7bNNYxhlT40smu1fcVD4xKdOH23aJ9G"], ["updated_at", "2014-05-05 02:14:15.383889"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:14:15 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.6ms) Completed 200 OK in 68ms (Views: 54.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:14:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:14:15.489800"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:14:15.489800"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:14:15.490790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:14:15 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.9ms) Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 21:14:15 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 8ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:14:46.088709"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$dpO3j/SdLDUem/yXLiXucuMei3r.7k84QDN6/WwKH4Mx5qH9EVDfu"], ["updated_at", "2014-05-05 02:14:46.088709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:14:46 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (23.9ms) Completed 200 OK in 76ms (Views: 61.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:14:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:14:46.202633"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:14:46.202633"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:14:46.203617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:14:46 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.7ms) Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 21:14:46 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 16ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:15:27.646655"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$e1Wwi8jQJDCe.s0Z6FwlbOCzfedyNBk1Juql/SCt/EtTbFjSMPF1i"], ["updated_at", "2014-05-05 02:15:27.646655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:15:27 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (23.7ms) Completed 200 OK in 75ms (Views: 59.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:15:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:15:27.759725"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:15:27.759725"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:15:27.760745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:15:27 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.8ms) Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 21:15:27 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 15ms  (2.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:15:39.084783"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$E9zwQmd3PS.QOUsA3ZqAkemOHqMesJPrIRJ3FkfSRxwyMAhAQ.yfi"], ["updated_at", "2014-05-05 02:15:39.084783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:15:39 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.7ms) Completed 200 OK in 84ms (Views: 66.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:15:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:15:39.207615"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:15:39.207615"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:15:39.208649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:15:39 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.5ms) Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 21:15:39 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (6.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (9.3ms) Completed 200 OK in 45ms (Views: 15.0ms | ActiveRecord: 0.3ms) Started POST "/posts" for 127.0.0.1 at 2014-05-04 21:15:39 -0500  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:21:02.444350"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$aFrH8sZyefx27Cb8lOft2epsGmv9AtfWTOb4/sisdxseEzrZzfJ1C"], ["updated_at", "2014-05-05 02:21:02.444350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:21:02 -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 (2.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (27.2ms) Completed 200 OK in 82ms (Views: 69.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:21:02 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:21:02.562169"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:21:02.562169"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:21:02.563145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:21:02 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.2ms) Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 21:21:02 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (2.7ms) Completed 500 Internal Server Error in 25ms  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:21:07.649244"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$SyDClfIlUMLH439/UxOawuq3hxqipd5wlDE/bZiTm8b13Pd4lJRJm"], ["updated_at", "2014-05-05 02:21:07.649244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:21:07 -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/storytime/application (22.8ms) Completed 200 OK in 72ms (Views: 56.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:21:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:21:07.756672"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:21:07.756672"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:21:07.757981"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:21:07 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.8ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 21:21:07 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (5.6ms) Completed 500 Internal Server Error in 28ms  (2.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:21:35.276181"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$4JPS1RZojROcCEvOXJHeyebtR.R.qJJE9n9DO4uSkRv91tHLYWgrS"], ["updated_at", "2014-05-05 02:21:35.276181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:21:35 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (27.8ms) Completed 200 OK in 80ms (Views: 65.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:21:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:21:35.398123"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:21:35.398123"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:21:35.399186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:21:35 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.0ms) Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 21:21:35 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (2.6ms) Completed 500 Internal Server Error in 25ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:24:11.394516"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$.7i/HomUF/uEI7RZYNJKQ.ZQky7XMcpvIcpfTzTl/l05MkBorlFKW"], ["updated_at", "2014-05-05 02:24:11.394516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:24:11 -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/storytime/application (23.7ms) Completed 200 OK in 74ms (Views: 58.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:24:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:24:11.504583"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:24:11.504583"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:24:11.505698"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:24:11 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.2ms) Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 21:24:11 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (2.5ms) Completed 500 Internal Server Error in 25ms  (2.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:24:58.903060"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$qSy9Tg.8oW6jMB3ErPJg8eN9PBxv5Bx7FRCmml4FYEAP4rTfOEwqO"], ["updated_at", "2014-05-05 02:24:58.903060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:24:58 -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/storytime/application (21.9ms) Completed 200 OK in 68ms (Views: 53.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:24:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:24:59.003911"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:24:59.003911"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:24:59.004880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:24:59 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.5ms) Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 21:24:59 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (2.6ms) Completed 500 Internal Server Error in 25ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:25:46.830860"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$biGJ0Hl01VktQyndQvmA/..l5ZN3C3rIhZa72E1InajMCzw/TX2Ju"], ["updated_at", "2014-05-05 02:25:46.830860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:25:46 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.1ms) Completed 200 OK in 79ms (Views: 62.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:25:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:25:46.957132"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:25:46.957132"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:25:46.958800"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:25:46 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.7ms) Completed 200 OK in 13ms (Views: 10.7ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 21:25:46 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (4.9ms) Completed 200 OK in 29ms (Views: 8.6ms | ActiveRecord: 0.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-04 21:25:47 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"", "content"=>"It was a dark and stormy night...", "excerpt"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (2.9ms) Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.3ms)  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:26:14.548917"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$o2qlwb7UOAwWfxq3Sjd4seJp7FXV3e/vVdRfHLiJZ6YDHPIa9K1gq"], ["updated_at", "2014-05-05 02:26:14.548917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:26:14 -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/storytime/application (31.9ms) Completed 200 OK in 78ms (Views: 64.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:26:14 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:26:14.657872"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:26:14.657872"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:26:14.658844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:26:14 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.4ms) Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 21:26:14 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (4.9ms) Completed 200 OK in 29ms (Views: 8.6ms | ActiveRecord: 0.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-04 21:26:14 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-05 02:26:14.728715"], ["excerpt", ""], ["title", "The Story"], ["updated_at", "2014-05-05 02:26:14.728715"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 21:26:14 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.6ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:26:52.943276"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$TBd4oKuFakGNyUN3njafLONGXOW4Ad9ZfDEkOAalqtM3lVyyIp8Ya"], ["updated_at", "2014-05-05 02:26:52.943276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:26:52 -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.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (26.9ms) Completed 200 OK in 75ms (Views: 59.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:26:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:26:53.052789"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:26:53.052789"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:26:53.053744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:26:53 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.2ms) Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 21:26:53 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (5.5ms) Completed 200 OK in 29ms (Views: 9.4ms | ActiveRecord: 0.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-04 21:26:53 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-05 02:26:53.124290"], ["excerpt", ""], ["title", "The Story"], ["updated_at", "2014-05-05 02:26:53.124290"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 21:26:53 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.4ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:32:15.960536"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$BlxjHwf.k0YA3Il3roBBUetOq.X23uTx21oul5bxPgRjyWJR00ire"], ["updated_at", "2014-05-05 02:32:15.960536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:32:15 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (26.0ms) Completed 200 OK in 71ms (Views: 58.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:32:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:32:16.063989"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:32:16.063989"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:32:16.064997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:32:16 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.9ms) Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-04 21:32:16 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (5.1ms) Completed 200 OK in 29ms (Views: 8.9ms | ActiveRecord: 0.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-04 21:32:16 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-05 02:32:16.133442"], ["excerpt", ""], ["title", "The Story"], ["updated_at", "2014-05-05 02:32:16.133442"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 21:32:16 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.4ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:32:16.150059"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$BjvA3APFz/9Qg7FhCww/e.tDxl15fbU/GuhySk97idiHOhh67GsIG"], ["updated_at", "2014-05-05 02:32:16.150059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:32:16 -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 (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.7ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:32:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:32:16.166176"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:32:16.166176"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:32:16.166706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:32:16 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.6ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:32:16.181468"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$w/fBSgVJXFtpD.kpcFrEf.w.ltZUUMQh0R.WLa21UAepHiwWqyUAy"], ["updated_at", "2014-05-05 02:32:16.181468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-05 02:32:16.183572"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-05 02:32:16.183572"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts"  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:32:32.033243"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$PiywNh1LuQrn5YVgTT9hGujcjozr94B45mSlznB4rZ/o5L8dffEMm"], ["updated_at", "2014-05-05 02:32:32.033243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:32:32 -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 (2.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (32.5ms) Completed 200 OK in 86ms (Views: 70.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:32:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:32:32.158910"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:32:32.158910"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:32:32.160051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:32:32 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (2.5ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (8.2ms) Completed 200 OK in 14ms (Views: 9.6ms | ActiveRecord: 2.9ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:32:32.192361"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$UKdy9NAAStkw0jahzRdks.gQwi7llZoq6o8OIiTXFCmxgr0syjUIK"], ["updated_at", "2014-05-05 02:32:32.192361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-05 02:32:32.203064"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-05 02:32:32.203064"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-04 21:32:32 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (6.3ms) Completed 500 Internal Server Error in 13ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:33:38.930254"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Xn/8gFyI/nocDRmx4XJ1yu5/DUarsn1vP/P0763Dwu8sp2phuOD02"], ["updated_at", "2014-05-05 02:33:38.930254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:33:38 -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 (2.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (39.1ms) Completed 200 OK in 109ms (Views: 92.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:33:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:33:39.082899"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:33:39.082899"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:33:39.084430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:33:39 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.1ms) Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:33:39.114211"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$MvBUpDtfa7cQ9jYHAMQrl.BS7hAuDbgcZ5MC8op/d9zC3IecIMojm"], ["updated_at", "2014-05-05 02:33:39.114211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-05 02:33:39.124515"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-05 02:33:39.124515"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-04 21:33:39 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (8.4ms) Completed 200 OK in 17ms (Views: 13.1ms | ActiveRecord: 0.3ms)  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:33:52.010622"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$pkmL2ntviB0M0DDxG0xyjel46emO1m8LGAHnIf56ZpWkJnwSKUYea"], ["updated_at", "2014-05-05 02:33:52.010622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:33:52 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.4ms) Completed 200 OK in 74ms (Views: 55.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:33:52 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:33:52.117109"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:33:52.117109"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:33:52.118110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:33:52 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.2ms) Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:33:52.147224"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$3qygeNKc3WKO9amE0RizOOLxF9RuGZH0YIJC5Xsl0FsUyBPCdbsYK"], ["updated_at", "2014-05-05 02:33:52.147224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-05 02:33:52.157193"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-05 02:33:52.157193"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-04 21:33:52 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (5.3ms) Completed 200 OK in 12ms (Views: 9.0ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-04 21:33:52 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #1. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-05 02:33:52.185953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 21:33:52 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.4ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:34:37.136346"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$KV.7xrhYELCbYW/I..rYTuvc8bFf6AKLyy0aexS24s8Heqr/hh5O."], ["updated_at", "2014-05-05 02:34:37.136346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:34:37 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.6ms) Completed 200 OK in 71ms (Views: 55.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:34:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:34:37.247307"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:34:37.247307"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:34:37.248280"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:34:37 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.6ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:34:37.277604"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$vdqwtTCAzzmEKCPsruQaYu2sK6.pAMHP9LoaQCwmvxYiPQ.sgW1/G"], ["updated_at", "2014-05-05 02:34:37.277604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-05 02:34:37.287958"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-05 02:34:37.287958"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-04 21:34:37 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (5.4ms) Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-04 21:34:37 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #1. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-05 02:34:37.317235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 21:34:37 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.5ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:34:59.816303"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$zNYjeyMPtwb9MVtLG6ckgOC.p5cW.hbZLe5UngNa31avj7Jh/hjjW"], ["updated_at", "2014-05-05 02:34:59.816303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:34:59 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (29.7ms) Completed 200 OK in 90ms (Views: 71.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:34:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:34:59.948312"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:34:59.948312"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:34:59.949295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:34:59 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.7ms) Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:34:59.981160"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$xWlKIFBnffsL8qLsidueKOXslDh8DUnbik03AHRvUSJ3dM0OHljHy"], ["updated_at", "2014-05-05 02:34:59.981160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-05 02:34:59.991121"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-05 02:34:59.991121"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-04 21:34:59 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (6.5ms) Completed 200 OK in 13ms (Views: 10.4ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-04 21:35:00 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #1. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-05 02:35:00.021988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 21:35:00 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.5ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:35:43.831703"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$EaHmmc4nnmAInoZCJPtRuOPPi.XaRwyBwHkjEvch69ktTSyWdtpu."], ["updated_at", "2014-05-05 02:35:43.831703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:35: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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.6ms) Completed 200 OK in 74ms (Views: 61.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:35:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:35:43.936797"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:35:43.936797"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:35:43.937747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:35:43 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.0ms) Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:35:43.964665"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$rSwTrCCLle8NJstKwzspGeRbLSgkRkuw7YM4b//q6iNHzdv77CdMC"], ["updated_at", "2014-05-05 02:35:43.964665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-05 02:35:43.974023"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-05 02:35:43.974023"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-04 21:35:43 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (5.2ms) Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-04 21:35:43 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #1. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-05 02:35:44.002399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 21:35:44 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.4ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:35:54.679653"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$0XhNesRweUM9JkFho1BG0.QOD9b5f263fDrHtEqRyKAsHWT3Iv9TK"], ["updated_at", "2014-05-05 02:35:54.679653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:35:54 -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/storytime/application (22.0ms) Completed 200 OK in 67ms (Views: 53.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:35:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:35:54.782055"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:35:54.782055"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:35:54.783228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:35:54 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.9ms) Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:35:54.809843"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$hycSJsWSxjbjFvJxLV4Qz.aocxx7yf8NOF5wiDRTrW/YdK0BCyP1m"], ["updated_at", "2014-05-05 02:35:54.809843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-05 02:35:54.819424"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-05 02:35:54.819424"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-04 21:35:54 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (5.2ms) Completed 200 OK in 12ms (Views: 8.9ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-04 21:35:54 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #1. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-05 02:35:54.847339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 21:35:54 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.5ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (2.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:36:06.172875"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$4SF4Uu2uYcfqfcDz797YTOcuOj/mrDniGNZ1ylOdKYvQxcu.gBg.u"], ["updated_at", "2014-05-05 02:36:06.172875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:36:06 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.3ms) Completed 200 OK in 68ms (Views: 54.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-04 21:36:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-05 02:36:06.272841"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-05 02:36:06.272841"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-05 02:36:06.273800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-04 21:36:06 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.2ms) Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-05 02:36:06.301649"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$UAhcJvGfLK6sgOeNitKleuesWCnBFBzrM/swsjWd3aAcMNYP5g3sq"], ["updated_at", "2014-05-05 02:36:06.301649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-05 02:36:06.311247"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "f"], ["title", "Post #1"], ["updated_at", "2014-05-05 02:36:06.311247"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-04 21:36:06 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (5.2ms) Completed 200 OK in 12ms (Views: 8.9ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-04 21:36:06 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #1. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-05 02:36:06.339456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-04 21:36:06 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.4ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.4ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-07 02:34:48.805354"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$JQji5.FwIso4vR/3N545..fRvEx5YtM9SQ3HCL8d7866BQJsB9LiS"], ["updated_at", "2014-05-07 02:34:48.805354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-06 21:34:48 -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 (2.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (29.3ms) Completed 200 OK in 92ms (Views: 79.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-06 21:34:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-07 02:34:48.938735"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-07 02:34:48.938735"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-07 02:34:48.939710"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-05-06 21:34:48 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.5ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.7ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 1.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-06 21:34:48 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (4.9ms) Completed 200 OK in 28ms (Views: 8.6ms | ActiveRecord: 0.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-06 21:34:49 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-07 02:34:49.008963"], ["excerpt", ""], ["title", "The Story"], ["updated_at", "2014-05-07 02:34:49.008963"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-06 21:34:49 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.4ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-07 02:34:49.025012"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$cgoBGbjAaE8yckkPEmpJTecVlJ/YtGtQAqFXiKX50r.gy6qsBqIhq"], ["updated_at", "2014-05-07 02:34:49.025012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-06 21:34:49 -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 (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/storytime/application (2.5ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-06 21:34:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-07 02:34:49.041746"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-07 02:34:49.041746"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-07 02:34:49.042191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-06 21:34:49 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-07 02:34:49.056056"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$Jr6aYonB7Po3mtysbhZfoe4oIS/rcq8nRrA3Vj.uqX4L9y5A6DMG6"], ["updated_at", "2014-05-07 02:34:49.056056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-07 02:34:49.058220"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "f"], ["title", "Post #1"], ["updated_at", "2014-05-07 02:34:49.058220"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-06 21:34:49 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (4.3ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-06 21:34:49 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #1. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-07 02:34:49.078003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-06 21:34:49 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.7ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:11:36.565078"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$TI3xouRCmQo1Cra9JKieVO9UvhX7kRxk2Ipxm40/m.IM/hCY9Wnwq"], ["updated_at", "2014-05-08 01:11:36.565078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:11:36 -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/storytime/application (39.0ms) Completed 200 OK in 115ms (Views: 98.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:11:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:11:36.731905"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:11:36.731905"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:11:36.733558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 25ms (ActiveRecord: 2.2ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:11:36 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.7ms) Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 1.3ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:11:36.775070"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$fBpMct72o1xC2kwOmusIqejthxJ6oGYr0ZSjG5.uPfp9ldUM7GhcW"], ["updated_at", "2014-05-08 01:11:36.775070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:11:36.789057"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:11:36.789057"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:11:36.793161"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$DBT8eNI936kPCFzciTV7GO6SRLf5e/EibxZKkjEmzKj43zg5gwve2"], ["updated_at", "2014-05-08 01:11:36.793161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:11:36.794434"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:11:36.794434"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:11:36.797810"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$Fpn2bjb2pDzcBDgFHbnTp.y13FbmFTdZZJYgI6EMg7PiYvTMXjn3y"], ["updated_at", "2014-05-08 01:11:36.797810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:11:36.799196"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:11:36.799196"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:11:36 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 5ms  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:11:36.821194"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$V25y93ncVyRZaVZ9MRvrDOQWPoYsMrmTlh1SRp4tRyheBZ3.YZSGC"], ["updated_at", "2014-05-08 01:11:36.821194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:11:36 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.0ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:11:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:11:36.836623"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:11:36.836623"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:11:36.837041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:11:36 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-07 20:11:36 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (8.2ms) Completed 200 OK in 30ms (Views: 14.1ms | ActiveRecord: 0.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:11:36 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-08 01:11:36.889584"], ["excerpt", ""], ["title", "The Story"], ["updated_at", "2014-05-08 01:11:36.889584"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 20:11:36 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.6ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:11:36.907266"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$PpOOrQs2rnynk3KUAhOlM.8wTo6SS7WXA6IsyJk0gWqgmSfsRDIfO"], ["updated_at", "2014-05-08 01:11:36.907266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:11:36 -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 (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/storytime/application (4.3ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:11:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:11:36.924352"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:11:36.924352"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:11:36.924756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:11:36 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:11:36.937093"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$9DUPC7WJL.ui0LSjk1VnRuKNE5mT7VOcNFzvVQ3ACrF4j5W4sFuV6"], ["updated_at", "2014-05-08 01:11:36.937093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:11:36.938605"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "f"], ["title", "Post #4"], ["updated_at", "2014-05-08 01:11:36.938605"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-07 20:11:36 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (4.4ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 20:11:36 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #4. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-08 01:11:36.960122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 20:11:36 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:11:58.571013"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$OWNSBA8cFvwvtE3WJYmCMuYyOzgPE7PFVXBtjiOc1wz/V1nb8sPQi"], ["updated_at", "2014-05-08 01:11:58.571013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:11:58 -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 (2.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (33.9ms) Completed 200 OK in 102ms (Views: 80.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:11:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:11:58.750712"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:11:58.750712"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:11:58.752074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:11:58 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.3ms) Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:11:58.783464"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$MtaP76B/uy.8yqo1jf6G3.xnTsZtHy7..fApg48gcH0Lf0yx3Phb."], ["updated_at", "2014-05-08 01:11:58.783464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:11:58.794419"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:11:58.794419"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:11:58.798803"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$xzC0nxY8ENYG1AW.zps8Y.v6sS6PUmCH22opuMxA51RVuUQk8eFyG"], ["updated_at", "2014-05-08 01:11:58.798803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:11:58.800050"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:11:58.800050"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:11:58.803966"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$reS4PjvG/MSsnKronjyU2ew2w9S/dArUg3cHGyfsZrlLsubhCJ1zS"], ["updated_at", "2014-05-08 01:11:58.803966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:11:58.805578"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:11:58.805578"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:11:58 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 5ms  (2.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:15.117637"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$RG26daRb2T.4gl5pzuYRkuVRSP9fF537pDJEL1BTNF4BjZAEpUjFe"], ["updated_at", "2014-05-08 01:13:15.117637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:13:15 -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/storytime/application (25.4ms) Completed 200 OK in 74ms (Views: 60.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:13:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:13:15.224889"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:13:15.224889"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:13:15.225910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:13:15 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.9ms) Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:15.255581"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$nlIoGnbQ9IakEtKdJtnDV.C8O05UrH9PII1xJqPybm5lFWKcDvOaK"], ["updated_at", "2014-05-08 01:13:15.255581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:13:15.266175"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:13:15.266175"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:15.270120"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$I8mwcljmhisPGsg4DDQTd.CVmZSeOyPzQo0JUu1GGk8FGESlKUKwa"], ["updated_at", "2014-05-08 01:13:15.270120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:13:15.271340"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:13:15.271340"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:15.274597"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$LADmnlVTM0uuWOHuFdHnEOCn8x9Q5e5QZue1LtqzIq5VKp4d5t2mC"], ["updated_at", "2014-05-08 01:13:15.274597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:13:15.275849"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:13:15.275849"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:13:15 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.1ms) Completed 500 Internal Server Error in 6ms  (2.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:20.550803"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$mr.WH4AXSKSZL2gxzYhRveCfPBJiIcTxe8qWa4ZAeUbLRdVdcvd92"], ["updated_at", "2014-05-08 01:13:20.550803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:13:20 -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/storytime/application (28.3ms) Completed 200 OK in 76ms (Views: 62.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:13:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:13:20.660851"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:13:20.660851"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:13:20.662130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:13:20 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.4ms) Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:20.689182"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$nTogrj7czv/VjehkUzb5WuRqfe75T2g10CPmx1ut87RhstfZTeqTy"], ["updated_at", "2014-05-08 01:13:20.689182"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:13:20.700927"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:13:20.700927"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:20.704973"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$qkCX93Vs9HqSFWMeTHzaROlTnNevfnCrKu/zGHZ.C2MraXtpnjFO2"], ["updated_at", "2014-05-08 01:13:20.704973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:13:20.706381"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:13:20.706381"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:20.709707"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$SzKYdmKXlXi60/AJuqX5O.d4NJjtnPnlFNviu5QuUI6khva5h71kW"], ["updated_at", "2014-05-08 01:13:20.709707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:13:20.710972"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:13:20.710972"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:13:20 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.2ms) Completed 500 Internal Server Error in 7ms  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:24.613985"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$k3LGwHA18SmHQex.nwRkJekiIUHE8tXjFbdIHjNW5S1PtQFYHAlGm"], ["updated_at", "2014-05-08 01:13:24.613985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:13:24 -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/storytime/application (24.6ms) Completed 200 OK in 75ms (Views: 61.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:13:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:13:24.722909"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:13:24.722909"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:13:24.724021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:13:24 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.0ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:24.754306"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$taNt./g5DilwDeHzH/OuNumxhpIly0IpfEukFLZ7m0JPnDe5b9gCO"], ["updated_at", "2014-05-08 01:13:24.754306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:13:24.765287"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:13:24.765287"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:24.770149"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$PQgQzNGJwRe60N9XWQFm0uu3q0gorihRTxk2VkVeXidRkNYwrB19."], ["updated_at", "2014-05-08 01:13:24.770149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:13:24.771682"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:13:24.771682"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:24.775095"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$m4NFnzWyJyx005/VfglJI.mKvE0nKf0m9lb5/KxObUHeh7dNTB60G"], ["updated_at", "2014-05-08 01:13:24.775095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:13:24.776387"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:13:24.776387"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:13:24 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.0ms) Completed 500 Internal Server Error in 6ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:43.614431"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$9FKeHRd.IaSSCHy/T3hCGOe227dNWNosIH5gGrfweN8FdjMcCcG/2"], ["updated_at", "2014-05-08 01:13:43.614431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:13: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 (2.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (29.2ms) Completed 200 OK in 89ms (Views: 74.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:13:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:13:43.738820"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:13:43.738820"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:13:43.739916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:13:43 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.0ms) Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:43.769320"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$f3S7ddSLI.0NK10lxU6ooejmUYK.y5Xy.O6HxR4TTDa9SINlP0ANe"], ["updated_at", "2014-05-08 01:13:43.769320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:13:43.780250"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:13:43.780250"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:43.784645"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$dMebqVLXQTBhI5UYCRPdoew9yuRR4eXmB3FeFPEA/7wukVejDTq2e"], ["updated_at", "2014-05-08 01:13:43.784645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:13:43.786477"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:13:43.786477"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:43.789859"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$EdklMM5eMtuq22ETk4AwuuACGrlxwtW.eo9cA2K4s0sJUkjl3o8T2"], ["updated_at", "2014-05-08 01:13:43.789859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:13:43.791187"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:13:43.791187"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:13:43 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.6ms) Completed 500 Internal Server Error in 7ms  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:58.721869"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$QDPSzSnYEL1cK3AxJIDNPO4IQbshijs6Xp3Zn27SjOfJD//e6gJqi"], ["updated_at", "2014-05-08 01:13:58.721869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:13:58 -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/storytime/application (24.6ms) Completed 200 OK in 75ms (Views: 59.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:13:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:13:58.832936"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:13:58.832936"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:13:58.834584"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:13:58 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.8ms) Completed 200 OK in 14ms (Views: 12.2ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:58.870076"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$KqA8sCIBvYUG/1SeT2Nqw.IAsvNI19qFPBv6plOOSODQrkD4ENgs."], ["updated_at", "2014-05-08 01:13:58.870076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:13:58.881191"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:13:58.881191"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:58.885151"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$0hub6.qDGRC4QyXLytNUO.8z2Eh2ssoULlPOL42.X9QlukDqDlXF."], ["updated_at", "2014-05-08 01:13:58.885151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:13:58.887175"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:13:58.887175"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:13:58.893114"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$oNJVDBWAQEn/7QCiMMk9buQWAsLnxab9MAYdAL1HUVSY0LIPuU5ve"], ["updated_at", "2014-05-08 01:13:58.893114"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:13:58.894484"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:13:58.894484"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:13:58 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.1ms) Completed 500 Internal Server Error in 7ms  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:15:52.338327"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$ctORMm1K1Trnp6ra5qGowe5K1w.etD1f5ytFXXVx1zn5ta2vh7jSq"], ["updated_at", "2014-05-08 01:15:52.338327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:15:52 -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/storytime/application (28.2ms) Completed 200 OK in 73ms (Views: 59.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:15:52 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:15:52.447034"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:15:52.447034"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:15:52.448005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:15:52 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.9ms) Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:15:52.476528"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$Ih.SUcD.6EJW8rXAmIPfwud5vc/owrxpSOJO2HVYZBdvBRFf70kkK"], ["updated_at", "2014-05-08 01:15:52.476528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:15:52.486549"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:15:52.486549"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:15:52.490473"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$jUdVHJOtbr9bTzDIEtH0QuREJUXDGrcvRDHgQu/.M3OqJS0KrcsN2"], ["updated_at", "2014-05-08 01:15:52.490473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:15:52.491762"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:15:52.491762"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:15:52.494798"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$GdVnBYCOueMJ5eK9D3LqlOwej7ME2n9tw2b62NHF4jY65o3p9y86y"], ["updated_at", "2014-05-08 01:15:52.494798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:15:52.495869"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:15:52.495869"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:15:52 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (2.9ms) Completed 500 Internal Server Error in 6ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:25.578523"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$9AAG6EeFKVwL7tdEfKVNqu2D.G8r6gYaGK5QZEAtN9Gkq.nMuV0UK"], ["updated_at", "2014-05-08 01:16:25.578523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:16:25 -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/storytime/application (22.3ms) Completed 200 OK in 70ms (Views: 55.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:16:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:16:25.681912"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:16:25.681912"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:16:25.682981"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.9ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:16:25 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.5ms) Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:25.720272"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$CVutLsY5nuN1EwKpLC.fyeQOOZy/qTAUYD7UM6c.oqFYYyMoPtWSG"], ["updated_at", "2014-05-08 01:16:25.720272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:16:25.733752"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:16:25.733752"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:25.738842"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$yRvhqBiRCKRTEyV5cF7NdOzHIiC3MPJ21E.nK7apAl0Rg4c.QyO5m"], ["updated_at", "2014-05-08 01:16:25.738842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:16:25.740154"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:16:25.740154"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:25.745255"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$GnvrArVwUd8vbzrENvtgzee3DgZ0nLw9Nc8Ju1QZx1lZX2I1sQtXy"], ["updated_at", "2014-05-08 01:16:25.745255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:16:25.747552"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:16:25.747552"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:16:25 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.0ms) Completed 500 Internal Server Error in 11ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:39.789485"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$mLycAcdK4TAagpnusl17keHGDiuRRl4QL2ksLMDXLe1IOSw2KrPAm"], ["updated_at", "2014-05-08 01:16:39.789485"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:16:39 -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.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (23.1ms) Completed 200 OK in 73ms (Views: 57.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:16:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:16:39.895664"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:16:39.895664"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:16:39.896659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:16:39 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.1ms) Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:39.927023"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$ZWXoIFeux/ks.kj23Y74X.MMMFmSDUFQvd71Na06uWZfLMQ05i0wS"], ["updated_at", "2014-05-08 01:16:39.927023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:16:39.942477"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:16:39.942477"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:39.946169"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$gsq5YE5vqM/ELr8UCEuvz.6LZaGeXUfbc7hAuW/wBkMXAFh4JDmPm"], ["updated_at", "2014-05-08 01:16:39.946169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:16:39.947541"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:16:39.947541"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:39.950904"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$Th9/LxqE1hgg8z4BvnlzAe.NItLjzRsrNNDSSDHO.3HbIrDhY.14."], ["updated_at", "2014-05-08 01:16:39.950904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:16:39.952092"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:16:39.952092"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:16:39 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.0ms) Completed 500 Internal Server Error in 6ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:44.969540"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$fu1Cqq1T7yAWQQQkAoiq8.iRuDknHgizhq8SXz5hleTrc8w19waPm"], ["updated_at", "2014-05-08 01:16:44.969540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:16:44 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.8ms) Completed 200 OK in 71ms (Views: 56.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:16:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:16:45.073493"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:16:45.073493"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:16:45.074492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:16:45 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.3ms) Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:45.102710"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$2bW8VUlZLh0Vmi1neqMKCeuHR/H12muJ9uzWVZmoan/GfSvMA/Hbm"], ["updated_at", "2014-05-08 01:16:45.102710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:16:45.112997"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:16:45.112997"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:45.116750"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$iRMJQmul4s/.a.CkYHzVUOijBd1cSujMSEzrVk3HzpGa9jF8oyEw2"], ["updated_at", "2014-05-08 01:16:45.116750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:16:45.117991"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:16:45.117991"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:45.121700"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$9Ihsw4NTPJeBVLD60ClRMO19HDHnbe3dc6gXSc.uYVBoZ2whlPSkC"], ["updated_at", "2014-05-08 01:16:45.121700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:16:45.123351"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:16:45.123351"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:16:45 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.0ms) Completed 500 Internal Server Error in 6ms  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:48.253680"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$DDnAQOMBA5xnO4q22lZfXe6a0PwmGVpWq4afUqmUp2q4M5KwAczEi"], ["updated_at", "2014-05-08 01:16:48.253680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:16:48 -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/storytime/application (24.9ms) Completed 200 OK in 75ms (Views: 61.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:16:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:16:48.364208"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:16:48.364208"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:16:48.365673"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:16:48 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.8ms) Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:48.398182"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$F1j9T.GPKHjkEIHMEYPpo.TwINaNK.CqgZzObtKaGMrRwBMApGXT6"], ["updated_at", "2014-05-08 01:16:48.398182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:16:48.408508"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:16:48.408508"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:48.412193"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$8xRYNW5gldgPmqw3XH99MOp/CHNSV6wmpU9o/q2Ve/QKD/ftHxDee"], ["updated_at", "2014-05-08 01:16:48.412193"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:16:48.413464"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:16:48.413464"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:16:48.416789"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$QCuR6a79AiemzToLKLFDi.VRAwzQuecEIivzNZCaM1JBQUijNo2Y2"], ["updated_at", "2014-05-08 01:16:48.416789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:16:48.417910"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:16:48.417910"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:16:48 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.2ms) Completed 500 Internal Server Error in 7ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:17:48.031089"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$VxbbUyKiRibVH9M2KPnWNe04a5PJSAHH4iZyaIHFoFTnyy405yg76"], ["updated_at", "2014-05-08 01:17:48.031089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:17:48 -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/storytime/application (28.1ms) Completed 200 OK in 81ms (Views: 67.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:17:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:17:48.147400"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:17:48.147400"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:17:48.148371"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:17:48 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.4ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:17:48.180664"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$.K.VwNkaUC5d3GsqifxVMuthNJKryHmGuOUjCILYWEpQdSXS7ZhcC"], ["updated_at", "2014-05-08 01:17:48.180664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:17:48.194294"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:17:48.194294"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:17:48.197978"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$gBPT.tDNyutGurJmAbU/Eu9bu0FNVRxEn.ccfJrhWBoHooiarWHnm"], ["updated_at", "2014-05-08 01:17:48.197978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:17:48.199163"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:17:48.199163"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:17:48.202333"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$aKv8TcVyzhFlSVzWOahRi.US2/S2NpwgD7HYky/g5nHc8mnguU/v2"], ["updated_at", "2014-05-08 01:17:48.202333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:17:48.203477"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:17:48.203477"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:17:48 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (2.7ms) Completed 500 Internal Server Error in 6ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:17:51.517918"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Py47NB5jMbmZOYDRSyPrm.lfZt99Ac2NLglhiS1TTvUtWmbE9l236"], ["updated_at", "2014-05-08 01:17:51.517918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:17:51 -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/storytime/application (27.5ms) Completed 200 OK in 88ms (Views: 65.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:17:51 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:17:51.651871"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:17:51.651871"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:17:51.652990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:17:51 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.2ms) Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:17:51.686967"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$a3/4Au9vyX46b.uJ9fqBTeA6yJvQYMdfByzbiC3Mu3HvQWmG917yS"], ["updated_at", "2014-05-08 01:17:51.686967"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:17:51.699444"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:17:51.699444"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:17:51.704044"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$eZP/n0E.Ne88NO3HWvHYxunoM5B.FzhkLMHd/d99UTGu.0uXkGOK2"], ["updated_at", "2014-05-08 01:17:51.704044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:17:51.705853"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:17:51.705853"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:17:51.709760"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$JzTXj0a1L42l8.u0ru9u2u5QXQhFGDu.onj6YcVDH5sDX8zC81qYW"], ["updated_at", "2014-05-08 01:17:51.709760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:17:51.711233"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:17:51.711233"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:17:51 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.1ms) Completed 500 Internal Server Error in 7ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:18:04.456206"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$QojX5xWP2nN.z6ulApVnkexvbW.A./YhuQTpKO5u43X5lRYtdEMxC"], ["updated_at", "2014-05-08 01:18:04.456206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:18:04 -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/storytime/application (22.4ms) Completed 200 OK in 76ms (Views: 55.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:18:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:18:04.567411"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:18:04.567411"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:18:04.568371"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:18:04 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.8ms) Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:18:04.596734"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$6p9QMpOncoysdNkUKpuW/efF866REH.qCZlG/uZ1n8e8mUFrLTCfK"], ["updated_at", "2014-05-08 01:18:04.596734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:18:04.607421"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:18:04.607421"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:18:04.610932"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$HXlxufDZLb3Ih8yOTbX.kOCczOHp/s3IQgADheVG1aV6hqq890dOO"], ["updated_at", "2014-05-08 01:18:04.610932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:18:04.612106"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:18:04.612106"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:18:04.615088"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$oY3cMRvl4JhvOLYirE6QO.e27gRsTcpf1tTyqLn9XYwXJT9QGw7Yu"], ["updated_at", "2014-05-08 01:18:04.615088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:18:04.616188"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:18:04.616188"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:18:04 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (2.5ms) Completed 500 Internal Server Error in 6ms  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:18:09.142560"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$qJl.ticOL.BpI9DhZ2XP/OuPFVxwk/Dz/1.rzl1dKjEbA.m5FRzGm"], ["updated_at", "2014-05-08 01:18:09.142560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:18:09 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (23.7ms) Completed 200 OK in 68ms (Views: 56.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:18:09 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:18:09.246023"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:18:09.246023"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:18:09.247062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:18:09 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.8ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:18:09.279055"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$HMI13VHY7keZmK0KoBuKj.SGqJ7sw3ObOvGyGn7g9xuzme6UMhJIy"], ["updated_at", "2014-05-08 01:18:09.279055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:18:09.290804"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:18:09.290804"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:18:09.294459"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$lEFgh1VcWbu.9IO.mjNBbu65tytIJSu3ZPXOy65y.OmlhkQ15uHkq"], ["updated_at", "2014-05-08 01:18:09.294459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:18:09.295617"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:18:09.295617"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:18:09.298970"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$iQZcZvIUtzd46PNkrFOtQeJ8fuvTyr13gLB.sIq2wOqt43ia17Rtu"], ["updated_at", "2014-05-08 01:18:09.298970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:18:09.300154"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:18:09.300154"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:18:09 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.9ms) Completed 500 Internal Server Error in 8ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:18:14.268625"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$XhKpuBKTssvQ//FOwGKwQu9nQaShUz8O3OPxoGwNIixg7BJEtBJV6"], ["updated_at", "2014-05-08 01:18:14.268625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:18:14 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.0ms) Completed 200 OK in 67ms (Views: 54.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:18:14 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:18:14.370311"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:18:14.370311"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:18:14.371305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:18:14 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.5ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:18:14.401249"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$6DwvUlQRFLwJarC5HJY/POCNG0GjinPeWEzcBSd7dcjcNMbceN5j6"], ["updated_at", "2014-05-08 01:18:14.401249"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:18:14.412093"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:18:14.412093"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:18:14.415737"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$2m1zXps52VUVzjSw8nSYbelthaYnXleff6.KT6gC5iLUrbyDiY9kK"], ["updated_at", "2014-05-08 01:18:14.415737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:18:14.416906"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:18:14.416906"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:18:14.420407"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$JaycCAiBkn8j9xJRGDyHleQ9Hy6p9.TCM4jsWcXaHMfFywe1/nKGO"], ["updated_at", "2014-05-08 01:18:14.420407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:18:14.421570"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:18:14.421570"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:18:14 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (4.0ms) Completed 500 Internal Server Error in 9ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.8ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:31.862583"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$/40jhigYzFuBp9TRO2ZmV.AssXrMLw.ohzhsmoVmojVwH16py7c1C"], ["updated_at", "2014-05-08 01:24:31.862583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:24:31 -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 (2.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (44.5ms) Completed 200 OK in 122ms (Views: 106.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:24:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:24:32.032842"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:24:32.032842"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:24:32.034617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 27ms (ActiveRecord: 1.7ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:24:32 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (8.3ms) Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:32.076067"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$gHn7iizt7pAT/RTKtyxSne9j.tyACaIq1.Q.wzoihcN5kE1W0Bv7u"], ["updated_at", "2014-05-08 01:24:32.076067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:24:32.091100"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:24:32.091100"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:32.096132"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$.Bm4Kh86SuZ6eAza2yf2xe9XyrIF7yjz1H77Zxr0ZNt8gpuIXSlHW"], ["updated_at", "2014-05-08 01:24:32.096132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:24:32.098006"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:24:32.098006"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:32.105150"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$sID1dhavt.zipVB.WkozCueo7gLYLhCdwv8fyXTbHXLy4k/9UFfIm"], ["updated_at", "2014-05-08 01:24:32.105150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:24:32.106998"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:24:32.106998"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:24:32 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.0ms) Completed 200 OK in 17ms (Views: 13.0ms | ActiveRecord: 0.5ms) Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:40.130815"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$gFEl3T6hZAO2INRJTzxWZOgd7tELuMkB6xSBwqoE2ZLh0qZQiWyp."], ["updated_at", "2014-05-08 01:24:40.130815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:24:40 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.1ms) Completed 200 OK in 67ms (Views: 53.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:24:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:24:40.228092"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:24:40.228092"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:24:40.229078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:24:40 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.1ms) Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-07 20:24:40 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (6.6ms) Completed 200 OK in 36ms (Views: 10.9ms | ActiveRecord: 0.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:24:40 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-08 01:24:40.304695"], ["excerpt", ""], ["title", "The Story"], ["updated_at", "2014-05-08 01:24:40.304695"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 20:24:40 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.5ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:40.320841"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$ENXEpc.A/EiWDPRLhEnX3eI0vA/sMu9YUlyKW2SVy1zLm1ltBSItO"], ["updated_at", "2014-05-08 01:24:40.320841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:24:40 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.8ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:24:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:24:40.335184"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:24:40.335184"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:24:40.335562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:24:40 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:40.347592"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$GlPROZ/9PuFj5DziNISoUelAiJkGVLavvltqvNQacZHcNg0g7JP/u"], ["updated_at", "2014-05-08 01:24:40.347592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:24:40.349717"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:24:40.349717"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:40.354532"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$OGIF526BNrf2izwM7nLm2.S3vUIb0Kz7NnXNtkHfpaj1oT4f6oDf."], ["updated_at", "2014-05-08 01:24:40.354532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:24:40.355934"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:24:40.355934"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:40.359074"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$aLNKeMX5vup6NHPYj/xLF.P0Q13XYqsnv9QwIdGhvFLwGqnrpCnuK"], ["updated_at", "2014-05-08 01:24:40.359074"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:24:40.360228"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:24:40.360228"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:24:40 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.8ms) Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.4ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:40.401928"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$hPC7CnLARUr3/C6phdGax.yVRZGsyVKj6Yn1nV/Dk1cvpT/TQrV6q"], ["updated_at", "2014-05-08 01:24:40.401928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:24:40 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.3ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:24:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:24:40.473873"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:24:40.473873"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:24:40.474205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:24:40 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:40.485423"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$QUWalYSEsiZAE1/BcffOTeJwx8Q66fNL064vUN5p3EzoAzLzaJfJ6"], ["updated_at", "2014-05-08 01:24:40.485423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:24:40.487860"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "f"], ["title", "Post #4"], ["updated_at", "2014-05-08 01:24:40.487860"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-07 20:24:40 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (3.9ms) Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 20:24:40 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #4. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-08 01:24:40.508544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 20:24:40 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:40.533416"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$xPijI7XPSPpa0Nzwdx4i7OxVWEhr9qWhQI16NyMXcjrQKHL4/LzIS"], ["updated_at", "2014-05-08 01:24:40.533416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered widgets/index.html.erb within layouts/storytime/dashboard (0.3ms) Completed 500 Internal Server Error in 4ms  (0.6ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:40.564712"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$tP76My8NvFTQ5iL95KFQ5OPcF45hmzzJKgOmFDv.pZGUAYoICEpv6"], ["updated_at", "2014-05-08 01:24:40.564712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:24:40.567123"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-08 01:24:40.567123"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 20:24:40 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:40.581645"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$qX8nZgLjoW/ca/2YJVvf1O6wQan9aWCpHMYmrVDwkKFOmFBQLWGa6"], ["updated_at", "2014-05-08 01:24:40.581645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:24:40.583760"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-08 01:24:40.583760"], ["user_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:40.590711"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$V11tVfDnQ7VQlI2ppaFhFeYz7EZ7piylpACjwOfSmb.B.2j4izF8C"], ["updated_at", "2014-05-08 01:24:40.590711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:24:40.592917"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-08 01:24:40.592917"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:24:40.597848"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$wS8vgAIswr3qJ0dfJyjudeAryBMGe8ThDXaBZMjnt2iDtPwvaHwW2"], ["updated_at", "2014-05-08 01:24:40.597848"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:24:40.599779"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "t"], ["title", "Post #8"], ["updated_at", "2014-05-08 01:24:40.599779"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-07 20:24:40 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:25:10.282459"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$VpBMpU.TMdgCsdBFXf8aIuaMZC/rVZn.iChpCZtWoxuWyzjEU4h2G"], ["updated_at", "2014-05-08 01:25:10.282459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:25:10 -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.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (26.1ms) Completed 200 OK in 73ms (Views: 59.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:25:10 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:25:10.389077"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:25:10.389077"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:25:10.390035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:25:10 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.8ms) Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:25:10.416794"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$r31OJwL.M.8oogEVhFb0Deki2TDJwJb50VsBSQ031zpFp.Cprnf7i"], ["updated_at", "2014-05-08 01:25:10.416794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:25:10.426177"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "f"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:25:10.426177"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-07 20:25:10 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (5.1ms) Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 20:25:10 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #1. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-08 01:25:10.453783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 20:25:10 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.4ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:25:10.471038"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$whQvnKMt4OXik7eEXrxIW.jhGgSCUrGdlLI6.EiohM2vDFu3VjrZq"], ["updated_at", "2014-05-08 01:25:10.471038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:25:10 -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 (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/storytime/application (2.3ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:25:10 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:25:10.484657"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:25:10.484657"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:25:10.485034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:25:10 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:25:10.495759"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$y/VLBd9gA.j7JYtTiZuIFOoyqI5VWpif04dEvnHLDdYB5XLCGjS/G"], ["updated_at", "2014-05-08 01:25:10.495759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:25:10.497482"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:25:10.497482"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:25:10.503573"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$On8jqVhOo8jAGTJ4HVmCcOxq6vl0RCQ8hN5bkypkVEFeYY47UITS2"], ["updated_at", "2014-05-08 01:25:10.503573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:25:10.505553"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:25:10.505553"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:25:10.509598"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$IFjHjLhS5se21DlwMvD5WOHUFXXFWQ0oazRNgamVQsgdcaG/ejVwq"], ["updated_at", "2014-05-08 01:25:10.509598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:25:10.511391"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-08 01:25:10.511391"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:25:10 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.5ms) Completed 200 OK in 12ms (Views: 9.2ms | ActiveRecord: 0.5ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:25:10.535960"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$rvNM8OjF81/rqHrY59ODm.syCQCZ2siaVhsgyOF/wow/oJ0fkCFYC"], ["updated_at", "2014-05-08 01:25:10.535960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:25:10 -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 (0.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.9ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:25:10 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:25:10.550827"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:25:10.550827"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:25:10.551172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:25:10 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.5ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-07 20:25:10 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (3.8ms) Completed 200 OK in 19ms (Views: 7.2ms | ActiveRecord: 0.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:25:10 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-08 01:25:10.595388"], ["excerpt", ""], ["title", "The Story"], ["updated_at", "2014-05-08 01:25:10.595388"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 20:25:10 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:25:45.463653"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$VHzms0asnT7wftD1rJ5wceWSpSioGa2cWxL8wmbiTeNFXQQjr2bTe"], ["updated_at", "2014-05-08 01:25:45.463653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:25:45 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.2ms) Completed 200 OK in 77ms (Views: 61.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:25:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:25:45.575599"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:25:45.575599"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:25:45.576592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:25:45 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.8ms) Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:25:45.605870"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$9cgzTG7uY9nbunQoOr7zhOf3H0x5RXlMPCO.6xHMXJtohHuly4OUO"], ["updated_at", "2014-05-08 01:25:45.605870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:25:45.616274"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:25:45.616274"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:25:45.619940"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$oG5uAHNcEM7aIFKRnMvN2edKWeRl6thzc6e0qU2ERdl6zSrrgWWPG"], ["updated_at", "2014-05-08 01:25:45.619940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:25:45.621381"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:25:45.621381"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:25:45.625992"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$DcYMuzDzP6gMvnwhjK1Z.eKeF2Iws4I0lSWuks.L9qoxecQQRxjXu"], ["updated_at", "2014-05-08 01:25:45.625992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:25:45.627518"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:25:45.627518"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:25:45 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.7ms) Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:35:19.227188"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$CeHfH5TaGgvJRprgqDCMZubZFR.4mIwwn7rzaIFHEN/8LvqkEqFOS"], ["updated_at", "2014-05-08 01:35:19.227188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:35:19 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (30.2ms) Completed 200 OK in 104ms (Views: 91.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:35:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:35:19.372658"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:35:19.372658"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:35:19.374304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 23ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:35:19 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.1ms) Completed 200 OK in 14ms (Views: 12.2ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:35:19.412513"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$lnaxTKU/VuU0irh8077uy.1/3NOtCdfuWd8etOE.X.mc5sWw3xfbi"], ["updated_at", "2014-05-08 01:35:19.412513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:35:19.425305"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:35:19.425305"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:35:19.429429"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$e1yfEkkqsMD9bD7EkjSUt.xb.e8RUXvj3.8AhrEqT1tpW0rMzn4RG"], ["updated_at", "2014-05-08 01:35:19.429429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:35:19.431047"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:35:19.431047"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:35:19.435951"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$WPQKTaBIhgv0v7Y7FdtL..qlFp5i3FDzO/17hW9UvGj9qiSYEMzJi"], ["updated_at", "2014-05-08 01:35:19.435951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:35:19.438015"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:35:19.438015"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:35:19 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (4.6ms) Completed 200 OK in 12ms (Views: 8.4ms | ActiveRecord: 0.4ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:35:19.506888"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$qpXsDQWyDm97Hfv./m0p.Ofx21pdNWWHZDhNrxYWdgC.EjR8czAwW"], ["updated_at", "2014-05-08 01:35:19.506888"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:35:19.517481"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$b/mfeyn5lHidUmkfksdmeOYEbnrxZPPG2SF2NZsWtZvPqCnJvjXaO"], ["updated_at", "2014-05-08 01:35:19.517481"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:35:19 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.2ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:35:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:35:19.539959"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:35:19.539959"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:35:19.540555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:35:19 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-07 20:35:19 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (8.1ms) Completed 200 OK in 29ms (Views: 12.3ms | ActiveRecord: 0.4ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:35:19 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-08 01:35:19.596009"], ["excerpt", ""], ["title", "The Story"], ["updated_at", "2014-05-08 01:35:19.596009"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 20:35:19 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.8ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:35:19.621188"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$xdprBUTnkjE0xl5COiw0D.yVwfOSILCcIT8vQfGLKxDSpzWlazGji"], ["updated_at", "2014-05-08 01:35:19.621188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:35:19 -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 (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.1ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:35:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:35:19.641178"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:35:19.641178"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:35:19.641626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:35:19 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:35:19.653695"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$2UkvPoQABGrTnYjkkUWgouinRCJdkGkS3n3FLNcVyLQsXPV3WQdVm"], ["updated_at", "2014-05-08 01:35:19.653695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:35:19.655593"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "f"], ["title", "Post #4"], ["updated_at", "2014-05-08 01:35:19.655593"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-07 20:35:19 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (4.3ms) Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 20:35:19 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #4. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-08 01:35:19.676261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 20:35:19 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:38:03.056694"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$WjzeKO0jDaoK3Sw8dnyW8eduvG/tZQR2DoEV9TmCnn/U2KKUEtEni"], ["updated_at", "2014-05-08 01:38:03.056694"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:38:03.070527"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 01:38:03.070527"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:38:03.076132"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$uhxRPKjZ0zH.6Z7gIprXEuLi6NZb/jex/Xhzr9tUyha34SY9R0.EK"], ["updated_at", "2014-05-08 01:38:03.076132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:38:03.077407"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 01:38:03.077407"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:38:03.080762"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$Tztgb82Pl8HLKUys8AlGhOFcb7G4ONpkt9XN5NLv/zS8vWGYSTZhe"], ["updated_at", "2014-05-08 01:38:03.080762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:38:03.081990"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 01:38:03.081990"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-07 20:38:03 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (9.3ms) Completed 200 OK in 52ms (Views: 51.1ms | ActiveRecord: 0.2ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:38:03.170896"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$vHwq4N8E/lhUhqtXhf5YyOFKJkLi3rHSVuS50oRgENIe2799F9On."], ["updated_at", "2014-05-08 01:38:03.170896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:38:03.174205"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-08 01:38:03.174205"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 20:38:03 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.6ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:38:03.192699"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$nhW/.NarvG.COr97k.Z3aOZ.kTKCfbsRcLotbjk5HuEa.9bFYqzQS"], ["updated_at", "2014-05-08 01:38:03.192699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:38:06 -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/storytime/application (21.9ms) Completed 200 OK in 32ms (Views: 26.9ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 20:38:06 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 20:38:06 -0500  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:38:06.743518"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$IMowYHDRginX5j6bSugykO3MiMFu1WcY3js1WVH.t9LWY8q3giigu"], ["updated_at", "2014-05-08 01:38:06.743518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:38:06 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.8ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:38:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:38:06.769330"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:38:06.769330"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:38:06.770394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:38:06 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:38:06.791176"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$7lF87mDX.gdJ0aVUZW5usOFfB4TdKWy/AQQmZ2GgaOkMG1Sm7rcrO"], ["updated_at", "2014-05-08 01:38:06.791176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:38:06.792957"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "f"], ["title", "Post #5"], ["updated_at", "2014-05-08 01:38:06.792957"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-07 20:38:06 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (6.1ms) Completed 200 OK in 13ms (Views: 10.3ms | ActiveRecord: 0.3ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 20:38:06 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #5. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-08 01:38:06.822514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 20:38:06 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:38:06.850186"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$mcL9Yr90y3oEIOhIPaXgSuAjegNenIOdcQkBLfhVDPbkdOxc6USeq"], ["updated_at", "2014-05-08 01:38:06.850186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:38:06 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.7ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:38:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:38:06.871307"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:38:06.871307"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:38:06.871677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:38:06 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-07 20:38:06 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (3.0ms) Completed 200 OK in 15ms (Views: 5.5ms | ActiveRecord: 0.4ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:38:06 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-08 01:38:06.905948"], ["excerpt", ""], ["title", "The Story"], ["updated_at", "2014-05-08 01:38:06.905948"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 20:38:06 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:38:06.929699"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$zhzB2GptFBlCO5ZTk7rGp.ADY/3f/RvWBT/ByLxjGOEDxINRvIN6S"], ["updated_at", "2014-05-08 01:38:06.929699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:38:06 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.2ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:38:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 01:38:06.946155"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 01:38:06.946155"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 01:38:06.946514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-07 20:38:06 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:38:06.957920"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$TZ2ElwlO5CiIKGw.cM7NSOK01OTpHs5N9.7oibHF9fLo41fHcBl5a"], ["updated_at", "2014-05-08 01:38:06.957920"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:38:06.960376"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-08 01:38:06.960376"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:38:06.966039"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$EnORhg3t.M750RYYno4DQOr6zepJDHjA8gZ5e2c7yxjBs2HvOiSz2"], ["updated_at", "2014-05-08 01:38:06.966039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:38:06.968086"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-08 01:38:06.968086"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:38:06.971967"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$ck2oM75Au3jIAriPi0rl/.1E20IMIG3a8t85Zqhavlwi1CZeLlyYK"], ["updated_at", "2014-05-08 01:38:06.971967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 01:38:06.973204"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "t"], ["title", "Post #8"], ["updated_at", "2014-05-08 01:38:06.973204"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 20:38:06 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (4.0ms) Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.4ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.6ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:38:07.053424"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$XQC1ybQqCneTkwV0zyZ3reJcxONkBU0lh3kvJJYEcGigD5CANNzh2"], ["updated_at", "2014-05-08 01:38:07.053424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:43:45.437810"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$taT5zAsgHr2xsaDLfH6b4Oax6MGULnJ9sHFs/3/hBLJTHLFkTWzLm"], ["updated_at", "2014-05-08 01:43:45.437810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:43:47 -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/storytime/application (23.5ms) Completed 500 Internal Server Error in 75ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:44:30.569573"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$qJP/uBjor.XV7WOASahch.bDrYeV4DEauZVjF4XNyCcBX2lj0PM2W"], ["updated_at", "2014-05-08 01:44:30.569573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:44:32 -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 (2.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (34.0ms) Completed 500 Internal Server Error in 93ms  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:44:47.998408"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$x/d5rWORWPHgJFmct41m4Oh6GOsd4CO6UahayFUGFkSc60P.bzpAa"], ["updated_at", "2014-05-08 01:44:47.998408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:44:50 -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/storytime/application (23.7ms) Completed 500 Internal Server Error in 81ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:48:35.742970"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$VD8N5ihDRkQSwSDvLDWLX.s4nP2bu3tu.MBYhLbP0LpbgHnOGM2wi"], ["updated_at", "2014-05-08 01:48:35.742970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:48:37 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.3ms) Completed 500 Internal Server Error in 79ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:49:14.307985"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$lWYYPcK8oI4ZAOCHShpCDu570Pg5XEXyHjuHE0cmFhUzNtDlWmDJ6"], ["updated_at", "2014-05-08 01:49:14.307985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:49:16 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (23.7ms) Completed 500 Internal Server Error in 76ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 01:49:44.285503"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$uCm/O9htEpZph0yl4tw/Ku4T4uSsgmkDcQG77tvboiQiroY.3Gzw."], ["updated_at", "2014-05-08 01:49:44.285503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 20:49:46 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.9ms) Completed 500 Internal Server Error in 80ms  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.5ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:09:57.949394"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$K5g538ewOg0HzpcEvA9FA.eHmm9Pc.zMJl3GbRyvow4KtLf8aT3tO"], ["updated_at", "2014-05-08 02:09:57.949394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:09:57 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (37.7ms) Completed 200 OK in 472ms (Views: 457.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:09:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:09:58.470208"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:09:58.470208"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:09:58.471884"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 22ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:09:58 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.5ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.6ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.8ms) Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 1.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:09:58.507479"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$CjpfWFZ5KJ.iFeeRf6b.eOCuPFMyaa1fN/58WbmL2y/.ZESRhpGX6"], ["updated_at", "2014-05-08 02:09:58.507479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:09:58.521932"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "f"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:09:58.521932"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-07 21:09:58 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (5.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (7.9ms) Completed 200 OK in 177ms (Views: 173.2ms | ActiveRecord: 0.3ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:09:58 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #1. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-08 02:09:58.717826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 21:09:58 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.6ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:09:58.737923"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$jrqJcmsvusTJ2X/6zXo6GevDEkwle5Z65dw0igmCptvcuk4FU/BVC"], ["updated_at", "2014-05-08 02:09:58.737923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:09:58 -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 (0.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.2ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:09:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:09:58.756476"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:09:58.756476"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:09:58.756898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:09:58 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-07 21:09:58 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (3.1ms) Completed 200 OK in 18ms (Views: 6.4ms | ActiveRecord: 0.2ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:09:58 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-08 02:09:58.793376"], ["excerpt", ""], ["title", "The Story"], ["updated_at", "2014-05-08 02:09:58.793376"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 21:09:58 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:09:58.806831"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$xMpeIcGN6xEajQwvo6r7OuL4faxEM.eI4.aQy1kBdBkDBwwNKQiFe"], ["updated_at", "2014-05-08 02:09:58.806831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:09:58 -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 (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/storytime/application (2.5ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:09:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:09:58.822854"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:09:58.822854"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:09:58.823303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:09:58 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:09:58.836308"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$I6cVEaPBUWcR8.fOFVO.ou2m6KIsXdaeAmnvNzFMI6P74abm/s1Ve"], ["updated_at", "2014-05-08 02:09:58.836308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:09:58.837666"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:09:58.837666"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:09:58.840909"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$i7LiDPTAWmJHXM0L21K70.rnN2FUULaLuPOdqvJuOMzltUbQYSl36"], ["updated_at", "2014-05-08 02:09:58.840909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:09:58.842106"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:09:58.842106"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:09:58.845154"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$3bV8BlIqbsBWLguBe.eReeyyplHd0uSbp5BxA5MpqaSF/Jf2Plhta"], ["updated_at", "2014-05-08 02:09:58.845154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:09:58.846326"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-08 02:09:58.846326"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:09:58 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.2ms) Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:09:58.900414"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$8GhBz.IwIJCc4NXhWG2JzOU9L8fKcOUmizBVTD6ibAdaOGzvxcWCO"], ["updated_at", "2014-05-08 02:09:58.900414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:10:01 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.2ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:10:01 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:10:01 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:10:01 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 2ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@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/storytime/application (2.5ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:10:18.758935"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Wo2cpQQFY9xlX6hxFRYt4OEbgBWRcK0GwIDR6gLE9iaXclLnEKTMm"], ["updated_at", "2014-05-08 02:10:18.758935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:10:20 -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/storytime/application (23.6ms) Completed 200 OK in 129ms (Views: 116.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:10:21 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:10:21 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:10:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 5ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@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/storytime/application (2.5ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (2.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.6ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:11:56.927871"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$HkRzMaOZbL4StFVJFXW4pu9s/G4nsTfGVcG5h.3xlvtS7rIEiEjI."], ["updated_at", "2014-05-08 02:11:56.927871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:11:59 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (40.1ms) Completed 200 OK in 180ms (Views: 165.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:11:59 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:11:59 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:11:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 9ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.7ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:13:48.337860"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$DR4VF9OkwhiRSM8K6g7Cv.VbCyD2Y8xgQ8HbkEwGWWwaeUxGWuX3O"], ["updated_at", "2014-05-08 02:13:48.337860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:13:50 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (29.6ms) Completed 200 OK in 81ms (Views: 68.0ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:13:50 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:13:50 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:13:50 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 6ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@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/storytime/application (2.4ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (2.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:13:52.878591"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$RBQevGgmbxWH.4ZN0aVkNePGT7sMBc4dv8KEHqzpK85wR62GNbJDK"], ["updated_at", "2014-05-08 02:13:52.878591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:13:52 -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 (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/storytime/application (2.5ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:13:52 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:13:52.895088"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:13:52.895088"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:13:52.896141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:13:52 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.5ms) Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 1.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-07 21:13:52 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (6.5ms) Completed 200 OK in 112ms (Views: 84.6ms | ActiveRecord: 0.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:13:53 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-08 02:13:53.056125"], ["excerpt", ""], ["title", "The Story"], ["updated_at", "2014-05-08 02:13:53.056125"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 21:13:53 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.6ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:13:53.084513"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$XnDiYm/cZ9N9Fq5DySGQCu46oKaNPO/STdwiEi7gk2Q4TqBw04MJ6"], ["updated_at", "2014-05-08 02:13:53.084513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:13:53 -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 (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.9ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:13:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:13:53.099411"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:13:53.099411"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:13:53.099775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:13:53 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:13:53.116616"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$SB9ERlb81DXFXT297.Sutete2pwSkB6WuCLqKXbjdb8ac8evB5HiK"], ["updated_at", "2014-05-08 02:13:53.116616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:13:53.118044"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:13:53.118044"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:13:53.121464"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$DgZU7nc77DnP9IlRGQuzvupHGy9dewp.tEvK3iQkJWnYLdiD4sZJS"], ["updated_at", "2014-05-08 02:13:53.121464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:13:53.122623"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:13:53.122623"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:13:53.125870"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$xGXpeTV8DzYgepA0OAIcpO.sIUkNFFJFHHZ0vruCH8dJVwUQbsEv2"], ["updated_at", "2014-05-08 02:13:53.125870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:13:53.127052"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:13:53.127052"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:13:53 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (7.0ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.4ms) Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:13:53.187063"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$U5CHcB0.Dca6YHRE1dWi4eUdKNNlVEcpjwIMQzLlHW7b/1Cq5hg5G"], ["updated_at", "2014-05-08 02:13:53.187063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:13:53 -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 (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/storytime/application (2.4ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:13:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:13:53.205364"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:13:53.205364"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:13:53.205797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:13:53 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:13:53.218055"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$LBTucqePmAAODeU1NSP89.6sNpiWvXu280viEd/KBYuAZZPCZa7yu"], ["updated_at", "2014-05-08 02:13:53.218055"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:13:53.219580"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "f"], ["title", "Post #4"], ["updated_at", "2014-05-08 02:13:53.219580"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-07 21:13:53 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (3.9ms) Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:13:53 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #4. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-08 02:13:53.238617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 21:13:53 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:19.182181"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$MlQk9BlxOsYMM6P.Digd4eGuq3EgKAvnLyjVh/a4yf77D04i.nXhO"], ["updated_at", "2014-05-08 02:17:19.182181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:17:19.196849"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:17:19.196849"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 21:17:19 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (1.5ms) Completed 200 OK in 52ms (Views: 51.0ms | ActiveRecord: 0.2ms)  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:19.272911"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$NmZZeAXvY1ci.9dOe16QK.fcy45R6XW6h7rdYHPq1t70/eytNyQFO"], ["updated_at", "2014-05-08 02:17:19.272911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:17:19.274901"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:17:19.274901"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:19.279725"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$oEFPzblMnDj1GRlanQDKEeaRvHVpXXLpJ6x1nimOgRBbZ/p9TpgR2"], ["updated_at", "2014-05-08 02:17:19.279725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:17:19.281145"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:17:19.281145"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:19.284258"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$hoeMSy3npPWdPEiQYNywo.mjKgBYvxSykm9H.W9/4wn/uEh5iq1vG"], ["updated_at", "2014-05-08 02:17:19.284258"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:17:19.285485"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-08 02:17:19.285485"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-07 21:17:19 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.7ms) Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.2ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:19.317306"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$dTYneCBkgxTbIAhn5VN09.AEeU/10im1yu224smrK2iNnvVih3GOG"], ["updated_at", "2014-05-08 02:17:19.317306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:17:21 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.2ms) Completed 200 OK in 35ms (Views: 29.6ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:17:21 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:17:21 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:17:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:17:22.028824"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:17:22.028824"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:17:22.029949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49988/ Completed 302 Found in 17ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:17:22 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:22.088764"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$M7UiM9jx69tzDh4.O0YeaOcvzHcJKKPUMO6pbXuTWuGbcGov8CP6K"], ["updated_at", "2014-05-08 02:17:22.088764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:17:22.090754"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-08 02:17:22.090754"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:22.096119"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$FbfHxMJOqj8RfjvpAPmT8ei7d54VgIh2wl0u.leaOIdwsIVbvwhwu"], ["updated_at", "2014-05-08 02:17:22.096119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:17:22.097455"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-08 02:17:22.097455"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:22.100730"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$UCk5WH5VKcva4FExvq0AAewQOnEhMvADma7pxj/y8l1c5DXhKvYam"], ["updated_at", "2014-05-08 02:17:22.100730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:17:22.102360"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-08 02:17:22.102360"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:17:22 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.2ms) Completed 200 OK in 87ms (Views: 84.5ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:17:22 -0500  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:23.224654"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$vXZc2EiYxcwlj07Yymt1huSqx1c5LomrqjyjjNCfY8nyM8otP7Lny"], ["updated_at", "2014-05-08 02:17:23.224654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:17:23 -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 (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.1ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:17:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:17:23.244493"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:17:23.244493"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:17:23.245742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:17:23 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-07 21:17:23 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (5.4ms) Completed 200 OK in 19ms (Views: 8.2ms | ActiveRecord: 0.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:17:23 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-08 02:17:23.284993"], ["excerpt", ""], ["title", "The Story"], ["updated_at", "2014-05-08 02:17:23.284993"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 21:17:23 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:23.310175"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$ePnU/f0GWtBXZOadK0bD4eiQmeXtHM.ntRzxsEtRMCqxWKeD0g5r2"], ["updated_at", "2014-05-08 02:17:23.310175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:17:23 -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 (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.0ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:17:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:17:23.327388"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:17:23.327388"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:17:23.327999"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:17:23 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:23.342223"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$oYq46AQB.TpDoU2bAbiGHerKhYM77HGc3U1bCRztohCqUubFZCgO6"], ["updated_at", "2014-05-08 02:17:23.342223"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:17:23.343982"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "f"], ["title", "Post #8"], ["updated_at", "2014-05-08 02:17:23.343982"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-07 21:17:23 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (3.2ms) Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:17:23 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #8. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-08 02:17:23.362468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 21:17:23 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:23.387123"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$GRRMfob9pGdgPaTEH9OnuepggytN3Si1IQ0Uv2YjAk/SFWLSqvbwq"], ["updated_at", "2014-05-08 02:17:23.387123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:17:23 -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 (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.5ms) Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:17:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:17:23.404673"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:17:23.404673"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:17:23.405057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:17:23 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:23.416685"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$ipVPLAfx1ZJf6TLu/Kavk.UdW2YdqbbhVt3rjiahZJggxRMyo9WOe"], ["updated_at", "2014-05-08 02:17:23.416685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:17:23.418268"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-08 02:17:23.418268"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:23.421530"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$GCDpTOYrVcWifl8roA2lAOW0RjPa/96m8UJPeY0N6ZKZ.QFNGstEm"], ["updated_at", "2014-05-08 02:17:23.421530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:17:23.422706"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-08 02:17:23.422706"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:23.426138"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$Ix6PxFnu1YoJVchUXwTx1ejcdrfNlSnE9Tu2z2F2DCJHOAObJ5Loa"], ["updated_at", "2014-05-08 02:17:23.426138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:17:23.427386"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "t"], ["title", "Post #11"], ["updated_at", "2014-05-08 02:17:23.427386"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:17:23 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.2ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.6ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:23.492518"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$VMp/UqypIc4c/kYfN4p5aedEFBEAMmOSu01BS8RjwPxvSXVcx1LtO"], ["updated_at", "2014-05-08 02:17:23.492518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered widgets/index.html.erb within layouts/storytime/dashboard (0.6ms) Completed 500 Internal Server Error in 5ms  (0.5ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:26.371003"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$fLjcdUOWEpYawfmeMEHzteBWTah7x2sVdOUff4.13OBIA.57o3Y.a"], ["updated_at", "2014-05-08 02:17:26.371003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:17:28 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.1ms) Completed 200 OK in 133ms (Views: 120.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:17:28 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:17:28 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:17:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 (1.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:17:28.725853"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:17:28.725853"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:17:28.726804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49999/ Completed 302 Found in 17ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:17:28 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.8ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:28.793819"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$u0FDieIx4f9Ir8ZiV5/JFOVILCAe25VOJ0LU7BuwckPZBp2O/E.FW"], ["updated_at", "2014-05-08 02:17:28.793819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:17:28.804356"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:17:28.804356"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:28.809554"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$3uouOk.MoSgOhXGekVPD8O0LAtNg3gbYYp7UCJ9N0v.G80kCSHNgG"], ["updated_at", "2014-05-08 02:17:28.809554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:17:28.811244"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:17:28.811244"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:17:28.815378"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$3.vGhvB6b2/IKeRi0PvU5eXz3oTvlU7fReOB/btnYRbubfh1aunFO"], ["updated_at", "2014-05-08 02:17:28.815378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:17:28.817756"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:17:28.817756"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:17:28 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.6ms) Completed 200 OK in 85ms (Views: 81.4ms | ActiveRecord: 0.5ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:17:28 -0500  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:18:49.310117"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$xgKFtBYBbtVZpbWddBrNyuIC1Rha3RKxglbpbL5n/RULtNvm4qfZC"], ["updated_at", "2014-05-08 02:18:49.310117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:18:51 -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/storytime/application (27.5ms) Completed 200 OK in 141ms (Views: 124.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:18:51 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:18:51 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:18:51 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:18:51.678049"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:18:51.678049"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:18:51.679713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50010/ Completed 302 Found in 19ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:18:51 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.8ms) Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:18:51.743363"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$QA0fbI748LmOkEGFjWO8HuIQFhiN0AHws8bFtSKOqoPTlB82/AHFK"], ["updated_at", "2014-05-08 02:18:51.743363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:18:51.756395"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:18:51.756395"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:18:51.760608"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$hq/JrQJG.NQBjsoGXu9r.u4Q14swMrWfLn6k4txPqAM6hBfh314Tq"], ["updated_at", "2014-05-08 02:18:51.760608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:18:51.761921"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:18:51.761921"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:18:51.765094"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$MBO5OeWQJF81Wyxsfk.cbe1oNYizq/PiofqHfxG2LSRGMmtKqypUO"], ["updated_at", "2014-05-08 02:18:51.765094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:18:51.766214"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:18:51.766214"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:18:51 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.3ms) Completed 200 OK in 80ms (Views: 77.1ms | ActiveRecord: 0.4ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:18:51 -0500 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:18:52 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50010/posts Completed 500 Internal Server Error in 3ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:19:09.754182"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$xZsOlshnd1cSwXFJojMpMu6YUYZOQ1CS1wuYIpe/eWUrJUpoVfJty"], ["updated_at", "2014-05-08 02:19:09.754182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:19:11 -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/storytime/application (27.7ms) Completed 200 OK in 133ms (Views: 120.3ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:19:12 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:19:12 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:19:12 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:19:12.136512"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:19:12.136512"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:19:12.137533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50018/ Completed 302 Found in 16ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:19:12 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.0ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:19:12.204904"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$Q7kCVFIfdXgCpD2b9BC1/OuOe/uwFDrhxWFSfn/AXgFk/oNgnY69u"], ["updated_at", "2014-05-08 02:19:12.204904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:19:12.215844"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:19:12.215844"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:19:12.219750"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$rkKwv4bRDjOljaAvcbWNk.f95padcCw5cuQL8TQC1ZWi9LeZ9Tqky"], ["updated_at", "2014-05-08 02:19:12.219750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:19:12.220934"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:19:12.220934"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:19:12.224352"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$NuChz3Oe1gObWhTsBG1IIe/FKxZmVJAdTM.hFkq9gY.jFWdQXAh02"], ["updated_at", "2014-05-08 02:19:12.224352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:19:12.225508"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:19:12.225508"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:19:12 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (4.8ms) Completed 200 OK in 83ms (Views: 80.2ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:19:12 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:19:13 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50018/posts Completed 500 Internal Server Error in 4ms  (2.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:19:57.976059"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Ti55qQnFO2i.ifJHGl9L4eUA.SApCfkdKFmTly3AmMxe/QTBli9cC"], ["updated_at", "2014-05-08 02:19:57.976059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:20:00 -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.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (42.6ms) Completed 200 OK in 192ms (Views: 174.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:20:00 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:20:00 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:20:00 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:20:00.611958"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:20:00.611958"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:20:00.613186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50030/ Completed 302 Found in 39ms (ActiveRecord: 2.4ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:20:00 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (9.4ms) Completed 200 OK in 18ms (Views: 15.8ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:20:00.729704"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$6kS8h.5MfUcmfKlrtT/Oh.rZZUN7duaA.0gMyaHvNAgixlX2q5u9y"], ["updated_at", "2014-05-08 02:20:00.729704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:20:00.746027"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:20:00.746027"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:20:00.750719"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$cUd6IkkqGuz59OmSp35aXuq/PKGRv3VGUUk8r4YMS8se5L6TqGOSS"], ["updated_at", "2014-05-08 02:20:00.750719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:20:00.752213"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:20:00.752213"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:20:00.756948"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$txvbd.hnSAsUyQaC2oSehuodRr6QBZGIB4UzfV44vHU/s4KQrvKiK"], ["updated_at", "2014-05-08 02:20:00.756948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:20:00.758640"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:20:00.758640"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:20:00 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (4.4ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (9.2ms) Completed 200 OK in 99ms (Views: 95.6ms | ActiveRecord: 0.5ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:20:00 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:20:01 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50030/posts Completed 500 Internal Server Error in 5ms  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:21:03.203131"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$w3yGHM0LjHuZPQOOR8TNcOq.vqjRQzap3/i902YO7NaU/PXS39lXy"], ["updated_at", "2014-05-08 02:21:03.203131"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:21:05 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (28.4ms) Completed 200 OK in 140ms (Views: 123.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:21:05 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:21:05 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:21:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:21:05.882052"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:21:05.882052"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:21:05.883286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50062/ Completed 302 Found in 17ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:21:05 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.7ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:21:05.950185"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$i/aKPd0pAK/TeLgprmBr4OMF4H7eqz/nUFZFXt7yqh5EfOwDW8bli"], ["updated_at", "2014-05-08 02:21:05.950185"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:21:05.962802"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:21:05.962802"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:21:05.967112"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$rePjODGh6jC/TG7KRQ.6gOZQUc7YMPEg7AWzXZ0cQUrI5tUcz9urC"], ["updated_at", "2014-05-08 02:21:05.967112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:21:05.968370"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:21:05.968370"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:21:05.971560"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$W7q9hLpHaJerEUza5VqDx.id7cZKDgbSiKj34d2nPSflQxRVHynoK"], ["updated_at", "2014-05-08 02:21:05.971560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:21:05.972634"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:21:05.972634"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:21:05 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (4.9ms) Completed 200 OK in 78ms (Views: 75.4ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:21:06 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:21:07 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50062/posts Completed 500 Internal Server Error in 4ms  (6.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:21:21.679596"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$SW531YH.b.ENid4A0D92COHJYKj4fF1LYplzCxzChanYOzDhKbj0e"], ["updated_at", "2014-05-08 02:21:21.679596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:21:23 -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/storytime/application (23.8ms) Completed 200 OK in 132ms (Views: 118.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:21:23 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:21:23 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:21:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:21:23.994570"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:21:23.994570"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:21:23.995634"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50087/ Completed 302 Found in 16ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:21:24 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.3ms) Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:21:24.060014"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$eB8DM7amGlgSbI/yrN3Kte.z8HTTvGUNm6wSAfOyPMhCbTl2SAaQC"], ["updated_at", "2014-05-08 02:21:24.060014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:21:24.070136"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:21:24.070136"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:21:24.073845"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$RZIvKT8Ff/mcd.8HZQJAYe0oLSqohFTDZ0BbgRyqDMRqc0NJzSXmO"], ["updated_at", "2014-05-08 02:21:24.073845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:21:24.075026"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:21:24.075026"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:21:24.078017"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$kH5NlRsSPjI4BAMUl2r9N.W1UlQht9CE1.ziSdp7AD1dlHPgB.vgG"], ["updated_at", "2014-05-08 02:21:24.078017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:21:24.079217"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:21:24.079217"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:21:24 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.0ms) Completed 200 OK in 89ms (Views: 85.5ms | ActiveRecord: 0.4ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:21:24 -0500 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:21:25 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50087/posts Completed 500 Internal Server Error in 3ms  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:22:04.545032"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$6LjPzijG/k6X1Q9YCcpz.evpHnlyD5GM/.9FjsT8OcabWGYGURJpK"], ["updated_at", "2014-05-08 02:22:04.545032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:22:06 -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/storytime/application (24.2ms) Completed 200 OK in 133ms (Views: 119.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:22:06 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:22:06 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:22:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:22:06.978718"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:22:06.978718"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:22:06.979667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50103/ Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:22:06 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.6ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:22:07.044702"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$lRETt8y1zroYEMcLkfYnP.sjEWmnk6wdkmJzopx9q/QN506Y8piym"], ["updated_at", "2014-05-08 02:22:07.044702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:22:07.054781"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:22:07.054781"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:22:07.058428"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$rCW9GIefTw8Zs5jq0v6PNOhhxDuFIxiFgLPcVcP4/n7tUS48WB5DC"], ["updated_at", "2014-05-08 02:22:07.058428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:22:07.059548"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:22:07.059548"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:22:07.062563"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$wG8FAB.oQiYrcuQH7VYZZeEvdFRBorw5EPVBx7VibYZaXnHV4Q3rS"], ["updated_at", "2014-05-08 02:22:07.062563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:22:07.063716"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:22:07.063716"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:22:07 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.0ms) Completed 200 OK in 85ms (Views: 82.3ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:22:07 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:22:08 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction Completed 401 Unauthorized in 32049ms ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.6ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:28:51.802446"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$lwt9X8X/wBk7R66OlX9hn.Y8gDwl5DvXdC3qaFLdluPDlbV3pSCQS"], ["updated_at", "2014-05-08 02:28:51.802446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:28:54 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (39.8ms) Completed 200 OK in 176ms (Views: 161.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:28:54 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:28:54 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:28:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:28:54.862584"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:28:54.862584"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:28:54.863824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50410/ Completed 302 Found in 22ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:28:54 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.5ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (8.0ms) Completed 200 OK in 15ms (Views: 12.2ms | ActiveRecord: 1.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:28:54.942605"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$ve2XgUgD.c/CXRpA94WQrOG.lb56YdJDoPzB.PsIrtVx9rr54q2si"], ["updated_at", "2014-05-08 02:28:54.942605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:28:54.969754"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:28:54.969754"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:28:54.974445"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$OL/UubXB7cAUfPgfDzz1U.QZb25uNCiBQH/OGwuz/3bxVU3eaFbd6"], ["updated_at", "2014-05-08 02:28:54.974445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:28:54.975796"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:28:54.975796"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:28:54.979024"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$keYVTa5k63.CIPgPRre0quLWSsgEm/Rfff1yHKPM8iw1O2gxkTOG6"], ["updated_at", "2014-05-08 02:28:54.979024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:28:54.980190"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:28:54.980190"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:28:54 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.1ms) Completed 200 OK in 92ms (Views: 88.6ms | ActiveRecord: 0.4ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:28:55 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:28:56 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction Completed 401 Unauthorized in 32038ms ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.5ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:29:40.758309"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$RoMLV0m0smLyJX/INi/D8.0L5xxsZFh2Gaa5OGxkEHTB519JpscHW"], ["updated_at", "2014-05-08 02:29:40.758309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:29: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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (40.1ms) Completed 200 OK in 155ms (Views: 139.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:29:43 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:29:43 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:29:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:29:43.376927"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:29:43.376927"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:29:43.378069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50424/ Completed 302 Found in 23ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:29:43 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.5ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (8.4ms) Completed 200 OK in 15ms (Views: 12.2ms | ActiveRecord: 1.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:29:43.461389"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$yKvqM59stcu/yiVgCWpJmefjSOXxDXo3AprbAp.jSg3XQXKgweB3y"], ["updated_at", "2014-05-08 02:29:43.461389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:29:43.476762"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:29:43.476762"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:29:43.480834"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$kGMZg6fPKRvbGeZrwii7fOijauIeRIkMUP62uHuFQlRZ7gD805IRW"], ["updated_at", "2014-05-08 02:29:43.480834"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:29:43.482244"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:29:43.482244"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:29:43.486277"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$OZNZ47HqeelgNFnPTnGeBuD0UBp4.wJtrr9rLQKd1VCWptlv8hH0S"], ["updated_at", "2014-05-08 02:29:43.486277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:29:43.488703"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:29:43.488703"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:29:43 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.0ms) Completed 200 OK in 101ms (Views: 96.9ms | ActiveRecord: 0.4ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:29:43 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:29:44 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction Completed 401 Unauthorized in 32127ms ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.6ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:31:32.670113"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$NJWN8DN8gQpKsi9sWQysBeC51FXl1.1QN9nPhmk83S.kIbMX51h3C"], ["updated_at", "2014-05-08 02:31:32.670113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:31:35 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (37.8ms) Completed 200 OK in 151ms (Views: 135.9ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:31:35 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:31:35 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:31:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:31:35.503022"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:31:35.503022"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:31:35.503993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50439/ Completed 302 Found in 20ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:31:35 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.6ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.1ms) Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 1.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:31:35.573365"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$x.FOxT04QJZ9dZLGRFouYe5wRPQ3DaoCzwI2mbVMY8kmID8jqaNna"], ["updated_at", "2014-05-08 02:31:35.573365"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:31:35.588780"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:31:35.588780"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:31:35.592640"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$YbRaN.0GzE61tfBVEWccbOisV.3szY4k7vQPp2aNOYV42b1kDhzti"], ["updated_at", "2014-05-08 02:31:35.592640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:31:35.593789"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:31:35.593789"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:31:35.596879"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$JVJWkYKk5q9nAHWZ0QEbXOcWn/xGRqd8N1rIyyHEyHCgGG91JQJ2q"], ["updated_at", "2014-05-08 02:31:35.596879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:31:35.598102"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:31:35.598102"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:31:35 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.1ms) Completed 200 OK in 91ms (Views: 87.2ms | ActiveRecord: 0.4ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:31:35 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:31:36 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (1.7ms) rollback transaction Completed 401 Unauthorized in 32078ms ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.6ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:32:12.744089"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$FHLSfRUoXX49d3wO8TbAoO0.uG34ydKAeQr.jrMrsJR/cwYGFUdSu"], ["updated_at", "2014-05-08 02:32:12.744089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:32:15 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (40.0ms) Completed 200 OK in 152ms (Views: 136.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:32:15 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:32:15 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:32:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:32:15.385163"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:32:15.385163"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:32:15.386363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50452/ Completed 302 Found in 18ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:32:15 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.6ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.3ms) Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 1.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:32:15.455662"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$J52wIUfvBIrfGBqb/dZukO.TRjTaj/gbNOdrg16A/JBuI22i4ONBS"], ["updated_at", "2014-05-08 02:32:15.455662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:32:15.469529"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:32:15.469529"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:32:15.473343"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$9DxOzGRXHXettrhBNlQ4luAKCP/Yin9yU7ExHy0jDdxj9fvsYMt52"], ["updated_at", "2014-05-08 02:32:15.473343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:32:15.474523"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:32:15.474523"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:32:15.477657"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$HEi0ewgQuufanZmTYWMrreyt4ke/6P/4SxWZSuBaItn4IfIbApu7W"], ["updated_at", "2014-05-08 02:32:15.477657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:32:15.478777"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:32:15.478777"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:32:15 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.1ms) Completed 200 OK in 88ms (Views: 84.6ms | ActiveRecord: 0.4ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:32:15 -0500 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:32:16 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50452/posts Completed 500 Internal Server Error in 10265ms  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.4ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:36:19.920283"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$jIISehGSLuBLvWs7Ka5qiO6o2uU43gt7yfeI3a1HjT/Qe3dixbwoW"], ["updated_at", "2014-05-08 02:36:19.920283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:36:19 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (40.7ms) Completed 200 OK in 98ms (Views: 83.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:36:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:36:20.063309"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:36:20.063309"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:36:20.064253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 22ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:36:20 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.9ms) Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 1.3ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:36:20.096091"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$vi5FOFnPWg0Fb.qqfzxBwe3KgWsTb2GJKuiTcZsWmD6JPU.91pqx."], ["updated_at", "2014-05-08 02:36:20.096091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:36:20.111209"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "f"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:36:20.111209"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-07 21:36:20 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (7.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (10.2ms) Completed 200 OK in 139ms (Views: 135.3ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:36:20 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #1. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-08 02:36:20.265181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 21:36:20 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.5ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:36:20.284057"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$KUXFlDqTYtXhWT4y7JOaY.vgs/SiobuQSTcgHyoajjbuaKKDvaxRq"], ["updated_at", "2014-05-08 02:36:20.284057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:36:20 -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 (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/storytime/application (2.4ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:36:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:36:20.299809"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:36:20.299809"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:36:20.300204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:36:20 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:36:20.313829"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$VEzRxIZHsxgAsjr81bWmZOYj.1SMKDge6G7dhrNBHELdsoR56pseK"], ["updated_at", "2014-05-08 02:36:20.313829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:36:20.315353"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:36:20.315353"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:36:20.319890"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$TDaQWpkZbOz13xhuIhvwaeqJHrHa.zDtPNLfWpBAz.xSY5o7BR4m6"], ["updated_at", "2014-05-08 02:36:20.319890"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:36:20.321152"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:36:20.321152"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:36:20.325615"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$.V3MZ9Q8GgyNltTuxxINku9VBbzxrrUEu2h0Y97AiXHDwJiXmBKpm"], ["updated_at", "2014-05-08 02:36:20.325615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:36:20.327216"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-08 02:36:20.327216"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:36:20 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.2ms) Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.4ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:36:20.378493"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$TVKyleB5lI1iJ7w8UDHMbu4n6IZXKaUskNys6JcHIPrSyv04aKjbS"], ["updated_at", "2014-05-08 02:36:20.378493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:36:22 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:36:22 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:36:22 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:36:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:36:23.071331"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:36:23.071331"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:36:23.072474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50518/ Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:36:23 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:36:23.120704"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$13oKP4RoFMLYZt4bgGgppOX0ULClT27TWaOtVXNveWPSToo.vPaBi"], ["updated_at", "2014-05-08 02:36:23.120704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:36:23.122584"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-08 02:36:23.122584"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:36:23.126335"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$.6BiCVrvd6cwf99R.mtZ7eAZ8b2HJswydhTAG7anlYyapk5rbRJWW"], ["updated_at", "2014-05-08 02:36:23.126335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:36:23.127560"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-08 02:36:23.127560"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:36:23.130589"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$Xocm3cI4QbFX/.5BmsRhAuE5YmjI6g4CIsbNzaVTc4RwUDjCoroIK"], ["updated_at", "2014-05-08 02:36:23.130589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:36:23.131671"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-08 02:36:23.131671"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:36:23 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.3ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:36:23 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:36:24 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50518/posts Completed 500 Internal Server Error in 4875ms  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:37:06.165876"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$FmHSoCH1P2iK/D5AGXArCujfyCsL5a1AH9Ty7cyS2vZuj1zfNHfz."], ["updated_at", "2014-05-08 02:37:06.165876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:37:06 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.4ms) Completed 200 OK in 69ms (Views: 56.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:37:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:37:06.270805"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:37:06.270805"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:37:06.271769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:37:06 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.5ms) Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:37:06.299965"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$USLJWP7D5QkV7QFwnupEGuQaFPi0.zV7iiFX5rGoGp0gRuyGHv9Qq"], ["updated_at", "2014-05-08 02:37:06.299965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:37:06.311168"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:37:06.311168"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:37:06.314698"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$j6Yba.BHxS9P30m.45Z4..1cb6Yoj9lg6kGWenxmNV0EfCOMxuBM."], ["updated_at", "2014-05-08 02:37:06.314698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:37:06.315856"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:37:06.315856"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:37:06.318890"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$jZhgcgkBtumuWiBrqxOcLeAecAa0pbMXAnPCs2tU4ySn1tAeV3JyS"], ["updated_at", "2014-05-08 02:37:06.318890"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:37:06.319945"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:37:06.319945"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:37:06 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (4.6ms) Completed 200 OK in 124ms (Views: 121.1ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:37:06.488148"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$3wCd3uBNhIFEItI8Sd.DfeI7.lQVgELUCPAxR5hwU7tFuef7PecWW"], ["updated_at", "2014-05-08 02:37:06.488148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:37:06 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.6ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:37:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:37:06.501991"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:37:06.501991"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:37:06.502350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:37:06 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-07 21:37:06 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (7.1ms) Completed 200 OK in 23ms (Views: 10.7ms | ActiveRecord: 0.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:37:06 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-08 02:37:06.542827"], ["excerpt", ""], ["title", "The Story"], ["updated_at", "2014-05-08 02:37:06.542827"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 21:37:06 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.4ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:37:06.557805"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$oPmsfDOl/WjkAanOPfPkb.QZZBRPF1rn2Y0WaMKS54Sbh/UwVMiju"], ["updated_at", "2014-05-08 02:37:06.557805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:37:06 -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 (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/storytime/application (2.5ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:37:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:37:06.574107"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:37:06.574107"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:37:06.574519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:37:06 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:37:06.586464"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$5lOIBtc3exFW1qpHTP0YAO8YR9.KZ39Be7riONdwmqQLK4SlGSZt6"], ["updated_at", "2014-05-08 02:37:06.586464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:37:06.587884"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "f"], ["title", "Post #4"], ["updated_at", "2014-05-08 02:37:06.587884"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-07 21:37:06 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (4.0ms) Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:37:06 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #4. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-08 02:37:06.608163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 21:37:06 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:37:06.622732"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$V7kO9PQmEuJ5q1LVpS66o.mC0/xirUomIpJ7cFKou4kzv/W8/qEO."], ["updated_at", "2014-05-08 02:37:06.622732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:37:08 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.6ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:37:08 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:37:08 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:37:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:37:08.842636"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:37:08.842636"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:37:08.843663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50532/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:37:08 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:37:08.892535"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$J1aSz1M7NOWFvwR.xktvpOpNvh0EU1/4txqIn4c.B8bq.1F0G48U6"], ["updated_at", "2014-05-08 02:37:08.892535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:37:08.893991"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-08 02:37:08.893991"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:37:08.897152"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$Vwb6M57Gmv.56jmGKxv1g.pzWXy1TG.h/ioxI10.JHeeE2qYthmjO"], ["updated_at", "2014-05-08 02:37:08.897152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:37:08.898259"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-08 02:37:08.898259"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:37:08.901228"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$9MfUCxXwkoZuBN0SJhDfQOuTqHvDEQCf5svgRnZySoKqGiFmjhlNO"], ["updated_at", "2014-05-08 02:37:08.901228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:37:08.902284"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-08 02:37:08.902284"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:37:08 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:37:08 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:37:09 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50532/posts Completed 500 Internal Server Error in 4ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:37:45.549331"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$XZarfaGnD8Z3NBiB.HD/iOK3kqYSDrYuDWr9Lb0MgrP6OpaemYzIe"], ["updated_at", "2014-05-08 02:37:45.549331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:37:47 -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/storytime/application (24.4ms) Completed 200 OK in 409ms (Views: 395.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:37:48 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:37:48 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:37:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:37:48.213922"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:37:48.213922"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:37:48.215379"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50545/ Completed 302 Found in 19ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:37:48 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.5ms) Completed 200 OK in 15ms (Views: 13.3ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:37:48.305233"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$nq0iSYekuZeV/C/6OUt7TejxWMLBZ2kvwfY5o50Tsz4sp2zCbhQpG"], ["updated_at", "2014-05-08 02:37:48.305233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:37:48.321888"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:37:48.321888"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:37:48.326311"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$TOtawtTXI1NFGpIhVaZEqeNTI0a2PTGmtQLuyvSmPpX6zgE3fZzB6"], ["updated_at", "2014-05-08 02:37:48.326311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:37:48.327835"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:37:48.327835"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:37:48.331396"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$A3tiYc8ITPn0G4Jxu6U/B.TefpbkUFzm7T1epcLnaN9bMGYagOIje"], ["updated_at", "2014-05-08 02:37:48.331396"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:37:48.332870"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:37:48.332870"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:37:48 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.3ms) Completed 200 OK in 80ms (Views: 76.9ms | ActiveRecord: 0.4ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:37:48 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:37:49 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50545/posts Completed 500 Internal Server Error in 5ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:38:11.188692"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$VLk9X57IXlIUw85COqqJZe4ufuyX..RKkLg8W8MR4111XY.7OVj.y"], ["updated_at", "2014-05-08 02:38:11.188692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:38:13 -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/storytime/application (23.4ms) Completed 200 OK in 316ms (Views: 303.0ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:38:13 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:38:13 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:38:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:38:13.711313"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:38:13.711313"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:38:13.712484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50554/ Completed 302 Found in 17ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:38:13 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (8.9ms) Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:38:13.793665"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$OCFAaBd6H8EwcdPCQi3E2euO3PGv44FbMVsSYbunl/VXcxdjlIDIu"], ["updated_at", "2014-05-08 02:38:13.793665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:38:13.808651"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:38:13.808651"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:38:13.813029"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$nhyJgHyqj0OFaKwRmghz5.8Vm9IAxR3704WXQg6utbBrz8.2wL9fS"], ["updated_at", "2014-05-08 02:38:13.813029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:38:13.814420"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:38:13.814420"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:38:13.818128"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$meQG/zt4O8DJbS0R6/qt8.8J37wd30F1jIOhQ20OKV81hrPK3xRCO"], ["updated_at", "2014-05-08 02:38:13.818128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:38:13.819480"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:38:13.819480"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:38:13 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.4ms) Completed 200 OK in 79ms (Views: 75.7ms | ActiveRecord: 0.4ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:38:13 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:38:14 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50554/posts Completed 500 Internal Server Error in 4ms  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:38:54.913498"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$5ZCZ2ifTRmcd7B5X745ZHuckn7I7CSRcs33CjOKQmxTphSWdo4pR."], ["updated_at", "2014-05-08 02:38:54.913498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:38:57 -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/storytime/application (23.7ms) Completed 200 OK in 131ms (Views: 115.6ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:38:57 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:38:57 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:38:57 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.8ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:38:57.298861"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:38:57.298861"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:38:57.299858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50563/ Completed 302 Found in 18ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:38:57 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.7ms) Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:38:57.365348"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$/dyqxNdwyagryi9Xg10cE.SG2EMfCXjJiuLRKoo0b2UPUN4/NX9uy"], ["updated_at", "2014-05-08 02:38:57.365348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:38:57.376108"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:38:57.376108"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:38:57.380004"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$gvFfeP5WKeKg.o3VUPZQWOlJT/w7AvIjvnTSZCknldTGqIJ4d5XzS"], ["updated_at", "2014-05-08 02:38:57.380004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:38:57.381320"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:38:57.381320"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:38:57.384684"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$9ZPdMDLsm3zEnGlI6sSJOeA8iBe1phl2vMdIRCWi884RI0nwX2252"], ["updated_at", "2014-05-08 02:38:57.384684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:38:57.385993"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:38:57.385993"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:38:57 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.2ms) Completed 200 OK in 79ms (Views: 75.7ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:38:57 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:38:58 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50563/posts Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started DELETE "/posts" for 127.0.0.1 at 2014-05-07 21:38:58 -0500  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:40:16.640275"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$TLdwr5rt.Jm6rayvNtJBjOWSp/QpyursdR7PgVrWoNbOlXFXlRDIa"], ["updated_at", "2014-05-08 02:40:16.640275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:40:18 -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 (3.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (43.5ms) Completed 200 OK in 167ms (Views: 154.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:40:19 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:40:19 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:40:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:40:19.306960"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:40:19.306960"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:40:19.308011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50586/ Completed 302 Found in 16ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:40:19 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.8ms) Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:40:19.378018"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$1P3TgVX9oaLaJgXaGIaLTeQpNR2KVP7LYghaJWwoM.eS07zbK0mD6"], ["updated_at", "2014-05-08 02:40:19.378018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:40:19.390375"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:40:19.390375"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:40:19.394326"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$p2xl.uqzZNDmS.rFXzZVwuqLOuoi4A2T2Pb1T.1X61w2LRZYGBCW."], ["updated_at", "2014-05-08 02:40:19.394326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:40:19.395675"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:40:19.395675"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:40:19.399832"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$Bk0JJHGuj3EDtpwY5Qzk1.AAbmZGFUadPDgoaEQVwNG6lAzRXw2r."], ["updated_at", "2014-05-08 02:40:19.399832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:40:19.401519"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:40:19.401519"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:40:19 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (7.2ms) Completed 200 OK in 95ms (Views: 91.9ms | ActiveRecord: 0.5ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:40:19 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:40:20 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50586/posts Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started DELETE "/posts" for 127.0.0.1 at 2014-05-07 21:40:20 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.1ms) SELECT COUNT(*) FROM "storytime_posts"  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:42:59.368865"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$TehUMjpAdP8UjddTX4lPteoo2SjzMooe.U0Lv/ENKhamrCLBuVU9m"], ["updated_at", "2014-05-08 02:42:59.368865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:43:01 -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/storytime/application (26.9ms) Completed 200 OK in 76ms (Views: 63.9ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:43:01 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:43:01 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:43:02 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:43:02.118289"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:43:02.118289"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:43:02.119303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50617/ Completed 302 Found in 16ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:43:02 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.1ms) Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:43:02.187861"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$ZQd/YdhnMIgxBN7Y01Sxm.o7Xzqte8UqLR6P7fchJs7BObD2N4qN6"], ["updated_at", "2014-05-08 02:43:02.187861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:43:02.199030"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:43:02.199030"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:43:02.202914"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$oRPfj7q7nTjpy7E8KhRQNuyQ2WPgk8jbHTyS5o4g3glBQf4uEjpkm"], ["updated_at", "2014-05-08 02:43:02.202914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:43:02.204236"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:43:02.204236"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:43:02.207707"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$EvFoU/O6Gx1.tTalC3w7zO78dMIaZo8VzyyOI3JgWmX7T/N9o6yAu"], ["updated_at", "2014-05-08 02:43:02.207707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:43:02.208971"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:43:02.208971"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:43:02 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 indexing Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.0ms) Completed 200 OK in 101ms (Views: 96.9ms | ActiveRecord: 0.5ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:43:02 -0500 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:43:03 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] destroying  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50617/posts Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started DELETE "/posts" for 127.0.0.1 at 2014-05-07 21:43:03 -0500  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:43:45.248184"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$VVxZP/Wab/wPMRYZen9EsuuCPxcLej2BsdkB144ae0w4jZxLzby4q"], ["updated_at", "2014-05-08 02:43:45.248184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:43:47 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (28.5ms) Completed 200 OK in 81ms (Views: 67.0ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:43:47 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:43:47 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:43:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:43:47.618705"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:43:47.618705"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:43:47.619699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50632/ Completed 302 Found in 16ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:43:47 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.0ms) Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:43:47.685118"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$El/egCvi6nTPruVZRe9bE.L7Da8TUPTsjeKFFWGrLXPA6Y9MsY7Gu"], ["updated_at", "2014-05-08 02:43:47.685118"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:43:47.695630"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:43:47.695630"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:43:47.700097"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$yoJJVj9KU4yqQdfpQGjN3uS6bbeng4wKjmyiAytlVJ/F33GjkehVO"], ["updated_at", "2014-05-08 02:43:47.700097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:43:47.701932"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:43:47.701932"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:43:47.705868"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$OOl88dvndpZq4MR/TXF6m.YzTB8SoLnXRP6.qIl2hhzE1h8Rzs/52"], ["updated_at", "2014-05-08 02:43:47.705868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:43:47.707755"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:43:47.707755"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:43:47 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 indexing Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (3.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (7.7ms) Completed 200 OK in 83ms (Views: 79.2ms | ActiveRecord: 0.5ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:43:47 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:43:48 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.4ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] destroying  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 41ms  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:43:59.366047"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$3npmZNRwOgibiRRlf.Gwbubg6erisFl3j3MlhC1Pm6F7d./3cwdPC"], ["updated_at", "2014-05-08 02:43:59.366047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:44:01 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.9ms) Completed 200 OK in 75ms (Views: 62.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:44:01 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:44:01 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:44:01 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.8ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:44:01.777085"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:44:01.777085"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:44:01.778109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50640/ Completed 302 Found in 16ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:44:01 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.1ms) Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:44:01.841598"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$TkkUfodobGXpLyhuVgUNyeBQc7aL1qfgtrRzLceIH.hWGW7I6kcIC"], ["updated_at", "2014-05-08 02:44:01.841598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:44:01.852042"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:44:01.852042"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:44:01.855969"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$gk2gpyBj53FofwMT4PhNn.Cx07UkzfKtyuHmkFCycmgkNcoC4cpMy"], ["updated_at", "2014-05-08 02:44:01.855969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:44:01.857282"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:44:01.857282"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:44:01.860719"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$OQERGA6zlSebwGtLd6HKIeOEMopDmxPIWYAGLxRizq5l0K//j37rW"], ["updated_at", "2014-05-08 02:44:01.860719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:44:01.861987"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:44:01.861987"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:44:01 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.2ms) Completed 200 OK in 80ms (Views: 76.6ms | ActiveRecord: 0.4ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:44:01 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:44:02 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 32ms  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:44:12.924229"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$uinEGwczUcPTS2t57VXZG..7bIucIg5u/25DX3HooR8S/69Zhcc72"], ["updated_at", "2014-05-08 02:44:12.924229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:44:14 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (26.1ms) Completed 200 OK in 80ms (Views: 66.9ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:44:15 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:44:15 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:44:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:44:15.215483"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:44:15.215483"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:44:15.216591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50648/ Completed 302 Found in 16ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:44:15 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.2ms) Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:44:15.280421"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$uMfuPzhcypLKYuQntq58J.neXlGlYlfHrinBz9XxjG9Wj2tluLHAK"], ["updated_at", "2014-05-08 02:44:15.280421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:44:15.292163"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:44:15.292163"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:44:15.296504"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$I/cjNMtEpopBsA7oGOCmdOTEZQMoTHESA.NoMcXowg2usS29tsPka"], ["updated_at", "2014-05-08 02:44:15.296504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:44:15.297930"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:44:15.297930"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:44:15.301308"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$bclVWXVkg1JmA6NQYRR.ieglsh6gieTPvB4g2UkQXpZ0pdgSwiAb."], ["updated_at", "2014-05-08 02:44:15.301308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:44:15.302555"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:44:15.302555"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:44:15 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.1ms) Completed 200 OK in 79ms (Views: 76.1ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:44:15 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:44:16 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 31ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:46:33.700155"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$EMiBg20cz23M6zaGAeVtsel9.j5Op8jIGzcZYlw0UmikINQNYVLOq"], ["updated_at", "2014-05-08 02:46:33.700155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:46:36 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (27.9ms) Completed 200 OK in 83ms (Views: 69.6ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:46:36 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:46:36 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:46:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:46:36.684984"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:46:36.684984"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:46:36.686000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50671/ Completed 302 Found in 16ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:46:36 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.2ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:46:36.749219"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$vH32ofNOERIqwPHNokS0rernZZezRXr0s9Zky7j3JeAgy4hHqQK82"], ["updated_at", "2014-05-08 02:46:36.749219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:46:36.759594"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:46:36.759594"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:46:36.763828"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$Rw1eHEy5ds.IrZfOobUuCuw34uhk8g7LTCJ9a1JFGIqdEQd2Bofem"], ["updated_at", "2014-05-08 02:46:36.763828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:46:36.765204"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:46:36.765204"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:46:36.768720"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$2epPWzJ8JrdofQd86bRbBe5zYgn5fc.EKO8w8fF7Kt0mfc0al.tVa"], ["updated_at", "2014-05-08 02:46:36.768720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:46:36.770021"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:46:36.770021"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:46:36 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.7ms) Completed 200 OK in 88ms (Views: 85.2ms | ActiveRecord: 0.4ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:46:36 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:46:37 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 33ms  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:47:14.745576"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$7wIt/eld0/oc1RFPm/bB1etI1dexTaNg.7NdNPeP7WUB1cej9EMvu"], ["updated_at", "2014-05-08 02:47:14.745576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:47:17 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (27.6ms) Completed 200 OK in 79ms (Views: 65.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:47:17 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:47:17 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:47:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:47:17.594312"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:47:17.594312"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:47:17.595397"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50684/ Completed 302 Found in 17ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:47:17 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.2ms) Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:47:17.661613"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$/S2hLzLquDdgWidzPtM6CuEcyAh6PtongGZ/ahmj15Z84RqsQrd6W"], ["updated_at", "2014-05-08 02:47:17.661613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:47:17.673080"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:47:17.673080"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:47:17.677142"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$OC9tZ4fM8ifjKrit1btHb.L/NRs4YwjONP4.KfZWG7dKfBHETF8.W"], ["updated_at", "2014-05-08 02:47:17.677142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:47:17.678487"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:47:17.678487"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:47:17.681892"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$P/ZA07YXJFl4OzsOMUzROOIFUQwq5Qbn7gXAkUtjc/LPGDqP3.mFG"], ["updated_at", "2014-05-08 02:47:17.681892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:47:17.683179"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:47:17.683179"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:47:17 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.2ms) Completed 200 OK in 81ms (Views: 77.9ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:47:17 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:47:18 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 10ms (ActiveRecord: 0.6ms)  (2.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:47:35.900920"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$FItB2TUkP96xKwY/1IeZReiHGAlx9CGALATYbjfGi69KBTR1muNSu"], ["updated_at", "2014-05-08 02:47:35.900920"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:47:38 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.0ms) Completed 200 OK in 80ms (Views: 65.1ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:47:38 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:47:38 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:47:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:47:38.610483"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:47:38.610483"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:47:38.611617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50692/ Completed 302 Found in 16ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:47:38 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.5ms) Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:47:38.677706"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$0OmZazKVbpRSJCeKBHIHFORGQ4gCREgm/acXnaQa5asXyewkdjzcG"], ["updated_at", "2014-05-08 02:47:38.677706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:47:38.689859"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:47:38.689859"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:47:38.694411"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$dSqEyy78v0XMe7Np.nhsPu7/4hKJwi279v0gfaqUKgTyMkKCqrfN."], ["updated_at", "2014-05-08 02:47:38.694411"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:47:38.696126"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:47:38.696126"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:47:38.699711"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$gAX2kiX7sL23ULaWZENVi.eHKApfmoWlX/zaVx9g02UecI1HddW1m"], ["updated_at", "2014-05-08 02:47:38.699711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:47:38.701042"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:47:38.701042"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:47:38 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (3.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.9ms) Completed 200 OK in 105ms (Views: 102.0ms | ActiveRecord: 0.4ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:47:38 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:47:39 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 9ms (ActiveRecord: 0.6ms)  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:48:35.701047"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$qFrft0Yyc5U67dbEts38AOPiRPN6Z.5BrMsS7VMWFG3jQpQlrpqDa"], ["updated_at", "2014-05-08 02:48:35.701047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:48:37 -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/storytime/application (24.6ms) Completed 200 OK in 301ms (Views: 288.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:48:38 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:48:38 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:48:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:48:38.210856"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:48:38.210856"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:48:38.211990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50703/ Completed 302 Found in 23ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:48:38 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.6ms) Completed 200 OK in 15ms (Views: 13.2ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:48:38.291817"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$HZz/6qMSkFFQe6VCoF32uOcQXH/Rm.gvk1C8Ww1vWxZnkH1UQ9HIm"], ["updated_at", "2014-05-08 02:48:38.291817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:48:38.302221"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:48:38.302221"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:48:38.306048"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$Szx8zwP4SuaQVODoS.ALWuAOoBa/6WL37axbbT313ZFtzeilt8zNm"], ["updated_at", "2014-05-08 02:48:38.306048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:48:38.307382"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:48:38.307382"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:48:38.310779"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$MO8XBnYPAothkGytiSPklu2v2U8Xb8FL4PehOXBmq0czxlttH3212"], ["updated_at", "2014-05-08 02:48:38.310779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:48:38.312142"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:48:38.312142"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:48:38 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.1ms) Completed 200 OK in 79ms (Views: 75.8ms | ActiveRecord: 0.4ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:48:38 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:48:39 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.7ms)  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:50:45.169707"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$1jVatQ2NWOopJ7Ba2qeaMuk5ixNw9urZzhPfKHbPhZTq5fbnXaf5W"], ["updated_at", "2014-05-08 02:50:45.169707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:50:48 -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 (2.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (29.7ms) Completed 200 OK in 87ms (Views: 73.6ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:50:48 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:50:48 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:50:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:50:48.735177"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:50:48.735177"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:50:48.736688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50726/ Completed 302 Found in 18ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:50:48 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.9ms) Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:50:48.805009"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$QjyMt7j/lEPrbdkq6l3Ao./PCp0KRiY04BEGOYp8eN08YRxzKVgqm"], ["updated_at", "2014-05-08 02:50:48.805009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:50:48.816957"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:50:48.816957"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:50:48.821804"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$JV/S4ixDKb9.4DK4Dx.MV.lBJEmkyeW8PEaT9vIedhReQU1M/UZQS"], ["updated_at", "2014-05-08 02:50:48.821804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:50:48.823471"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:50:48.823471"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:50:48.827246"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$toXjYmJ/5nJytGGNQxN3UeZ.H9PfiptZ.hcYzZihOz52b6FKoVIfm"], ["updated_at", "2014-05-08 02:50:48.827246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:50:48.828674"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:50:48.828674"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:50:48 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.3ms) Completed 200 OK in 118ms (Views: 114.5ms | ActiveRecord: 0.4ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:50:48 -0500 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:50:50 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 14ms (ActiveRecord: 1.0ms) Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:51:25.564716"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Bx2CUeHAZ56jidFcmGyMzOUoo9p6x5r1UGnNzblr9llMfm5Y3f3ua"], ["updated_at", "2014-05-08 02:51:25.564716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:51:27 -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/storytime/application (24.8ms) Completed 200 OK in 294ms (Views: 281.3ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-07 21:51:27 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-07 21:51:27 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:51:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:51:28.126062"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:51:28.126062"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:51:28.127719"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50747/ Completed 302 Found in 24ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:51:28 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.4ms) Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:51:28.206060"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$xll7If2Kwt1RHHilOfCmuucKZAAn1qdB6XcJlBqUxjYitSnRLocMC"], ["updated_at", "2014-05-08 02:51:28.206060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:51:28.216572"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-08 02:51:28.216572"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:51:28.220562"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$gO4hDvHgMV48kKUnAOomhe/zPYZKAiOeZnJ8PTE6M/IZ0JE3836yW"], ["updated_at", "2014-05-08 02:51:28.220562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:51:28.221970"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-08 02:51:28.221970"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:51:28.225996"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$L9nsJNSaO.uHcCngZ5Z4Y.EFoYhN1Y.ur9Vij9GxxZAjf8aM3EwTm"], ["updated_at", "2014-05-08 02:51:28.225996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:51:28.227341"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-08 02:51:28.227341"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:51:28 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.6ms) Completed 200 OK in 82ms (Views: 78.9ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-07 21:51:28 -0500 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:51:29 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.5ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:51:29.299964"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$YvqOcycGImCWyjO37JutKOlp.07GbRsBNENMh7Yu0gN9NNSArm892"], ["updated_at", "2014-05-08 02:51:29.299964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:51:29 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.7ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:51:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:51:29.319433"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:51:29.319433"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:51:29.320404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:51:29 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:51:29.332946"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$pAHcFVfBiL/CVOUyVNtp5ejoutmeN.z18jbhcNFg1/xqD.BrJ2G3W"], ["updated_at", "2014-05-08 02:51:29.332946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:51:29.334725"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "f"], ["title", "Post #4"], ["updated_at", "2014-05-08 02:51:29.334725"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-07 21:51:29 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (7.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (10.6ms) Completed 200 OK in 20ms (Views: 16.4ms | ActiveRecord: 0.3ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-07 21:51:29 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>"Post #4. It was a dark and stormy night."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-08 02:51:29.371231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 21:51:29 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.7ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:51:29.405307"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$WoK0q1/nQP7RfsmcjXDHQ.LWooEL4K9iotuz6ISl44cezFPXnuNEa"], ["updated_at", "2014-05-08 02:51:29.405307"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:51:29 -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.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.3ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:51:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:51:29.423379"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:51:29.423379"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:51:29.423769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:51:29 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:51:29.437569"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$Z2GaWk82HVFzuEWnNaEWI.WGVsBo.ibmOIq9qn9yGzRkdOmMcMlga"], ["updated_at", "2014-05-08 02:51:29.437569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:51:29.439343"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-08 02:51:29.439343"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:51:29.443223"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$uQqkBy5oJW62PpPAHzfXSeLlts6O.HBrYin7PHYQwRIbIcbhE4Fgu"], ["updated_at", "2014-05-08 02:51:29.443223"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:51:29.444768"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-08 02:51:29.444768"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:51:29.448490"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$G.KYeqUgHgBndgSzECTjMOApzDQwCXNu0ZcYUMWePme7lNvMBt9H."], ["updated_at", "2014-05-08 02:51:29.448490"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-08 02:51:29.450081"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-08 02:51:29.450081"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:51:29 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.7ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-08 02:51:29.509050"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$A5nHE/qa2AiPeExFbpV27uVTSLg5fctdSyGFjzvI1fmvV1Ya/AQje"], ["updated_at", "2014-05-08 02:51:29.509050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:51:29 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.4ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-07 21:51:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-08 02:51:29.527988"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-08 02:51:29.527988"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-08 02:51:29.528386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-07 21:51:29 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.4ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-07 21:51:29 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (2.9ms) Completed 200 OK in 15ms (Views: 5.8ms | ActiveRecord: 0.2ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-07 21:51:29 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night...", "excerpt"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-08 02:51:29.563856"], ["excerpt", ""], ["title", "The Story"], ["updated_at", "2014-05-08 02:51:29.563856"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-07 21:51:29 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) 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) 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.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'  (0.9ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")  (0.9ms) CREATE TABLE "storytime_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "published" boolean, "created_at" datetime, "updated_at" datetime)  (1.1ms) CREATE INDEX "index_storytime_pages_on_user_id" ON "storytime_pages" ("user_id")  (2.5ms) DROP TABLE "storytime_posts"  (0.9ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published" boolean, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (2.2ms) DROP TABLE "storytime_users"  (1.6ms) CREATE TABLE "storytime_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.3ms) CREATE UNIQUE INDEX "index_storytime_users_on_email" ON "storytime_users" ("email")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_storytime_users_on_reset_password_token" ON "storytime_users" ("reset_password_token")  (0.1ms) SELECT version FROM "schema_migrations"  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140509191309')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140509150223') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 7ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:12.343576"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$kHDnnF4yh5ZTnRYjwokhiuejeMXpjafaKuql0y7g8d/tbUNcR1aLK"], ["updated_at", "2014-05-10 22:21:12.343576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 12ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:12.367094"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$zlYiBF/sfCFoZ6o/azSDYuT7RymdfxMynkX2HpDZhMmHfqD56bHpq"], ["updated_at", "2014-05-10 22:21:12.367094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:12.382010"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-10 22:21:12.382010"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:12.387348"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$eFpdZDXBEKKB2WxR0wbZiuNbUuIezgvtrh8vjA9CDEiA6ibP0XeUK"], ["updated_at", "2014-05-10 22:21:12.387348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:12.388708"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-10 22:21:12.388708"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:12.392227"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$fg1fnbScPDkprTGrYnVMeu4.lMv0TW6YjGwVviB.bEpRicwfxBdAG"], ["updated_at", "2014-05-10 22:21:12.392227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:12.393524"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-10 22:21:12.393524"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-10 17:21:12 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (10.1ms) Completed 200 OK in 423ms (Views: 421.7ms | ActiveRecord: 0.2ms) Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:12.856222"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$N437v31HomLVnHvlx9RvyOI9Pp3lZgIquTlQ4Ud0Xo4ldK9WGmKvi"], ["updated_at", "2014-05-10 22:21:12.856222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:12.857942"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-10 22:21:12.857942"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-10 17:21:12 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:12.874710"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$lePqiuaKoMgwCaLQ.IlkaOW3fssW3r8ZYyCbn4n5nFh6/Fa1MNExO"], ["updated_at", "2014-05-10 22:21:12.874710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.5ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:12.981566"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-10 22:21:12.981566"], ["user_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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:12.999076"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-1" for 127.0.0.1 at 2014-05-10 17:21:13 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-1"} Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-1' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:13.022253"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$NUflwDDT5wZ8Y.lxHx5gGuvA4haqDoRnerOQDzCfqbhDXFCBghXbm"], ["updated_at", "2014-05-10 22:21:13.022253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:13 -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.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 36ms (Views: 32.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:21:13.079177"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:21:13.079177"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:21:13.080230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:21:13 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:13.098620"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$ZWPw7cF2H97KCesL7.Mv2eUiyY.UD8YfgitHg.gi3nNGw7XiytOzS"], ["updated_at", "2014-05-10 22:21:13.098620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:13.100049"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-10 22:21:13.100049"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:13.104013"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$3ESWgFYSGht276Xkmz7ffO2ZcxG7M2RQJKg7wODI2pSTQYCP/q19C"], ["updated_at", "2014-05-10 22:21:13.104013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:13.105172"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-10 22:21:13.105172"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:13.108127"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$VPIuqQJeO8sD3Jzv9MnjO.38wDNJ1r6cityCps9AUR1Brew1Q7Ks."], ["updated_at", "2014-05-10 22:21:13.108127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:13.109190"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-10 22:21:13.109190"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-10 17:21:13 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 14.7ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:13.234337"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$3Km4BjcsEtd6Dy3H776pM.hLwl4UzE0X3sh3ZgWGWj1J5aPINBy8S"], ["updated_at", "2014-05-10 22:21:13.234337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:13 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:21:13.250470"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:21:13.250470"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:21:13.250922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:21:13 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:13.262368"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$FDDy7vytKKqRm27GfxbusOWegPEAqsRYVqsoYHNPw3RoCnLfXNqPe"], ["updated_at", "2014-05-10 22:21:13.262368"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:13.264410"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "f"], ["title", "Post #8"], ["updated_at", "2014-05-10 22:21:13.264410"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-10 17:21:13 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (23.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 32ms (Views: 30.4ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-10 17:21:13 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #8. It was a dark and stormy night.", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-10 22:21:13.308320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-10 17:21:13 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:13.324201"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$F1m9v9aC21j23.x2yy6EZebwBLTsVopHBKogTefhS3hDhXYLmgiBu"], ["updated_at", "2014-05-10 22:21:13.324201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:13 -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 (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:21:13.342205"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:21:13.342205"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:21:13.342546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:21:13 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-10 17:21:13 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 11.0ms | ActiveRecord: 0.2ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-10 17:21:13 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-10 22:21:13.379131"], ["excerpt", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-10 22:21:13.379131"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-10 17:21:13 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:13.392437"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$ufyEIdh4BS7kQqRrfP9HTuXSJwIjhFn5cYK6wYUcfkhqrzNiQcgFO"], ["updated_at", "2014-05-10 22:21:13.392437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:16 -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 (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-10 17:21:16 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-10 17:21:16 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:21:16.701009"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:21:16.701009"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:21:16.702124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:54964/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:21:16 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:16.762329"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$JyDPdcAJ2KxeRPUXvP06Oe8tinrXIYSZUIiS705oxcekgAYvIDCE2"], ["updated_at", "2014-05-10 22:21:16.762329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:16.763804"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-10 22:21:16.763804"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:16.767146"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$9gABYf5ZZOo2L/Vsd61/6O65pesYFDz5EgTNqOD7Emmgh6g.dwfLq"], ["updated_at", "2014-05-10 22:21:16.767146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:16.768342"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-10 22:21:16.768342"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:16.771622"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$WXpXaoVaol7wArMhku1.beHDfomtWdWTVIBJXLkJ5ZkrX6qC/6SQ2"], ["updated_at", "2014-05-10 22:21:16.771622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:16.772774"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "t"], ["title", "Post #11"], ["updated_at", "2014-05-10 22:21:16.772774"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-10 17:21:16 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-10 17:21:16 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-10 17:21:17 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 6ms (ActiveRecord: 0.4ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:17.788257"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$428JKWVsCpYBGpyuFn7CiOVB0tegycuBu0FsgP4fp.YVA/HDiugbO"], ["updated_at", "2014-05-10 22:21:17.788257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:17.791705"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-10 22:21:17.791705"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:17.795444"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:17.801695"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$59kNv17b.NFi1KwF9upeEOvGQ/owM1BSJcqS3PeMOjb39BoKKMq9G"], ["updated_at", "2014-05-10 22:21:17.801695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:17 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user19@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:21:17.819985"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:21:17.819985"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:21:17.821069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:21:17 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.3ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:17.836875"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$lkb/7fCnr5GIDnMkYdx5aOI7r0lC8ytAFZMOSFGwf/IppAP8wo.1O"], ["updated_at", "2014-05-10 22:21:17.836875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:17.839864"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-10 22:21:17.839864"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-3' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:17.842162"], ["slug", "page-3"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:17.845444"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$C6.RLe9dOh3vZ5rcQtO7w.KYxPr2ThT1KO8iK51vVWL94iC9BSusu"], ["updated_at", "2014-05-10 22:21:17.845444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:17.848049"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-10 22:21:17.848049"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-4' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:17.850328"], ["slug", "page-4"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:17.853755"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$mA33S0sRpfJxAwVjW3m8Ru3YXeA8DQDW2oYx8zPoLQ79oBsW0B2b2"], ["updated_at", "2014-05-10 22:21:17.853755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:17.856343"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-10 22:21:17.856343"], ["user_id", 4]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-5' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:17.858647"], ["slug", "page-5"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:21:17 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (3.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 14.1ms | ActiveRecord: 0.4ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:17.980282"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$EdDSFbKghl0gPQJ0rWUJI.QtVkNRoSpAKQe4QjrWCqqONgseTLrNy"], ["updated_at", "2014-05-10 22:21:17.980282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:17 -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 (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:21:17.995049"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:21:17.995049"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:21:17.995378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:21:17 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:18.009166"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$z0dcMnt59.FWALna.3xLVe80Vjsda6JBxGBwq2cCU0p7yU.NVgJJW"], ["updated_at", "2014-05-10 22:21:18.009166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:18.012455"], ["published", "f"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-10 22:21:18.012455"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-6' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:18.014964"], ["slug", "page-6"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-6/edit" for 127.0.0.1 at 2014-05-10 17:21:18 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-6"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-6' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/pages/page-6" for 127.0.0.1 at 2014-05-10 17:21:18 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Page", "id"=>"page-6"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-6' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "content" = ?, "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["content", "It was a dark and stormy night..."], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-10 22:21:18.043545"]] FriendlyId::Slug Load (0.0ms) 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:18.045938"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/the-story Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET "/the-story" for 127.0.0.1 at 2014-05-10 17:21:18 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"the-story"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'the-story' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:18.068554"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$a0GUOK/bDim8JfhTxQgwVerGSqCBmfG4S2MEqFYa.i56Ox77H/uzu"], ["updated_at", "2014-05-10 22:21:18.068554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:18 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user25@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:21:18.086203"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:21:18.086203"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:21:18.086548"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:21:18 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-10 17:21:18 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 9.0ms | ActiveRecord: 0.2ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:21:18 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Page"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-10 22:21:18.123088"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-10 22:21:18.123088"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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.0ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:18.125324"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:21:18 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (1.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:18.158336"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$QNW/0Zmb38MnXiECa7bciOol9bduwsFT1xZXATo1q2U9Q8UP8xRAS"], ["updated_at", "2014-05-10 22:21:18.158336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:18 -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 (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:21:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user26@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:21:18.268265"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:21:18.268265"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:21:18.269095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:54964/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:21:18 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:18.329737"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$lW7vSCy06FAx.fhbkzuy8.F8ARNpxgycHCmAjix/lOqAjX1l73PFi"], ["updated_at", "2014-05-10 22:21:18.329737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:18.332935"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-10 22:21:18.332935"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-7' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:18.335535"], ["slug", "page-7"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:18.339024"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$nRSBuo3gMUUTN8MuYqIqOeWD13JRWBxOIiuBr0KBnq3FfsIShvM6S"], ["updated_at", "2014-05-10 22:21:18.339024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-8' 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" = 'page-8') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:18.341510"], ["published", "t"], ["slug", "page-8"], ["title", "Page #8"], ["updated_at", "2014-05-10 22:21:18.341510"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-8' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:18.343546"], ["slug", "page-8"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:18.347334"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$FkeW020AFwpcOSZbDbbbtu.K0KNMcKVirpMg1cinkwS7cXe48POUW"], ["updated_at", "2014-05-10 22:21:18.347334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-9' 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" = 'page-9') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:21:18.350037"], ["published", "t"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-10 22:21:18.350037"], ["user_id", 4]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-9' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:21:18.352142"], ["slug", "page-9"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:21:18 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (3.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.3ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-7" for 127.0.0.1 at 2014-05-10 17:21:19 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-7"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-7' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_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::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.8ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:13.569282"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$6UtbYmg83JfZYe.34iTu6eVLsP6IEvU6VNoNodfnjDuqvTMe97q2S"], ["updated_at", "2014-05-10 22:24:13.569282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (1.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:13.705720"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-10 22:24:13.705720"], ["user_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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:13.723938"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:13.732196"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$ybQCMq/f8Cb87EXx603Wle4CKeTRWGYR01wEaRpSR4AXBjYw8dwTO"], ["updated_at", "2014-05-10 22:24:13.732196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:13.735453"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-10 22:24:13.735453"], ["user_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"]] 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:13.738557"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-2" for 127.0.0.1 at 2014-05-10 17:24:13 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-2"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-2' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (8.1ms) Completed 200 OK in 114ms (Views: 112.7ms | ActiveRecord: 0.1ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 8ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:13.902551"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$QpIW5m05nrqR5KL5dwM5aOetzp/0wTR50gYiEuecQgl9g8FpIDlze"], ["updated_at", "2014-05-10 22:24:13.902551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:13.917050"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$dNAXUA.l5OAFzphkr0CD2Os/xOPoEG8ZfHAP/lhlSHi6bhSLzndP2"], ["updated_at", "2014-05-10 22:24:13.917050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:16 -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.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 28ms (Views: 25.5ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-10 17:24:16 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-10 17:24:16 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:24:16.736716"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:24:16.736716"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:24:16.738091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:55068/ Completed 302 Found in 17ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:24:16 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:16.831396"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$DmVv7sK8lfLoHb.VzB/za.24hm7NbAZQKoxZ.rVf5KMd7CEuJz4Fy"], ["updated_at", "2014-05-10 22:24:16.831396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:16.837150"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-10 22:24:16.837150"], ["user_id", 2]] 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"]] 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" = 'page-3' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (1.0ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:16.840364"], ["slug", "page-3"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:16.846423"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$ZQCtyPQsHCwiNh.nrQQjMO8EG.MI76wtuks.hrLXM8GDoSUsMM1vi"], ["updated_at", "2014-05-10 22:24:16.846423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:16.850339"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-10 22:24:16.850339"], ["user_id", 3]] 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::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" = 'page-4' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:16.853118"], ["slug", "page-4"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:16.858679"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$dBvf3BQtry9cc947RTNhrOWvQFRDeHFKtlanna1Y2nUZZhQQ0kT22"], ["updated_at", "2014-05-10 22:24:16.858679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:16.862779"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-10 22:24:16.862779"], ["user_id", 4]] 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::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" = 'page-5' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:16.866200"], ["slug", "page-5"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:24:16 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (3.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 16.2ms | ActiveRecord: 0.4ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-10 17:24:16 -0500 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-3" for 127.0.0.1 at 2014-05-10 17:24:17 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-3"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-3' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_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 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 10ms (ActiveRecord: 0.9ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:17.946910"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$t775Rkl4o4zXQvmnkICFvOwkecBp9WbE6nQfQJE7cSBxwHWUIb9wy"], ["updated_at", "2014-05-10 22:24:17.946910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:17 -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 (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:24:17.971139"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:24:17.971139"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:24:17.972228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:24:17 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:17.984667"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$xzQn6Dnq8t7ZiXaqgZPJMud81W9mAs4VaEF1BeAPayXr1Alw15DT6"], ["updated_at", "2014-05-10 22:24:17.984667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:17.987637"], ["published", "f"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-10 22:24:17.987637"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-6' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:17.990097"], ["slug", "page-6"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-6/edit" for 127.0.0.1 at 2014-05-10 17:24:17 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-6"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-6' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (16.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/pages/page-6" for 127.0.0.1 at 2014-05-10 17:24:18 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Page", "id"=>"page-6"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-6' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "content" = ?, "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["content", "It was a dark and stormy night..."], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-10 22:24:18.026654"]] FriendlyId::Slug Load (0.0ms) 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.029320"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/the-story Completed 302 Found in 10ms (ActiveRecord: 0.8ms) Started GET "/the-story" for 127.0.0.1 at 2014-05-10 17:24:18 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"the-story"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'the-story' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.054724"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$p4sYM3jY0GQBysV7GpqFhOYzbBWNGKVkFmA6airXs5lomRF7tAqMe"], ["updated_at", "2014-05-10 22:24:18.054724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:18 -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 (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:24:18.072829"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:24:18.072829"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:24:18.073278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:24:18 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-10 17:24:18 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 8.5ms | ActiveRecord: 0.3ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:24:18 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Page"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-10 22:24:18.111469"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-10 22:24:18.111469"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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.0ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.114148"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages Completed 302 Found in 10ms (ActiveRecord: 1.0ms) Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:24:18 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (1.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.149228"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$yZjEXcLdlUq75x4zM/AJE.F1ln1amReTh3qWso2T.bd0r4QrtklHi"], ["updated_at", "2014-05-10 22:24:18.149228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:18 -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 (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:24:18.164793"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:24:18.164793"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:24:18.165499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:24:18 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.182117"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$EK1aaSAX825aev6KrIOJfep/knAA5q7aNqAXiOx2yn6bO/NIkTSUe"], ["updated_at", "2014-05-10 22:24:18.182117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:18.185752"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-10 22:24:18.185752"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-7' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.189124"], ["slug", "page-7"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.194097"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$KqFpPHVEkBvuG4HcuegiteWtpz3cTeK53SsDYqsdmcIcE4IAzs4ZO"], ["updated_at", "2014-05-10 22:24:18.194097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-8' 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" = 'page-8') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:18.197228"], ["published", "t"], ["slug", "page-8"], ["title", "Page #8"], ["updated_at", "2014-05-10 22:24:18.197228"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-8' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.199624"], ["slug", "page-8"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.203175"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$Za1V9YuHV.S8ADW9BETMV.Ug42FwznnJuvLspjgJLZzy47v7KyuhG"], ["updated_at", "2014-05-10 22:24:18.203175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-9' 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" = 'page-9') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:18.205887"], ["published", "t"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-10 22:24:18.205887"], ["user_id", 4]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-9' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.208118"], ["slug", "page-9"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:24:18 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.3ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.304793"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$Wvkuv3lb/o8LETJOpTInruyPMW4nYDn5hmExihgiCi8HAd9Uv/x.6"], ["updated_at", "2014-05-10 22:24:18.304793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:18.312789"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-10 22:24:18.312789"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.317060"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$xp9aJDKT/6iSfVSDG..ZLepBRdERTLnWFLU9uby5Szu.FNcpWm.zq"], ["updated_at", "2014-05-10 22:24:18.317060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:18.318446"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-10 22:24:18.318446"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.321647"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$GaFOtLg2RA9ckz2JBaXSZegyvA0EjsYilY3nafvpjXonzKjS/.rTS"], ["updated_at", "2014-05-10 22:24:18.321647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:18.322862"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-10 22:24:18.322862"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-10 17:24:18 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.362073"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$U1etTyNJh8YqNzZpsqgVrOvev1e.yuKlOgabBmDBvOla/Uv8yOkrC"], ["updated_at", "2014-05-10 22:24:18.362073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:18.364603"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-10 22:24:18.364603"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-10 17:24:18 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.389249"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$WX/PQdLU72KU4SEUXK.t5u7z5PYKrrkS2DaPJDRd7YALPMCzxt14q"], ["updated_at", "2014-05-10 22:24:18.389249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:18 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user19@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:24:18.518608"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:24:18.518608"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:24:18.519535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:55068/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:24:18 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.584987"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$dqtdF22fAlahC1ftcP5CMuheCnCUWUa0ClpFLfwFORRg2OpROsCuC"], ["updated_at", "2014-05-10 22:24:18.584987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:18.586707"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-10 22:24:18.586707"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.591004"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$M6raJDxmlG.Bxerwf/5IG.4I81jp.ss/Dq3Wk87T.hr5rxD8Snw1W"], ["updated_at", "2014-05-10 22:24:18.591004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:18.592572"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-10 22:24:18.592572"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:18.595999"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$aOdrLA8ZmxHqfzKDgSKPW.s1S4Xku01nhtluDtVf4JJI8pNJ7PQgW"], ["updated_at", "2014-05-10 22:24:18.595999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:18.597240"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-10 22:24:18.597240"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-10 17:24:18 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-10 17:24:19 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 7ms (ActiveRecord: 0.6ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:19.599025"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$EbWDyIXTwGrtqQNoTi9k2OMHbLBHAU36IuS88kIQligYdvztz76e."], ["updated_at", "2014-05-10 22:24:19.599025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:19 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:24:19.614724"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:24:19.614724"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:24:19.615758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:24:19 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:19.628204"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$SktfxIdZYWT9nAWbvpXUb.v/yLNJ70RguOuMIHhqJHfT3fEbi76HC"], ["updated_at", "2014-05-10 22:24:19.628204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:19.629647"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "f"], ["title", "Post #8"], ["updated_at", "2014-05-10 22:24:19.629647"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-10 17:24:19 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-10 17:24:19 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #8. It was a dark and stormy night.", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-10 22:24:19.653202"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-10 17:24:19 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:19.678081"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$UMvyUEq2h/9Mx5REC7AQOO1cGM27i0qNXIm8dXMb32.a3vTNXcxsm"], ["updated_at", "2014-05-10 22:24:19.678081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:19 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user25@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:24:19.692847"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:24:19.692847"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:24:19.693316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:24:19 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-10 17:24:19 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 9.3ms | ActiveRecord: 0.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-10 17:24:19 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Post"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-10 22:24:19.730798"], ["excerpt", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-10 22:24:19.730798"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-10 17:24:19 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:19.755623"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$FCvrajTfyPSvEbircIDWLODUV80PvbWd1HBqvQIZtNLZjTss/tgMK"], ["updated_at", "2014-05-10 22:24:19.755623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:19 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:24:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user26@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:24:19.770826"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:24:19.770826"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:24:19.771282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:24:19 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:19.783621"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$W5rjH7/XweKEYXOpF1kcheUTTE9jPUj9/jQYELk0ch3w/LojgVlQG"], ["updated_at", "2014-05-10 22:24:19.783621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:19.785101"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-10 22:24:19.785101"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:19.788852"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$d3dbh/1jPKWY6kG93OmHuOjKdzXFEdklBpnNVH5CmNTxG428f5KWW"], ["updated_at", "2014-05-10 22:24:19.788852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:19.790248"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-10 22:24:19.790248"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:24:19.793967"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$sxU.FPYDjcHFLDhDIuNfyOXsPsQXY.OJKMB4OUEioHGYTbsQKp5Qe"], ["updated_at", "2014-05-10 22:24:19.793967"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:24:19.795764"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "t"], ["title", "Post #11"], ["updated_at", "2014-05-10 22:24:19.795764"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-10 17:24:19 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:13.701133"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$dmlmLA1f5k3wXl5XUMVMLeNNHa7Zg141tdm9TcZ8FNBooy09XoUVC"], ["updated_at", "2014-05-10 22:26:13.701133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (1.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:13.801729"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-10 22:26:13.801729"], ["user_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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:13.820766"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-1" for 127.0.0.1 at 2014-05-10 17:26:13 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-1"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-1' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (8.2ms) Completed 200 OK in 92ms (Views: 90.1ms | ActiveRecord: 0.1ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:13.937989"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$Eh9mFb4jiVwXomLcrcT62eku39PiLMecoqHgnh5KQ7hL9dJIMM/E6"], ["updated_at", "2014-05-10 22:26:13.937989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:13 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (14.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 20.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:26:13.987475"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:26:13.987475"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:26:13.988627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:26:13 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:14.018302"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$QqVHWNTIZ0fHj5yu2qBYrO60n16ezb.6I5vfPgWn4jFra6Ajh7atS"], ["updated_at", "2014-05-10 22:26:14.018302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:14.024996"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-10 22:26:14.024996"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:14.028676"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$3dwxKykbvSbigvGVWKcyEejNHTTdjFwU0IQtYaT267x8QIgh0gMcK"], ["updated_at", "2014-05-10 22:26:14.028676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:14.029923"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-10 22:26:14.029923"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:14.033176"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$Lvq3Fd4nx6pjr8MfYE3ng.KJ4QjkHGf8X3BBHkUpa7pTDnWH601We"], ["updated_at", "2014-05-10 22:26:14.033176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:14.034403"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-10 22:26:14.034403"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-10 17:26:14 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 12.8ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:14.147317"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$fUrPRbjgEj8eO/bkmId2FuCfrWGUExdAdtKAsSvNy5NJvwuzaDHpu"], ["updated_at", "2014-05-10 22:26:14.147317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:16 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-10 17:26:16 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-10 17:26:16 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:26:16.978567"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:26:16.978567"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:26:16.979804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:55174/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:26:16 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:17.053209"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$M.qyTv1iKNYGdUQvw32nUe5HWIkfp7UhnudN.xEJy7tgT6kB1rYp."], ["updated_at", "2014-05-10 22:26:17.053209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:17.054842"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-10 22:26:17.054842"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:17.058217"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$2RSPvkr9WMZQANgv7tSyq.CjcLkN39IJ5HDJ0TVOkF910bLhzd4G2"], ["updated_at", "2014-05-10 22:26:17.058217"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:17.059486"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-10 22:26:17.059486"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:17.063559"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$9Z7u/bayXON5iwArYSaC1eumL26.QKoLRxGD8KtSs8QWmPjz4kIs6"], ["updated_at", "2014-05-10 22:26:17.063559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:17.065331"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-10 22:26:17.065331"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-10 17:26:17 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-10 17:26:17 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 7ms (ActiveRecord: 0.5ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.202068"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$qv1bJQFhBm84QZYSKEE8GuuPFEvS8PjtEazTJdEO3cmFF8DqvLE5."], ["updated_at", "2014-05-10 22:26:18.202068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:18 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:26:18.220585"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:26:18.220585"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:26:18.221612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.233771"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$8AwERxxLKY9MmNQNKvnEvuSl1A9If4/HweY0RjvtzW7QUTUzTm/mS"], ["updated_at", "2014-05-10 22:26:18.233771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:18.235298"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "f"], ["title", "Post #7"], ["updated_at", "2014-05-10 22:26:18.235298"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (14.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (16.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #7. It was a dark and stormy night.", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-10 22:26:18.266799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.294667"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$NSoargENSb7Moojx5QCBP.IO/00BbKTUudFU6GLSPv3j1jCNUsaF2"], ["updated_at", "2014-05-10 22:26:18.294667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:18 -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 (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/storytime/application (2.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:26:18.313772"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:26:18.313772"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:26:18.314286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 8.8ms | ActiveRecord: 0.2ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-10 22:26:18.348255"], ["excerpt", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-10 22:26:18.348255"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.372783"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$2jaXFz8zgK6NsOwd8nHI8e/usTlmfQ1TTIb70kdMMsFOhea1HPDgq"], ["updated_at", "2014-05-10 22:26:18.372783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:18 -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 (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:26:18.390224"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:26:18.390224"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:26:18.391115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.405363"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$oxpYmppc29D7VRjIpeWxwukiDZlJo.bTDkXzpFKxmn.Ooe24amae6"], ["updated_at", "2014-05-10 22:26:18.405363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:18.410318"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-10 22:26:18.410318"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.413178"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.416669"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$NBiKZKY6.miDtrWx3aNAxO6Uxtefj6nWUI6RYKPNO5kjFwm3iU9Dm"], ["updated_at", "2014-05-10 22:26:18.416669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:18.419550"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-10 22:26:18.419550"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-3' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.421754"], ["slug", "page-3"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.425065"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$ubtRGrbJzQCaGJ/UCKWffef69vEfQldJ8YvulW1MCpED5dyM57WZW"], ["updated_at", "2014-05-10 22:26:18.425065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:18.427843"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-10 22:26:18.427843"], ["user_id", 4]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-4' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.430162"], ["slug", "page-4"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (3.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (6.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 11.2ms | ActiveRecord: 0.3ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.516532"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$jha1oBmXpCRlcG7O5McF7uj0gf8xBQKg7pQ87JKhPqMB.L/1XQ78O"], ["updated_at", "2014-05-10 22:26:18.516532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:18 -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 (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/storytime/application (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user17@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:26:18.640025"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:26:18.640025"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:26:18.641869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:55174/ Completed 302 Found in 12ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.3ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.716844"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$lfAfsLX/1r2TPDNy9HRuMOWSRpEEjoqcwuIF6eVFZCqBd.RWMMGni"], ["updated_at", "2014-05-10 22:26:18.716844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:18.719898"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-10 22:26:18.719898"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-5' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.722328"], ["slug", "page-5"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.726620"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$lXw8EZkHHmBjvLsMePz8wOJAFbiwINV3uIAt6emS63ZGeEPkXV8Ai"], ["updated_at", "2014-05-10 22:26:18.726620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:18.730038"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-10 22:26:18.730038"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-6' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.732351"], ["slug", "page-6"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.736553"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$RDLnnwLCxwtvgWHQzIVIwOvG34qLiTIny12olW25EV5lreYhLPyYi"], ["updated_at", "2014-05-10 22:26:18.736553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:18.739269"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-10 22:26:18.739269"], ["user_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", 3], ["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" = 'page-7' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:18.743073"], ["slug", "page-7"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:26:18 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.3ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-5" for 127.0.0.1 at 2014-05-10 17:26:19 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-5"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-5' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_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 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.9ms) Storytime::Page Load (0.3ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:19.771568"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$rs0RRmqRfANld1Q9584.xOqnyZ4XTKcjjD12NhgWD4eqTqlLuf86K"], ["updated_at", "2014-05-10 22:26:19.771568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:19 -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 (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/storytime/application (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:26:19.787664"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:26:19.787664"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:26:19.788705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:26:19 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:19.804495"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$ihE54pECn./kGGi4jZkViO93XQaWIBQ0YgqdwWJCF.wiUgSiX/EOu"], ["updated_at", "2014-05-10 22:26:19.804495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-8' 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" = 'page-8') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:19.807869"], ["published", "f"], ["slug", "page-8"], ["title", "Page #8"], ["updated_at", "2014-05-10 22:26:19.807869"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-8' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:19.810322"], ["slug", "page-8"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-8/edit" for 127.0.0.1 at 2014-05-10 17:26:19 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-8"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-8' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (6.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/pages/page-8" for 127.0.0.1 at 2014-05-10 17:26:19 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Page", "id"=>"page-8"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-8' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "content" = ?, "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["content", "It was a dark and stormy night..."], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-10 22:26:19.838683"]] FriendlyId::Slug Load (0.0ms) 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:19.841403"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/the-story Completed 302 Found in 10ms (ActiveRecord: 0.8ms) Started GET "/the-story" for 127.0.0.1 at 2014-05-10 17:26:19 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"the-story"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'the-story' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (0.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:19.866534"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$1upn/e4j/CcKI7cMbeiv.OWAHs0UZG4h9F9i708doKMO2YQ1GowYa"], ["updated_at", "2014-05-10 22:26:19.866534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:19 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:26:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:26:19.884268"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:26:19.884268"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:26:19.884775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:26:19 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-10 17:26:19 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 7.6ms | ActiveRecord: 0.2ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:26:19 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Page"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-10 22:26:19.920873"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-10 22:26:19.920873"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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.0ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:19.923371"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:26:19 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (1.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:19.959249"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$9Qqdn.8MSQRaitHYZB3s1ufE/RXSPC1d864n06WWeKB.v0izvKiha"], ["updated_at", "2014-05-10 22:26:19.959249"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-9' 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" = 'page-9') LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:19.962906"], ["published", "t"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-10 22:26:19.962906"], ["user_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"]] 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" = 'page-9' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:19.966453"], ["slug", "page-9"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:19.972175"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$wLX55k79XTM2kwwalEvkMOPBpYLK0/Hw/NfUJh5C448LUPx8LZ0Ka"], ["updated_at", "2014-05-10 22:26:19.972175"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:19.974131"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "t"], ["title", "Post #8"], ["updated_at", "2014-05-10 22:26:19.974131"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:19.979107"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$3k3cUC2VWENm6eUNWq10Eep7VXPHx7LXN9asVbjFso/9CLkMwyleq"], ["updated_at", "2014-05-10 22:26:19.979107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:19.980880"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-10 22:26:19.980880"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:19.984708"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$eI.j6ZrajZoh08gREZfZYu1s4VoYSXmJjdomVfTfqdvbyVoTfvOkm"], ["updated_at", "2014-05-10 22:26:19.984708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:19.986128"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-10 22:26:19.986128"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-10 17:26:19 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:20.031221"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$oZnE1XGJj/4D92nT017C8.HDRLnj2JgC612vLUcev5FwczRCPCEXe"], ["updated_at", "2014-05-10 22:26:20.031221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:26:20.033049"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "t"], ["title", "Post #11"], ["updated_at", "2014-05-10 22:26:20.033049"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-10 17:26:20 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:26:20.091956"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$wUmQuBNuMWYaU4lefOgGd.NBzqRs35/x4dRZJvgFpz6pLu7ZIUci2"], ["updated_at", "2014-05-10 22:26:20.091956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 6ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:04.035160"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$e5qLSce7Bu/J8yMrJt49B.zkTBwEp5OuPFFXOMb8LSUIbirKhF/4K"], ["updated_at", "2014-05-10 22:29:04.035160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 8ms  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:04.057144"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$HfRivDdcA./VDrVtQmM8ge3Q6q4pofKvODqMijGGsQuCa.wXvVBHm"], ["updated_at", "2014-05-10 22:29:04.057144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:04 -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.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 133ms (Views: 116.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:29:04.249609"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:29:04.249609"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:29:04.250813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.7ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:29:04 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:04.283267"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$NAwGfr5o3txyPOFET8.lQu2dBrP1XMeaUOxXivr8QvLRJ3rDZb3Ga"], ["updated_at", "2014-05-10 22:29:04.283267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:04.295142"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-10 22:29:04.295142"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:04.299057"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$IB7KiS3xz37FJ3DF56Hh4OYbbMOVwJHVnX3PljWHMwFP3O1RE3.Nq"], ["updated_at", "2014-05-10 22:29:04.299057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:04.300425"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-10 22:29:04.300425"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:04.303656"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$Oa5SJuNKwaIebPC/q7/p/uz5Yn9xXJkBysnbRpvKbeLbz0Y1aSZFe"], ["updated_at", "2014-05-10 22:29:04.303656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:04.304947"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-10 22:29:04.304947"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-10 17:29:04 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 105ms (Views: 101.6ms | ActiveRecord: 0.4ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:04.451965"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$EIHVDWvqXBx/yNKRnzK/yeWsLPGeAS7orVreXRU9OWei/3A/0wed2"], ["updated_at", "2014-05-10 22:29:04.451965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:04 -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 (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:29:04.470184"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:29:04.470184"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:29:04.470818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:29:04 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.3ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-10 17:29:04 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (16.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 36ms (Views: 21.2ms | ActiveRecord: 0.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-10 17:29:04 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Post"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-10 22:29:04.540765"], ["excerpt", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-10 22:29:04.540765"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 15ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-10 17:29:04 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:04.559791"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$OH5lzCe2aksjdMD3le0YBuunkEw70LTYZx3ztSRa6SvK/XFqvWK/W"], ["updated_at", "2014-05-10 22:29:04.559791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:04 -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 (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:29:04.578165"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:29:04.578165"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:29:04.578653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:29:04 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:04.592632"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$FCXLIFVzHg0tgntZcjX1xOCNBqm.3iRwle0QBycguvVh3ON6iTNEW"], ["updated_at", "2014-05-10 22:29:04.592632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:04.595295"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "f"], ["title", "Post #4"], ["updated_at", "2014-05-10 22:29:04.595295"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-10 17:29:04 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.3ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-10 17:29:04 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #4. It was a dark and stormy night.", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-10 22:29:04.621042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-10 17:29:04 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:04.637103"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$ovooDfhX./.FPfsR/CGOF.V.0zvVatOqf60bVepo2FYUugbHYafZ."], ["updated_at", "2014-05-10 22:29:04.637103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:06 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-10 17:29:07 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-10 17:29:07 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:29:07.230189"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:29:07.230189"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:29:07.231316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:55196/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:29:07 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:07.297456"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$w5EwUrnpQqdkJydQvJvYG.k5.yOQWlSCP8ymXmrp0Qzn/rUrjdJfi"], ["updated_at", "2014-05-10 22:29:07.297456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:07.299404"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-10 22:29:07.299404"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:07.303152"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$XgnFwh1suOxkF423WtYRo.7Zdm5B0re2GFBS5Wyvj7.wd2yyMOvI6"], ["updated_at", "2014-05-10 22:29:07.303152"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:07.305107"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-10 22:29:07.305107"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:07.309427"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$IPn3KJNzzZtzCJkCvtRqjO1xooNbwXSTaxjpanXUsNBc0aKztIrvm"], ["updated_at", "2014-05-10 22:29:07.309427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:07.310976"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-10 22:29:07.310976"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-10 17:29:07 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-10 17:29:07 -0500 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.5ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.358388"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$4j2X1dBlXSTYhmc9hUhsKefvsiB0Q9PSY166miyDBW6SjlZI7O39e"], ["updated_at", "2014-05-10 22:29:08.358388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:08.360146"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "t"], ["title", "Post #8"], ["updated_at", "2014-05-10 22:29:08.360146"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.364349"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$Ej.I0o9y3AhU22knK3ZAM.fm8pHqxrAyDVe7hs9ppdiVwa4sJNaUu"], ["updated_at", "2014-05-10 22:29:08.364349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:08.365964"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-10 22:29:08.365964"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.369489"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$b4LpmXSd8BFGqguR5g6idOZjXpjBE8AK5mu4KrzQmfIpOrjs6QGye"], ["updated_at", "2014-05-10 22:29:08.369489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:08.370773"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-10 22:29:08.370773"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.2ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.441998"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$DaKiE.eszaBvjko3a4IPS.LTUr1EgJqYyrFakqM.c5EDC9A8Dpd.q"], ["updated_at", "2014-05-10 22:29:08.441998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:08.443697"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "t"], ["title", "Post #11"], ["updated_at", "2014-05-10 22:29:08.443697"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.467564"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$.DCWFYkwl1r9tOzrT3xMs.oKY8RYs3uPRgfZQdxKAYkrYUv0MczMu"], ["updated_at", "2014-05-10 22:29:08.467564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:08.484297"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-10 22:29:08.484297"], ["user_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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.491541"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.497662"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$5foqZPRr3YgsVIFC4wlCreXjFkiAPMHWAZb7b2k/A9Tzit7WX2Xwy"], ["updated_at", "2014-05-10 22:29:08.497662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:08 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:29:08.513719"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:29:08.513719"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:29:08.515043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.528870"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$TV7IujRKpiTI8RdEwRkfoenZKA2gp/3rZczA/REfkB3bwwERzbAsy"], ["updated_at", "2014-05-10 22:29:08.528870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:08.532211"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-10 22:29:08.532211"], ["user_id", 2]] 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"]] 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.535765"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.540718"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$RR7p6yCpTbCe4Sb/bugZM.mj5E9uESEL/U4kU/GTl4hsMUXKDNpay"], ["updated_at", "2014-05-10 22:29:08.540718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:08.545068"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-10 22:29:08.545068"], ["user_id", 3]] 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::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" = 'page-3' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.549087"], ["slug", "page-3"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.554016"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$O7IhWwSDWR..TvZJxKuW8uwUVtH3VtyTSv5Q5GpYlFOq6dDtqNIG."], ["updated_at", "2014-05-10 22:29:08.554016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:08.558562"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-10 22:29:08.558562"], ["user_id", 4]] 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::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" = 'page-4' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.562080"], ["slug", "page-4"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (3.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 12.0ms | ActiveRecord: 0.3ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.633511"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$r8a0DU0W0D27kUB47l5WFOh5vjvpwpYH8UFejpwOPHLp9QncWdX5C"], ["updated_at", "2014-05-10 22:29:08.633511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:08 -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 (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user22@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:29:08.650332"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:29:08.650332"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:29:08.650932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 10.5ms | ActiveRecord: 0.2ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Page"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-10 22:29:08.689896"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-10 22:29:08.689896"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.692599"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages Completed 302 Found in 9ms (ActiveRecord: 0.9ms) Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (1.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.724117"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$dZBcEa.fZe5O1dLwE7ihVeBPfEYET7i81UNKP8yFZoGR7D4Xez72y"], ["updated_at", "2014-05-10 22:29:08.724117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:08 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:29:08.739142"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:29:08.739142"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:29:08.739590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.752345"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$zc3kpKFa.yLCGXd4S9g8uu4jj5B2fda5uCMRQqMQzgoj0gl5O1WHO"], ["updated_at", "2014-05-10 22:29:08.752345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:08.756389"], ["published", "f"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-10 22:29:08.756389"], ["user_id", 2]] 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"]] 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" = 'page-5' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.759616"], ["slug", "page-5"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-5/edit" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-5"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-5' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/pages/page-5" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Page", "id"=>"page-5"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-5' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "content" = ?, "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["content", "It was a dark and stormy night..."], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-10 22:29:08.780716"]] FriendlyId::Slug Load (0.0ms) 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.0ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.783462"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/the-story Completed 302 Found in 10ms (ActiveRecord: 0.8ms) Started GET "/the-story" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"the-story"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'the-story' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.815931"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$2ieD0h1w6MGSaet72AtkNOzGdJJxTeQuPhHgbjDSSwWa9n32EATwO"], ["updated_at", "2014-05-10 22:29:08.815931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:08 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user25@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-10 22:29:08.918422"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-10 22:29:08.918422"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-10 22:29:08.919543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:55196/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-10 17:29:08 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.983806"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$XwVDTOl9tM8t19Jb2l1/m.t7i1hhEx2j9ByeIdD8jsG/CoggViqqW"], ["updated_at", "2014-05-10 22:29:08.983806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:08.986968"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-10 22:29:08.986968"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-6' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.989433"], ["slug", "page-6"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.993017"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$mSSNhLOrG6rpohYmbPoXkuK5AItqpYK08pvcnQ2JtOTd2Z7CYdYfa"], ["updated_at", "2014-05-10 22:29:08.993017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:08.995832"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-10 22:29:08.995832"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-7' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:08.998171"], ["slug", "page-7"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:09.001649"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$tLJgiZx.mluumVW3RUcYVuEfWpE3yMebKcVRaujEFStZx6Q9WpFOy"], ["updated_at", "2014-05-10 22:29:09.001649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-8' 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" = 'page-8') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:09.004473"], ["published", "t"], ["slug", "page-8"], ["title", "Page #8"], ["updated_at", "2014-05-10 22:29:09.004473"], ["user_id", 4]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-8' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:09.006838"], ["slug", "page-8"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-10 17:29:09 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (3.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.4ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-6" for 127.0.0.1 at 2014-05-10 17:29:09 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-6"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-6' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_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::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 7ms (ActiveRecord: 0.7ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:09.971938"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$y7UowfTnCpu8aqmNfRShDO2NdGEvkeMwYvWSlUuWZIUuw4ZXUjUoa"], ["updated_at", "2014-05-10 22:29:09.971938"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-9' 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" = 'page-9') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-10 22:29:09.975180"], ["published", "t"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-10 22:29:09.975180"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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" = 'page-9' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-10 22:29:09.978721"], ["slug", "page-9"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-9" for 127.0.0.1 at 2014-05-10 17:29:09 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-9"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-9' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 7ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:10.249224"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$1X/WsNWxhe1y91HSDdVzyOi.Kh6w0q2Y6Oayns/Ff.P8M9CfQ3A16"], ["updated_at", "2014-05-11 18:24:10.249224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 13ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:10.276173"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$onkKY9Z4LFX7ltU89As.ruQRUxu3mzkemUan0YQX7XoDh27dYlsne"], ["updated_at", "2014-05-11 18:24:10.276173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (1.0ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:10.402498"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-11 18:24:10.402498"], ["user_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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:10.419687"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:10.425389"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$q/obGjoKwloSPzJ3YWINBuH0NxqlxIjsimEFDPjs9QAUN55yxtzca"], ["updated_at", "2014-05-11 18:24:10.425389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:10 -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.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 71ms (Views: 61.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:10 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:10.522639"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:10.522639"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:10.523605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:10 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:10.556558"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$on0JUIMCSPzATaNkMyWNVerC1WghFETgkAHGLJcPhz6nQ7mfk92m2"], ["updated_at", "2014-05-11 18:24:10.556558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:10.566644"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-11 18:24:10.566644"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:10.571695"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$4BtiJRHnlIdRF5szNjZz1eEHSIe9.K6ZiSydWitw7CpzafhrVVJC2"], ["updated_at", "2014-05-11 18:24:10.571695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:10.573185"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-11 18:24:10.573185"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:10.576592"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$dcino3Vum65B7pq1l0jnse6KKrRf4k59yaALAKL8KiH4/A5qSRkdG"], ["updated_at", "2014-05-11 18:24:10.576592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:10.577707"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-11 18:24:10.577707"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-11 13:24:10 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 12.6ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:10.633339"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$VDBanFKWqB52DqZe3MTzJOwCmH/BO7GLmBouNbPABHko5Xf2J2dxu"], ["updated_at", "2014-05-11 18:24:10.633339"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:10 -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 (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:10 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:10.653468"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:10.653468"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:10.653843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:10 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:10.666098"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$wSnCNX0H2.DPrEEltxF0dOQx5Yo.15QKUTYWKpXBDm/7iEQQUsO5i"], ["updated_at", "2014-05-11 18:24:10.666098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:10.667900"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "f"], ["title", "Post #4"], ["updated_at", "2014-05-11 18:24:10.667900"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-11 13:24:10 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (22.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 27.8ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-11 13:24:10 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #4. It was a dark and stormy night.", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-11 18:24:10.708287"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-11 13:24:10 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:10.722940"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$u0nEZ2TLSZsoFGx36q4aN.s1N9CzS0KTanfg.l0gutroKPDLOepPu"], ["updated_at", "2014-05-11 18:24:10.722940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:10 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:10 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:10.739467"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:10.739467"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:10.740085"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:10 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-11 13:24:10 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 10.6ms | ActiveRecord: 0.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-11 13:24:10 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-11 18:24:10.836624"], ["excerpt", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-11 18:24:10.836624"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-11 13:24:10 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:10.851795"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$MMBwSqBWXCNpSIvwdGgiouQXNeQf4S67iT.pVi6Y7e64tOaL9AxHu"], ["updated_at", "2014-05-11 18:24:10.851795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:13 -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 (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-11 13:24:13 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-11 13:24:13 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:13.585567"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:13.585567"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:13.586519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:58248/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:13 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:13.650801"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$/1aXol624AvtzmQtlfOE.O.mYdhzKYyAuKjEntuA/PQHmk3NRum6."], ["updated_at", "2014-05-11 18:24:13.650801"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:13.652236"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-11 18:24:13.652236"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:13.655346"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$eL4gNIm7F/y43NqbGKwU/eoIhVbakNbCQKiHrT5OByXiX63rJ3eSm"], ["updated_at", "2014-05-11 18:24:13.655346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:13.656451"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-11 18:24:13.656451"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:13.660571"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$7O.jmvZ2v0IQcd2k7KUKR.LFZofaUmaiIqcubPvQ9SHN8BcOoN7uS"], ["updated_at", "2014-05-11 18:24:13.660571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:13.662049"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-11 18:24:13.662049"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-11 13:24:13 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-11 13:24:13 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-11 13:24:14 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.5ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.660313"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$savIgOy0usypCq3I38XA6eb9rsLhvSmDzS.6AL37wrZbxSuQzUabS"], ["updated_at", "2014-05-11 18:24:14.660313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:14.663480"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-11 18:24:14.663480"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.666566"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-2" for 127.0.0.1 at 2014-05-11 13:24:14 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-2"} Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-2' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.725778"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$.M6olrqped7pM3LOHbxN0uN48UbIO5PNuGrRsbZEj6NqcIfN6jC9e"], ["updated_at", "2014-05-11 18:24:14.725778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:14.727295"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "t"], ["title", "Post #8"], ["updated_at", "2014-05-11 18:24:14.727295"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.730590"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$jwzV3k4zYo68lwvTkbxgs.tal17aRDGh6V3bMh4Hui.WHYvuqU5Ue"], ["updated_at", "2014-05-11 18:24:14.730590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:14.732015"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-11 18:24:14.732015"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.736475"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$PkGVbqzD5n0eydfkEdotSOVMXoHXjXhbHQERZz9Vm0ReFSNPYCTEC"], ["updated_at", "2014-05-11 18:24:14.736475"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:14.737795"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-11 18:24:14.737795"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-11 13:24:14 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.2ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.775066"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$ebQbAuQBepO/yQ2x1vz7E.ng43RD1TFdiIS4NzCeBQRShtBLPcBCS"], ["updated_at", "2014-05-11 18:24:14.775066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:14.776587"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "t"], ["title", "Post #11"], ["updated_at", "2014-05-11 18:24:14.776587"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-11 13:24:14 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.799624"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$2Oi7DibOGnyc/qL4FvRF6uL54oy54vRyLJdkM4H.2pHfcAIunPOPm"], ["updated_at", "2014-05-11 18:24:14.799624"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:14 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:14 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user19@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:14.815588"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:14.815588"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:14.816759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:14 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.828389"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$5Q3JjvRFl2aR/z2YlUr63e3RYLeSlnjUgOoJ5kj6DKjF3mtEEaIfO"], ["updated_at", "2014-05-11 18:24:14.828389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:14.832003"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-11 18:24:14.832003"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-3' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.834706"], ["slug", "page-3"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.838217"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$Qqx7mXGqKEHbChiKv29UoeWuY.gYv35fzbXysMl052.nWFMwxk5.O"], ["updated_at", "2014-05-11 18:24:14.838217"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:14.840841"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-11 18:24:14.840841"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-4' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.842968"], ["slug", "page-4"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.846161"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$WY.TrqfMzXs7Kf.N8sLho.pHecoi2pK.Wk1Vn8LKIxEjpbHSmvlOa"], ["updated_at", "2014-05-11 18:24:14.846161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:14.848621"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-11 18:24:14.848621"], ["user_id", 4]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-5' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.850667"], ["slug", "page-5"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-11 13:24:14 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (3.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 11.3ms | ActiveRecord: 0.3ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.923388"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$F7c5qtnh4TQDBYP6Ej1AM.ZwleJPDVDB3vsjzbYtDUpllNOVXsNC2"], ["updated_at", "2014-05-11 18:24:14.923388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:14 -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 (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:14 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:14.940041"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:14.940041"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:14.940631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:14 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.956318"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$r5XxnFAd2xruFxFsH1XosuxjGtd6W.o.2p9yrQZ.xx5eub91cMpy."], ["updated_at", "2014-05-11 18:24:14.956318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:14.959846"], ["published", "f"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-11 18:24:14.959846"], ["user_id", 2]] 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"]] 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" = 'page-6' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.963602"], ["slug", "page-6"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-6/edit" for 127.0.0.1 at 2014-05-11 13:24:14 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-6"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-6' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/pages/page-6" for 127.0.0.1 at 2014-05-11 13:24:14 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Page", "id"=>"page-6"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-6' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "content" = ?, "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["content", "It was a dark and stormy night..."], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-11 18:24:14.990777"]] FriendlyId::Slug Load (0.0ms) 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:14.993176"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/the-story Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET "/the-story" for 127.0.0.1 at 2014-05-11 13:24:14 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"the-story"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'the-story' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:15.017498"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$pLDOhse4sfA49xRr73V9iuLbVkTR5jBc9ijz2pgET9fhlIWX/JGsm"], ["updated_at", "2014-05-11 18:24:15.017498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:15 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user25@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:15.032320"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:15.032320"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:15.032674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:15 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-11 13:24:15 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 9.1ms | ActiveRecord: 0.3ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-11 13:24:15 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Page"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-11 18:24:15.069659"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-11 18:24:15.069659"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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.0ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:15.072011"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-11 13:24:15 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (1.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:15.103858"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$0F0fKYy3ui3Dza/qMCnAV.pNyAZgpeV5GhdHZ/UEpnbUY.bK657Z2"], ["updated_at", "2014-05-11 18:24:15.103858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:15 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user26@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:15.210567"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:15.210567"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:15.211400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:58248/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:15 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:15.278397"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$fEPL.HhoW8IMIxBaqEaZfuj237EoRub974USqGUP/TfO4VaIBi4vW"], ["updated_at", "2014-05-11 18:24:15.278397"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:15.281420"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-11 18:24:15.281420"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-7' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:15.283742"], ["slug", "page-7"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:15.286988"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$egiO6pj.RxA8qvzpdAolXeumzKNzoQcBKpV6pPa62cOrVOWUfswuK"], ["updated_at", "2014-05-11 18:24:15.286988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-8' 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" = 'page-8') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:15.289527"], ["published", "t"], ["slug", "page-8"], ["title", "Page #8"], ["updated_at", "2014-05-11 18:24:15.289527"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-8' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:15.291691"], ["slug", "page-8"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:15.294982"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$YuQEa1U6.1otMp9qIX30K.GAKbwcG1AwguuJeEarBkigD7pKWpEh6"], ["updated_at", "2014-05-11 18:24:15.294982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-9' 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" = 'page-9') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:15.297562"], ["published", "t"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-11 18:24:15.297562"], ["user_id", 4]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-9' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:15.299701"], ["slug", "page-9"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-11 13:24:15 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (3.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.3ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-7" for 127.0.0.1 at 2014-05-11 13:24:16 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-7"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-7' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_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::Page"]] SQL (0.2ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 7ms (ActiveRecord: 0.8ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:20.858871"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$AxPmq6wAP1fARSVOTFZ7reBugwFLUALyoHs.lI3CneccIefgA.tY6"], ["updated_at", "2014-05-11 18:24:20.858871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered widgets/index.html.erb within layouts/storytime/dashboard (1.4ms) Completed 500 Internal Server Error in 16ms  (2.5ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 4ms  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:20.911964"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$i3EuNKG7RgeGS7s.x2C3Ku7pxCsoA3RUIEWd1wFRmlpXDIVPWKP4G"], ["updated_at", "2014-05-11 18:24:20.911964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:20.925907"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-11 18:24:20.925907"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-11 13:24:20 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (8.3ms) Completed 200 OK in 47ms (Views: 46.0ms | ActiveRecord: 0.1ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:20.993898"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$EVdn8h5bfeAXl9/9I3DXBOwpDXhZBGVUsJ6Sl978HLU/nQxsru3y."], ["updated_at", "2014-05-11 18:24:20.993898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:20.995409"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-11 18:24:20.995409"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:20.998695"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$mXHG7oEJcC0K1hxItU20m.e5uCWxmaCA6bXb9eqFYxbGb4zRuBZZe"], ["updated_at", "2014-05-11 18:24:20.998695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:20.999816"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-11 18:24:20.999816"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:21.004590"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$2wK7aJLIFF8nnFyj0MHj1u40UO0faWiZaf24S5VMg.LQMU6Kw7VrO"], ["updated_at", "2014-05-11 18:24:21.004590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:21.006346"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-11 18:24:21.006346"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-11 13:24:21 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.2ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:21.087624"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$dLLPTKJH8JcB8dZFpc7wauVAE/cRjjbo0WlIi0fbv3VNjnXoIQ4sG"], ["updated_at", "2014-05-11 18:24:21.087624"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:21.184770"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-11 18:24:21.184770"], ["user_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"]] 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" = 'page-1' [["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-05-11 18:24:21.196251"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-1" for 127.0.0.1 at 2014-05-11 13:24:21 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-1"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-1' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.1ms)  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:21.221496"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$jEt.flztnHJfoxMgJ8KE2Oh0TfGlHLlWaZev8So/WqJ9IDzGqVRQG"], ["updated_at", "2014-05-11 18:24:21.221496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:21 -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.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 20.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:21.262447"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:21.262447"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:21.263463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:21 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:21.281539"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$N8kh69MzJ4swkqN/CPdBruhGO/n3zRCGfovlLOT/0uew7tiPDmRfG"], ["updated_at", "2014-05-11 18:24:21.281539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:21.284267"], ["published", "f"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-11 18:24:21.284267"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:21.286510"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-2/edit" for 127.0.0.1 at 2014-05-11 13:24:21 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-2"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-2' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (13.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 21.8ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/pages/page-2" for 127.0.0.1 at 2014-05-11 13:24:21 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Page", "id"=>"page-2"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-2' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "content" = ?, "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["content", "It was a dark and stormy night..."], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-11 18:24:21.327628"]] FriendlyId::Slug Load (0.0ms) 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:21.330001"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/the-story Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET "/the-story" for 127.0.0.1 at 2014-05-11 13:24:21 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"the-story"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'the-story' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:21.346471"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$vjcxvBrktOHpQpbjKZBf0OS0.x2AIlIuA7FDY3025gIzaxL..envS"], ["updated_at", "2014-05-11 18:24:21.346471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:21 -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 (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:21.364836"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:21.364836"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:21.365176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:21 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-11 13:24:21 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 9.2ms | ActiveRecord: 0.2ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-11 13:24:21 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Page"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-11 18:24:21.401491"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-11 18:24:21.401491"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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.0ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:21.403777"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-11 13:24:21 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (1.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:21.430965"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$tKT5IfW4CPh221UwIILmF.d0PhEC2DE3KZEc7/U1jL41NhBNMwBD."], ["updated_at", "2014-05-11 18:24:21.430965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:23 -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 (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-11 13:24:23 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-11 13:24:23 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:23.830932"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:23.830932"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:23.832460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:58257/ Completed 302 Found in 9ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:23 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:23.900583"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$adCNaszjjAs4tR.lUGDPHeitJvxPi.ThIfZIBDSfTHP4Ij704s1BG"], ["updated_at", "2014-05-11 18:24:23.900583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:23.903691"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-11 18:24:23.903691"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-3' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:23.906235"], ["slug", "page-3"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:23.910219"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$9Jo6V5j521Rj/UhOcxWREe50y2ZmL1AIsVi2g168cqXiu.5hnQpXa"], ["updated_at", "2014-05-11 18:24:23.910219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:23.913043"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-11 18:24:23.913043"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-4' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:23.915350"], ["slug", "page-4"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:23.918698"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$PYDv8Jt232vytS1hRakXSOaV0bYLku9keKiuPT6uPaXHUYO6nqXcW"], ["updated_at", "2014-05-11 18:24:23.918698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:23.921405"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-11 18:24:23.921405"], ["user_id", 4]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-5' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:23.923582"], ["slug", "page-5"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-11 13:24:23 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (2.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-11 13:24:23 -0500 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-3" for 127.0.0.1 at 2014-05-11 13:24:24 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-3"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-3' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_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::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.7ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:24.957070"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$nXQO3t4/KL27r/Bn4cw/ceLl0Ctr2hTihymnfuSezcvxncwWe/Ax6"], ["updated_at", "2014-05-11 18:24:24.957070"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:24 -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 (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:24.981397"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:24.981397"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:24.983572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:24 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.3ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:25.006742"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$E7frntjPElpp/066JqUos.fKkN0dPVjNQr8glRJ/ZDZL0koBPgnfO"], ["updated_at", "2014-05-11 18:24:25.006742"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:25.012863"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-11 18:24:25.012863"], ["user_id", 2]] 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"]] 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" = 'page-6' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:25.018262"], ["slug", "page-6"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:25.023357"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$GnoJrh3x9IgGZEwmL6iSjuEGkgWRL2DNsyTpTi7RZEgVrXQTBRIi2"], ["updated_at", "2014-05-11 18:24:25.023357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:25.029616"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-11 18:24:25.029616"], ["user_id", 3]] 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::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" = 'page-7' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:25.035344"], ["slug", "page-7"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:25.040165"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$WbGFHysEDhjZ9Ko4rePpg.gIkviiJoSIoLBO10FwHP.0qwttGpvlm"], ["updated_at", "2014-05-11 18:24:25.040165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-8' 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" = 'page-8') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:25.043107"], ["published", "t"], ["slug", "page-8"], ["title", "Page #8"], ["updated_at", "2014-05-11 18:24:25.043107"], ["user_id", 4]] 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::Page"]] 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" = 'page-8' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:25.047959"], ["slug", "page-8"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-11 13:24:25 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (5.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.5ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:25.147900"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$O6F7JkLVOLE.LuhiM3/b0.EQPQ0in/oZwsJ7eOxQ6Qd.4xpqq20MW"], ["updated_at", "2014-05-11 18:24:25.147900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:25 -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 (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:25.166279"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:25.166279"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:25.166806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:25 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:25.179318"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$WWYJXUqo28823esmgzhU4.hW7HUGBjFr1VbOnN9LQvk0zdU54uMXG"], ["updated_at", "2014-05-11 18:24:25.179318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:25.181599"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "f"], ["title", "Post #5"], ["updated_at", "2014-05-11 18:24:25.181599"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-11 13:24:25 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (8.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 23ms (Views: 20.2ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-11 13:24:25 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #5. It was a dark and stormy night.", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-11 18:24:25.225018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-11 13:24:25 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:25.254052"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$L3BavBPRRbbzz7C5faBk9el0.yq7VYku151HYVW.menOBv4OlSeMe"], ["updated_at", "2014-05-11 18:24:25.254052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:25 -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 (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user20@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:25.270699"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:25.270699"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:25.271093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:25 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-11 13:24:25 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 10.6ms | ActiveRecord: 0.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-11 13:24:25 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Post"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-11 18:24:25.312902"], ["excerpt", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-11 18:24:25.312902"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-11 13:24:25 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:25.338430"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$F9evhIpxQ1.tDkIxHLEyqeMS4Y9Vt/YCW8XKBWVvoOB9qbIUsn0Im"], ["updated_at", "2014-05-11 18:24:25.338430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:25 -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 (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:25.472902"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:25.472902"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:25.474547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:58257/ Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:25 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:25.546164"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$aVxQy32bo.VAp3a9rEbuP.tN2QcFo7mjQPKPsR8D231F8gn2KKvc6"], ["updated_at", "2014-05-11 18:24:25.546164"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:25.548382"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-11 18:24:25.548382"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:25.551714"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$y1dH14C1g5qZGSrtFoSqHOQx2.N8mwDbN92My47MCyL/dhqkU/Idq"], ["updated_at", "2014-05-11 18:24:25.551714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:25.552874"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-11 18:24:25.552874"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:25.555935"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$1SteGhc6OVwOmjRjP8dsH.hU4RDL55YqZFcK8wN2pxRJHkmAfM8k2"], ["updated_at", "2014-05-11 18:24:25.555935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:25.557008"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "t"], ["title", "Post #8"], ["updated_at", "2014-05-11 18:24:25.557008"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-11 13:24:25 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.4ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-11 13:24:26 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 7ms (ActiveRecord: 0.7ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:26.775115"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$qVIOC41FX.3/3852sPhsROmAFkmE9RPw32RcIen7sFZ6Mqd97D8Da"], ["updated_at", "2014-05-11 18:24:26.775115"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:26 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 13:24:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user25@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 18:24:26.795051"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 18:24:26.795051"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 18:24:26.796039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 13:24:26 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.3ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:26.811983"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$0IbB3YOiO1l2kG4BzCWqtOrorWVdhjnKHkX959du64I05aGMmyn5K"], ["updated_at", "2014-05-11 18:24:26.811983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:26.813324"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-11 18:24:26.813324"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:26.816738"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$BViC8mK/LfLwL0tcG.I6Z.JEBre9E3QVVnstEfQMGxrVg0pn6UynS"], ["updated_at", "2014-05-11 18:24:26.816738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:26.818700"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-11 18:24:26.818700"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:26.823245"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$WhR/nNqKG1FtqMmbF7Jm1uCL92pftkJ9KfNdPn3lTLfOsFo3kXLe2"], ["updated_at", "2014-05-11 18:24:26.823245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:26.824748"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "t"], ["title", "Post #11"], ["updated_at", "2014-05-11 18:24:26.824748"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-11 13:24:26 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:26.890869"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$NAY8usdXgsoUqeTYsYKVBeHVlHgyq3eL6ZG43A/UCpVxaiGPxEJh6"], ["updated_at", "2014-05-11 18:24:26.890869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-9' 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" = 'page-9') LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 18:24:26.896957"], ["published", "t"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-11 18:24:26.896957"], ["user_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"]] 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" = 'page-9' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 18:24:26.900976"], ["slug", "page-9"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) DROP TABLE "friendly_id_slugs"  (0.8ms) 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.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.7ms) 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.9ms) 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.9ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")  (1.0ms) DROP TABLE "storytime_pages"  (0.9ms) CREATE TABLE "storytime_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "published" boolean, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_storytime_pages_on_user_id" ON "storytime_pages" ("user_id")  (0.9ms) DROP TABLE "storytime_posts"  (0.8ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published" boolean, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (0.9ms) DROP TABLE "storytime_users"  (1.1ms) CREATE TABLE "storytime_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_storytime_users_on_email" ON "storytime_users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_storytime_users_on_reset_password_token" ON "storytime_users" ("reset_password_token")  (0.1ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.1ms) DROP TABLE "friendly_id_slugs"  (1.0ms) 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.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.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'   (1.5ms) 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.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")  (1.3ms) DROP TABLE "storytime_pages"  (0.9ms) CREATE TABLE "storytime_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "published" boolean, "created_at" datetime, "updated_at" datetime)  (1.2ms) CREATE INDEX "index_storytime_pages_on_user_id" ON "storytime_pages" ("user_id")  (1.6ms) DROP TABLE "storytime_posts"  (1.0ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published" boolean, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (1.8ms) DROP TABLE "storytime_users"  (1.1ms) CREATE TABLE "storytime_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.8ms) CREATE UNIQUE INDEX "index_storytime_users_on_email" ON "storytime_users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_storytime_users_on_reset_password_token" ON "storytime_users" ("reset_password_token")  (0.1ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) DROP TABLE "friendly_id_slugs"  (0.8ms) 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.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.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.4ms)  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.0ms) 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) 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.0ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")  (1.1ms) DROP TABLE "storytime_pages"  (1.1ms) CREATE TABLE "storytime_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "published" boolean, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE INDEX "index_storytime_pages_on_user_id" ON "storytime_pages" ("user_id")  (1.2ms) DROP TABLE "storytime_posts"  (1.0ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published" boolean, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (1.1ms) DROP TABLE "storytime_users"  (1.0ms) CREATE TABLE "storytime_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.8ms) CREATE UNIQUE INDEX "index_storytime_users_on_email" ON "storytime_users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_storytime_users_on_reset_password_token" ON "storytime_users" ("reset_password_token")  (0.1ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:21.176619"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$ndUlg0HJUalPDZAMTIe6ROdWpO0JGvfOORu.T72Rh2QXyWdi9Hi/y"], ["updated_at", "2014-05-11 21:40:21.176619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:21.193153"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-11 21:40:21.193153"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-11 16:40:21 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (11.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (10.7ms) Completed 200 OK in 124ms (Views: 123.4ms | ActiveRecord: 0.2ms)  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:21.383518"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$HQl7ZkA/9Ezi7sDVgnwTJuOQaBrBpRypGLyo4QIws/q2I3MbuMbLO"], ["updated_at", "2014-05-11 21:40:21.383518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:21.385834"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-11 21:40:21.385834"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:21.391214"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$AshW.lY0bCu5BWEs3ALTPu3z4J.R.yz7Wytab2j4H14NuE7uVuAJi"], ["updated_at", "2014-05-11 21:40:21.391214"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:21.393753"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-11 21:40:21.393753"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:21.398992"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$d7Sq86ieuHwEebb5b/LaYO0HXGQnbmOcxkOyMYY6O/yBcfXiwq5tu"], ["updated_at", "2014-05-11 21:40:21.398992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:21.400967"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-11 21:40:21.400967"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-11 16:40:21 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (9.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:21.443053"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$wrXqAmLyAOUMThnjhkXHjeEIhnAEdK1.SL8V93YGPFnxzkUtrn5tu"], ["updated_at", "2014-05-11 21:40:21.443053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:24 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (36.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 51ms (Views: 45.0ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-11 16:40:24 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-11 16:40:24 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:40:24.656009"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:40:24.656009"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:40:24.657077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:61948/ Completed 302 Found in 21ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:40:24 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:24.744253"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$CtMOEjFlTPK0//mFZbKqVesSfvTOv6vjMNmmHorJSe5gBtrqczvMu"], ["updated_at", "2014-05-11 21:40:24.744253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:24 -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 (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:40:24.759937"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:40:24.759937"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:40:24.760905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:40:24 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET "/dashboard/media/new" for 127.0.0.1 at 2014-05-11 16:40:24 -0500 Processing by Storytime::Dashboard::MediaController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (22.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/new.html.erb within layouts/storytime/dashboard (23.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 156ms (Views: 118.3ms | ActiveRecord: 0.5ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:24.944514"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$seG4nnSe7S3joj6mtRHkDOW69jffjDiIBejImDoDeuUXqXRAmc./a"], ["updated_at", "2014-05-11 21:40:24.944514"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:24 -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 (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/storytime/application (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:40:25.045676"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:40:25.045676"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:40:25.046633"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:61948/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:40:25 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:25.126398"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$f7MHGeWd/x4mDmpDz6BPJ.GE33ks/YRNmyxAEJlKQYRgFrvI8Dtya"], ["updated_at", "2014-05-11 21:40:25.126398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:25.142982"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-11 21:40:25.142982"], ["user_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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:25.151992"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:25.159076"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$VDINmFot113vdM/fQlgXau31rfg/d4CqolEZ8HzvGzRsTAE5KYZ6K"], ["updated_at", "2014-05-11 21:40:25.159076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:25 -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 (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:40:25.177330"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:40:25.177330"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:40:25.178445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:40:25 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-11 16:40:25 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (7.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (9.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 15.6ms | ActiveRecord: 0.2ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-11 16:40:25 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Post"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-11 21:40:25.225246"], ["excerpt", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-11 21:40:25.225246"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-11 16:40:25 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:25.248728"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$hPfDxLCxKhRzbXiTivQTTOAVBbYleNy6W71A/QDSZlG9.kC5m9Ms2"], ["updated_at", "2014-05-11 21:40:25.248728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:25 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:40:25.264992"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:40:25.264992"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:40:25.265406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:40:25 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:25.278481"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$TL9fgWtExn.WmrkvUfL3lORqwCuZz6rHFGJYSIXV14RMLZQ8T6fD6"], ["updated_at", "2014-05-11 21:40:25.278481"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:25.281240"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-11 21:40:25.281240"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:25.285647"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$S87./eVkoD4EXJjPoVknw.74hQbWlOFTC.GbkJS2fL6y/ZiBAs2re"], ["updated_at", "2014-05-11 21:40:25.285647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:25.287054"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-11 21:40:25.287054"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:25.291281"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$8Y6g4W35kxmqXY3BApMieOEhgLLPf6SKt3fiHLOesSaGXMjDvFplm"], ["updated_at", "2014-05-11 21:40:25.291281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:25.292803"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-11 21:40:25.292803"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-11 16:40:25 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 0.4ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:25.353925"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$NUFVj9JIwibG.b5XQK9Y4uN2VXvZYtedHkdbbsQVfWrWaJElr4VZO"], ["updated_at", "2014-05-11 21:40:25.353925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:25 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:40:25.463737"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:40:25.463737"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:40:25.464629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:61948/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:40:25 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:25.526591"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$GHAZoK2ZYbsRbhOvxiJ.iu1/OynhXKR4YJquY.MlJZjVEkB.xvB2W"], ["updated_at", "2014-05-11 21:40:25.526591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:25.527966"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "t"], ["title", "Post #8"], ["updated_at", "2014-05-11 21:40:25.527966"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:25.531410"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$fXKLdsNKsKVLKf6Ui6xhYexTi9/2HgCSxR63sYGssl6H4i.CkYYOi"], ["updated_at", "2014-05-11 21:40:25.531410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:25.532666"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-11 21:40:25.532666"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:25.535786"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$cMOSh6lPp23DA3dg4KIw.e6dfGHpzsTdlzZRMmNskt/bEi/ILRA5O"], ["updated_at", "2014-05-11 21:40:25.535786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:25.536989"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-11 21:40:25.536989"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-11 16:40:25 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-11 16:40:25 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-11 16:40:26 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 7ms (ActiveRecord: 0.4ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:26.599818"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$1pythaMutdda4Y8a4ojzWebLNrommz8YmmNzXbkNyVT9oWa1f.yue"], ["updated_at", "2014-05-11 21:40:26.599818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:26 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:40:26.616647"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:40:26.616647"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:40:26.617601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:40:26 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:26.629835"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$GaKeq8ZgSw7HwHHMqwEUUulDFyHnYjLovDn9Bvw4iu7z7wLFzCADO"], ["updated_at", "2014-05-11 21:40:26.629835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:26.631192"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "f"], ["title", "Post #11"], ["updated_at", "2014-05-11 21:40:26.631192"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-11 16:40:26 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (5.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (6.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-11 16:40:26 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #11. It was a dark and stormy night.", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-11 21:40:26.654930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-11 16:40:26 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:26.684078"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$IWTP0h7m3n8VMfWz5JEEYu19wqXiDmOiHft5BsokbTmthVjWp/DDi"], ["updated_at", "2014-05-11 21:40:26.684078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered widgets/index.html.erb within layouts/storytime/dashboard (0.4ms) Completed 500 Internal Server Error in 4ms  (0.5ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:26.730441"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$7ZfN6qvTzM.UNqfA9MVMw.2nVbZdoO0VvrGmin8Iduo63FFTFlB1u"], ["updated_at", "2014-05-11 21:40:26.730441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:26 -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 (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:40:26.746075"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:40:26.746075"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:40:26.746479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:40:26 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-11 16:40:26 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 13.9ms | ActiveRecord: 0.2ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-11 16:40:26 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Page"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-11 21:40:26.794235"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-11 21:40:26.794235"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:26.796980"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages Completed 302 Found in 10ms (ActiveRecord: 0.9ms) Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-11 16:40:26 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:26.837847"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$2iBar0lXXjZ6ReYPmRF2GO0kgjZ8jSRd.fyfe4yr0.eXGQwELqLwm"], ["updated_at", "2014-05-11 21:40:26.837847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:26 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user22@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:40:26.854092"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:40:26.854092"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:40:26.854485"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:40:26 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:26.866940"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$PfVQkcm5v5otGRstLTrX3eqVZTN9GcXaSCp/Xmq/KSU9tKYUqanyu"], ["updated_at", "2014-05-11 21:40:26.866940"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:26.871342"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-11 21:40:26.871342"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:26.874880"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:26.880112"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$y0dw2wUbrtoqnONOjg845uUYeKQuyyzFVg8uEuEvQuLB7lft1z/d."], ["updated_at", "2014-05-11 21:40:26.880112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:26.883025"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-11 21:40:26.883025"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-3' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:26.885613"], ["slug", "page-3"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:26.889289"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$QDy3YEtQE4k0fC.E46mh4OJx1WuoeQdI2u8fPCZOWRJJ5wnY9xkIe"], ["updated_at", "2014-05-11 21:40:26.889289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:26.892149"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-11 21:40:26.892149"], ["user_id", 4]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-4' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:26.894711"], ["slug", "page-4"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-11 16:40:26 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (2.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:26.965794"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$Ea4.jYLyGESPeraHVxP.H.ejOCEDGGf8WMqWWgZEXDOxG5258YIRq"], ["updated_at", "2014-05-11 21:40:26.965794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:26 -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 (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user26@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:40:27.092075"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:40:27.092075"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:40:27.093431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:61948/ Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:40:27 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.3ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:27.179400"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$DfwIGlarAVQtZ0E4wNLqhuoc8Akf43eFNr7Z9BvoWDMrdHdONngtu"], ["updated_at", "2014-05-11 21:40:27.179400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:27.183076"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-11 21:40:27.183076"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-5' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:27.185834"], ["slug", "page-5"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:27.189838"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$IU8d3eKqF4p.zDPGQZPAxuU4eUZ1UcZnPTMa/Vhy7OueE//9PaImi"], ["updated_at", "2014-05-11 21:40:27.189838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:27.192947"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-11 21:40:27.192947"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-6' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:27.195299"], ["slug", "page-6"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:27.198917"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$QIXlpUsCuMgw5ccvfirYvui9.eBi1t06ZMvILkL42zJWVtfLHQnIe"], ["updated_at", "2014-05-11 21:40:27.198917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:27.201831"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-11 21:40:27.201831"], ["user_id", 4]] 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::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" = 'page-7' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:27.204178"], ["slug", "page-7"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-11 16:40:27 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (3.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.3ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-5" for 127.0.0.1 at 2014-05-11 16:40:28 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-5"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-5' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_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 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.2ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 10ms (ActiveRecord: 1.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (1.7ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:28.279536"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$.9mDBs0MEBqCNDpiGWSPbedirG1ZAQ8dToY3MT7Hp2hCeKoy9h4cK"], ["updated_at", "2014-05-11 21:40:28.279536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:28 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:40:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user30@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:40:28.295149"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:40:28.295149"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:40:28.296118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:40:28 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:28.307986"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$cNEXPfOdsCrh5ycBc9XKvurFuhv08TRSDbUMjFyo/.rd4sOtTLC0W"], ["updated_at", "2014-05-11 21:40:28.307986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-8' 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" = 'page-8') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:28.312294"], ["published", "f"], ["slug", "page-8"], ["title", "Page #8"], ["updated_at", "2014-05-11 21:40:28.312294"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-8' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:28.314952"], ["slug", "page-8"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-8/edit" for 127.0.0.1 at 2014-05-11 16:40:28 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-8"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-8' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/pages/page-8" for 127.0.0.1 at 2014-05-11 16:40:28 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Page", "id"=>"page-8"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-8' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "content" = ?, "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["content", "It was a dark and stormy night..."], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-11 21:40:28.338165"]] 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"]] 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:28.341457"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/the-story Completed 302 Found in 66ms (ActiveRecord: 0.9ms) Started GET "/the-story" for 127.0.0.1 at 2014-05-11 16:40:28 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"the-story"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'the-story' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:28.432831"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$Yx3vmsjCwUDTQx0EnoG5Hu5jXqC5bw8vCg3z3G44FdlwS.uTKRzdS"], ["updated_at", "2014-05-11 21:40:28.432831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-9' 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" = 'page-9') LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-11 21:40:28.436155"], ["published", "t"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-11 21:40:28.436155"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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" = 'page-9' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:40:28.438859"], ["slug", "page-9"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-9" for 127.0.0.1 at 2014-05-11 16:40:28 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-9"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-9' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:41:46.892727"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$I/x8NtLL2LfTzOVX7rMU7uoLcloVjxNg70ogpmCHWe65w4jhKfc4W"], ["updated_at", "2014-05-11 21:41:46.892727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:41:46 -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/storytime/application (24.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 81ms (Views: 67.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:41:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:41:47.011881"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:41:47.011881"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:41:47.013010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:41:47 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (22.9ms) Completed 200 OK in 36ms (Views: 35.2ms | ActiveRecord: 0.5ms) Started GET "/dashboard/media/new" for 127.0.0.1 at 2014-05-11 16:41:47 -0500 Processing by Storytime::Dashboard::MediaController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (12.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/new.html.erb within layouts/storytime/dashboard (14.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 131ms (Views: 95.8ms | ActiveRecord: 0.6ms)  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:41:47.211115"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$Ou1j8DMoUoCfxl7mPoJ/kuTAmHpIZ4Tk/es5ILk.goS8cUdGCXDiS"], ["updated_at", "2014-05-11 21:41:47.211115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:41:49 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-11 16:41:49 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-11 16:41:49 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:41:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:41:49.552816"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:41:49.552816"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:41:49.553777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:61980/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:41:49 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:41:49.635630"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$O1923DczHmG.ynvJIt1St.PkizkMuC6Gx/YHToT15fs/6Mfjdi7te"], ["updated_at", "2014-05-11 21:41:49.635630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:41:49 -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 (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/storytime/application (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:41:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:41:49.745467"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:41:49.745467"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:41:49.745887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:61980/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:41:49 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:42:23.988923"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$qrZSbvGs5Zgx3JAwTnPbF.haD6bOaPYh0DQrvFBgnJndPMwsLcN.y"], ["updated_at", "2014-05-11 21:42:23.988923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:42:26 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (63.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 121ms (Views: 107.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-11 16:42:26 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-11 16:42:26 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:42:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:42:26.939531"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:42:26.939531"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:42:26.940947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:61991/ Completed 302 Found in 27ms (ActiveRecord: 1.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:42:26 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (18.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (1.4ms) Completed 200 OK in 31ms (Views: 28.8ms | ActiveRecord: 0.8ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:42:27.134186"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$bKkH3nv9DY5rQSe7qbqjVeuQW6LUKaUFQLQ1KjomTQyh7zxzbjhpW"], ["updated_at", "2014-05-11 21:42:27.134186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:42:27 -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.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:42:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:42:27.272406"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:42:27.272406"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:42:27.272919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:61991/ Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:42:27 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:42:27.382718"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$t66hX60GIu0tVmU32mTzU.Fq43oFKutRqIAp8aWR.jmoIe408FlKu"], ["updated_at", "2014-05-11 21:42:27.382718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:42:27 -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 (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:42:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:42:27.411455"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:42:27.411455"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:42:27.413977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.9ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:42:27 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 18ms (Views: 16.8ms | ActiveRecord: 0.3ms) Started GET "/dashboard/media/new" for 127.0.0.1 at 2014-05-11 16:42:27 -0500 Processing by Storytime::Dashboard::MediaController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (32.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/new.html.erb within layouts/storytime/dashboard (36.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 283ms (Views: 204.3ms | ActiveRecord: 1.0ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.6ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:48:28.926767"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$87S32KXvLG2G8mnGrDsBr.ClXNFHfLgm24fd2x95.KAJbRvRD5NXq"], ["updated_at", "2014-05-11 21:48:28.926767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:48:28 -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/storytime/application (39.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.7ms) Completed 200 OK in 140ms (Views: 124.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:48:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:48:29.115964"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:48:29.115964"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:48:29.116917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:48:29 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.5ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (23.9ms) Completed 200 OK in 36ms (Views: 34.3ms | ActiveRecord: 1.1ms) Started GET "/dashboard/media/new" for 127.0.0.1 at 2014-05-11 16:48:29 -0500 Processing by Storytime::Dashboard::MediaController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (21.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/new.html.erb within layouts/storytime/dashboard (23.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 153ms (Views: 107.0ms | ActiveRecord: 0.5ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:48:29.338898"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$yiK/TR89cippS9a34kXpvuTqtn6OU/pRZqJ8xkJE7GOLVgathXgFa"], ["updated_at", "2014-05-11 21:48:29.338898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:48:31 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-11 16:48:31 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-11 16:48:31 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:48:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:48:31.918735"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:48:31.918735"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:48:31.919680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:62128/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:48:31 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:48:31.996653"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$qty8lV0.04gzqmnyK7lsFudKU8o0ckKwjq1402bd7nLmiGqYWBXyi"], ["updated_at", "2014-05-11 21:48:31.996653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:48:32 -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 (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/storytime/application (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:48:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:48:32.099466"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:48:32.099466"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:48:32.099847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:62128/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:48:32 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:48:56.562196"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$UwJE0sKPPpSyy.JNIGknOe9jG0Bo2v1b65Y8s.qIc8iGH2tk/p8r2"], ["updated_at", "2014-05-11 21:48:56.562196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:48:56 -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/storytime/application (28.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 82ms (Views: 70.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:48:56 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:48:56.685601"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:48:56.685601"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:48:56.686633"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:48:56 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (25.0ms) Completed 200 OK in 37ms (Views: 35.9ms | ActiveRecord: 0.5ms) Started GET "/dashboard/media/new" for 127.0.0.1 at 2014-05-11 16:48:56 -0500 Processing by Storytime::Dashboard::MediaController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (12.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/new.html.erb within layouts/storytime/dashboard (14.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 124ms (Views: 91.8ms | ActiveRecord: 0.5ms)  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:48:56.880958"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$VG1QTFUQwDKsXFcQ3ejyme4BNNMUOywINZZK9qRPivPa1CnTjS8XC"], ["updated_at", "2014-05-11 21:48:56.880958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:48:58 -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 (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-11 16:48:58 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-11 16:48:58 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:48:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.7ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:48:59.178192"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:48:59.178192"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:48:59.179167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:62141/ Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:48:59 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:48:59.263637"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$Y9vb0Ro5FinpMsMx7giOcu76kReDK1.71vuhmo7KVgf.uYiicH/D6"], ["updated_at", "2014-05-11 21:48:59.263637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:48:59 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:48:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:48:59.370517"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:48:59.370517"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:48:59.370900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:62141/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:48:59 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:50:26.021031"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$KbXJueWMBjf59Xw7Qs3QlekZbt/wP1KFloMVv/GlmHf1kF.B8dcEm"], ["updated_at", "2014-05-11 21:50:26.021031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:50:26 -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/storytime/application (25.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 82ms (Views: 68.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:50:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:50:26.144006"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:50:26.144006"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:50:26.144983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:50:26 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (24.5ms) Completed 200 OK in 38ms (Views: 36.9ms | ActiveRecord: 0.5ms) Started GET "/dashboard/media/new" for 127.0.0.1 at 2014-05-11 16:50:26 -0500 Processing by Storytime::Dashboard::MediaController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (12.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/new.html.erb within layouts/storytime/dashboard (13.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 135ms (Views: 101.7ms | ActiveRecord: 0.5ms)  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:50:26.349262"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$rdGNoWogpJHOuANe8rSR5ObVOhxN3drUOROBkI.tQLvRxWGi3Spiq"], ["updated_at", "2014-05-11 21:50:26.349262"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:50:28 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-11 16:50:28 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-11 16:50:28 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:50:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:50:28.633002"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:50:28.633002"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:50:28.634157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:62154/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:50:28 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-11 21:50:28.713883"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$lcocyCRBmXMwe6SP6z1d4uIuIYbnRmdqNZ6g2QGHYY4Keh0OIMN.q"], ["updated_at", "2014-05-11 21:50:28.713883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:50:28 -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 (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/storytime/application (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 16:50:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-11 21:50:28.813016"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-11 21:50:28.813016"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-11 21:50:28.813399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:62154/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 16:50:28 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (20.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.6ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 00:45:54.225668"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$iBaHru6rNftBGQOloCiemevyvTg7wGtbk6zoPNF1NXxWvaVnlrRKm"], ["updated_at", "2014-05-12 00:45:54.225668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:45:54 -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 (3.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (49.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.8ms) Completed 200 OK in 168ms (Views: 150.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:45:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 00:45:54.447460"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 00:45:54.447460"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 00:45:54.448538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 22ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-11 19:45:54 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.5ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (9.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (29.2ms) Completed 200 OK in 47ms (Views: 44.6ms | ActiveRecord: 1.4ms) Started GET "/dashboard/media/new" for 127.0.0.1 at 2014-05-11 19:45:54 -0500 Processing by Storytime::Dashboard::MediaController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (21.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/new.html.erb within layouts/storytime/dashboard (23.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 185ms (Views: 123.3ms | ActiveRecord: 0.6ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 00:45:59.200634"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$0iiSCuw7BPQaT0WaPxeVLulJ//CYr9OoDyJS/jgbdG/KyJ2vGj9xG"], ["updated_at", "2014-05-12 00:45:59.200634"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:46:02 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-11 19:46:02 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-11 19:46:02 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:46:02 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 00:46:02.380940"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 00:46:02.380940"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 00:46:02.382367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:62975/ Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-11 19:46:02 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms)  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 00:46:26.281145"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$S3vFSSxZEcmTs6xGSltKIu9oAkjCGAnxE.4wcd1kETh7CcPIHP3nq"], ["updated_at", "2014-05-12 00:46:26.281145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:46:26 -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 (2.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (37.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.8ms) Completed 200 OK in 124ms (Views: 98.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:46:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 00:46:26.450199"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 00:46:26.450199"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 00:46:26.451827"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 22ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 19:46:26 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.5ms) Started GET "/dashboard/media/new" for 127.0.0.1 at 2014-05-11 19:46:26 -0500 Processing by Storytime::Dashboard::MediaController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (16.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/new.html.erb within layouts/storytime/dashboard (18.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 226ms (Views: 105.0ms | ActiveRecord: 0.7ms)  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 00:47:32.173834"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Y1M8s3aloe4a4Yoref9SQO21SrFGcyC82UXgZ4AyvlbBgOHocF06a"], ["updated_at", "2014-05-12 00:47:32.173834"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:47:32 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (23.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 80ms (Views: 64.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:47:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 00:47:32.289370"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 00:47:32.289370"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 00:47:32.290330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-11 19:47:32 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.4ms) Started GET "/dashboard/media/new" for 127.0.0.1 at 2014-05-11 19:47:32 -0500 Processing by Storytime::Dashboard::MediaController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (38.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/new.html.erb within layouts/storytime/dashboard (39.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 154ms (Views: 122.2ms | ActiveRecord: 0.5ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-11 19:47:32 -0500 Processing by Storytime::Dashboard::MediaController#create as HTML Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\nContent-Length: 24417\r\n">}, "commit"=>"Create Media"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 00:47:32.493917"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 00:47:32.493917"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/media Completed 302 Found in 10ms (ActiveRecord: 1.8ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-11 19:47:32 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.2ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 00:47:39.196463"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$wxTbI0bxSFlgkCXpgy8ja.R0/4QCDRj2LvnEzsa/qRA43Pw4s5yJ2"], ["updated_at", "2014-05-12 00:47:39.196463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:47:39 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 79ms (Views: 65.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:47:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 00:47:39.315859"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 00:47:39.315859"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 00:47:39.316828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-11 19:47:39 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.5ms) Started GET "/dashboard/media/new" for 127.0.0.1 at 2014-05-11 19:47:39 -0500 Processing by Storytime::Dashboard::MediaController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (36.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/new.html.erb within layouts/storytime/dashboard (37.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 148ms (Views: 117.0ms | ActiveRecord: 0.5ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-11 19:47:39 -0500 Processing by Storytime::Dashboard::MediaController#create as HTML Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\nContent-Length: 24417\r\n">}, "commit"=>"Create Media"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 00:47:39.511143"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 00:47:39.511143"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/media Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-11 19:47:39 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.2ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 00:48:08.515135"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$omn42id8.YxhDlcanuSq0uCruvNYS/7pfm.rC.NWhh3lVQ9wxwME."], ["updated_at", "2014-05-12 00:48:08.515135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:48:08 -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/storytime/application (25.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 81ms (Views: 68.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:48:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 00:48:08.635354"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 00:48:08.635354"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 00:48:08.636532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-11 19:48:08 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 15ms (Views: 12.5ms | ActiveRecord: 0.6ms) Started GET "/dashboard/media/new" for 127.0.0.1 at 2014-05-11 19:48:08 -0500 Processing by Storytime::Dashboard::MediaController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (15.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/new.html.erb within layouts/storytime/dashboard (17.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 137ms (Views: 100.6ms | ActiveRecord: 0.5ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-11 19:48:08 -0500 Processing by Storytime::Dashboard::MediaController#create as HTML Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\nContent-Length: 24417\r\n">}, "commit"=>"Create Media"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 00:48:08.849468"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 00:48:08.849468"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/media Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-11 19:48:08 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (2.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.2ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 00:50:04.328892"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$oSLo6GZ2OJVAummfaxQLquyDEfkeZ..5WTC5UMtHCDTvrtwJLPro2"], ["updated_at", "2014-05-12 00:50:04.328892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:50:06 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (29.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 122ms (Views: 109.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-11 19:50:06 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-11 19:50:06 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:50:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 00:50:06.994436"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 00:50:06.994436"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 00:50:06.995641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:63014/ Completed 302 Found in 17ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-11 19:50:07 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.4ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 00:50:07.091744"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$ZLRXIv08Av3Q6sS6m8yyCuRxnbzNNpd42.wm0tHbI1ChAogl9urnO"], ["updated_at", "2014-05-12 00:50:07.091744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:50:07 -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 (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/storytime/application (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 19:50:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 00:50:07.108733"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 00:50:07.108733"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 00:50:07.109706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 19:50:07 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started GET "/dashboard/media/new" for 127.0.0.1 at 2014-05-11 19:50:07 -0500 Processing by Storytime::Dashboard::MediaController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (12.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/new.html.erb within layouts/storytime/dashboard (13.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 155ms (Views: 114.7ms | ActiveRecord: 0.7ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-11 19:50:07 -0500 Processing by Storytime::Dashboard::MediaController#create as HTML Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\nContent-Length: 24417\r\n">}, "commit"=>"Create Media"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 00:50:07.306034"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 00:50:07.306034"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/media Completed 302 Found in 12ms (ActiveRecord: 0.8ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-11 19:50:07 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.2ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:01:31.075378"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$kxdOI0QTYDHoUbufNWfsP./ztBZSv1TLJmTahwyTm7CjmnZoh5yam"], ["updated_at", "2014-05-12 01:01:31.075378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:01:33 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (38.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.8ms) Completed 200 OK in 151ms (Views: 135.9ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-11 20:01:33 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-11 20:01:33 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:01:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 01:01:33.915693"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 01:01:33.915693"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 01:01:33.916841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:63095/ Completed 302 Found in 22ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-11 20:01:33 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.4ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:01:33.997402"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$u3zTdxjOVHjJFC0.yX4kwuZzt0Fxfu8/L3BwxvscOsmOm9R2jSOsS"], ["updated_at", "2014-05-12 01:01:33.997402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:01:34.012317"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 01:01:34.012317"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:01:34.020062"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$ZcTqcyLUWoi1ibta.QFOR.wIWP3lSMRac/7VGpb6W7tNo5t3gAJcW"], ["updated_at", "2014-05-12 01:01:34.020062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:01:34.024790"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 01:01:34.024790"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:01:37.641427"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$y/Xi5Q/ws2yWRzm4ONUFTuEDryw18wh2TCMryQipkUl6tbnf5bAhq"], ["updated_at", "2014-05-12 01:01:37.641427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:01:37 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 85ms (Views: 72.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:01:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 01:01:37.768741"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 01:01:37.768741"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 01:01:37.769693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-11 20:01:37 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:01:37.801747"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$7Szdt4hLwo/aYZFTwsFMwuIbCerzhGh0UMwCYPFLzbWcUrpgIvc6a"], ["updated_at", "2014-05-12 01:01:37.801747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:01:37.815203"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 01:01:37.815203"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:01:37.821888"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$PhARnKq48SSvHzbkPVntz.LGfVKWRE1t80PQpdnnlllOSMdLHN96m"], ["updated_at", "2014-05-12 01:01:37.821888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:01:37.826416"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 01:01:37.826416"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:01:47.126394"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$4Z7C0NETSlJfqWqUjBW5OueCJPfgtCX7PX3St9mV76YZzgjSKSKdC"], ["updated_at", "2014-05-12 01:01:47.126394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:01:47 -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/storytime/application (24.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 88ms (Views: 70.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:01:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 01:01:47.278454"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 01:01:47.278454"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 01:01:47.279419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-11 20:01:47 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.4ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:01:47.308614"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$QXJIpn1ilnY/IR0JONC03OSeHrqeYWZcIB8yK/oIu.uvJFWcPNySm"], ["updated_at", "2014-05-12 01:01:47.308614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:01:47.321301"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 01:01:47.321301"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:01:47.327213"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$P9Kzm.wptqEDdr7sBEOWwuJ7EmY86yr8rztnjC1e4G/bEzwv7pK3q"], ["updated_at", "2014-05-12 01:01:47.327213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:01:47.330841"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 01:01:47.330841"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-11 20:01:47 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 94ms (Views: 92.0ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:02:28.073312"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$N7fevfeJH./Q8Br0b70m1.qxUwfS6YDEpKORXDYoi0assg4JPMJgW"], ["updated_at", "2014-05-12 01:02:28.073312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:02:28 -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.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (28.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 87ms (Views: 73.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:02:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 01:02:28.197945"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 01:02:28.197945"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 01:02:28.198938"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-11 20:02:28 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.4ms) Started GET "/dashboard/media/new" for 127.0.0.1 at 2014-05-11 20:02:28 -0500 Processing by Storytime::Dashboard::MediaController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (44.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/new.html.erb within layouts/storytime/dashboard (46.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 154ms (Views: 128.1ms | ActiveRecord: 0.5ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-11 20:02:28 -0500 Processing by Storytime::Dashboard::MediaController#create as HTML Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\nContent-Length: 24417\r\n">}, "commit"=>"Create Media"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:02:28.396636"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 01:02:28.396636"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/media Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-11 20:02:28 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.3ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:02:28.420543"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$wS8gP4foXjAOvDBngeBGxeUtNAqRYrYyKjdv9WoULna7EznL0Lrb6"], ["updated_at", "2014-05-12 01:02:28.420543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:02:28 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:02:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 01:02:28.435193"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 01:02:28.435193"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 01:02:28.435529"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 20:02:28 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:02:28.451768"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$2ij2ofSs4LaMns7deDLY8eApLyFENFEjopjLsoRyJuxSnMvYrE6Lu"], ["updated_at", "2014-05-12 01:02:28.451768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:02:28.460374"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 01:02:28.460374"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:02:28.467102"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$vnlS88zvxgHsMI7VcVmPQeRmvoNwQ3kmMtIJnq5eu1gYj99MJ/OLK"], ["updated_at", "2014-05-12 01:02:28.467102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:02:28.471856"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 01:02:28.471856"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-11 20:02:28 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:07:40.399343"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$PWQYBbqKyA6vVb3Ss5p2IOcw4OmpmMN2n/HnJl.dtkxxy4wsBcYFS"], ["updated_at", "2014-05-12 01:07:40.399343"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:07:40 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 81ms (Views: 65.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:07:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 01:07:40.517395"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 01:07:40.517395"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 01:07:40.518365"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-11 20:07:40 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:07:40.552883"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$nvEh0TpTDvLLskL3b0LB7.90GYcHhgaTpukP2shjJKXbaHYSffsCi"], ["updated_at", "2014-05-12 01:07:40.552883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:07:40.567582"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 01:07:40.567582"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:07:40.574605"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$Npt8x3BPyWMBDz4KCfoxG.6tcJH6wxByNEN/jf7YfUzT2ZZvDvXHe"], ["updated_at", "2014-05-12 01:07:40.574605"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:07:40.579082"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 01:07:40.579082"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-11 20:07:40 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 129ms (Views: 126.1ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:07:40.728365"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$U59PWfyZbZn5VjlTl77I0ObP6B61Kh2AqC75lho6wt7kf//ppcasK"], ["updated_at", "2014-05-12 01:07:40.728365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:07:40 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:07:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 01:07:40.743866"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 01:07:40.743866"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 01:07:40.744346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-11 20:07:40 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET "/dashboard/media/new" for 127.0.0.1 at 2014-05-11 20:07:40 -0500 Processing by Storytime::Dashboard::MediaController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (13.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/new.html.erb within layouts/storytime/dashboard (14.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 18.3ms | ActiveRecord: 0.3ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-11 20:07:40 -0500 Processing by Storytime::Dashboard::MediaController#create as HTML Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\nContent-Length: 24417\r\n">}, "commit"=>"Create Media"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:07:40.793590"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 01:07:40.793590"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/media Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-11 20:07:40 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:07:40.813112"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$f6DdOX02m2F99J1IG96NSOPHnGg1xk3UM4fr80oi9GXymI1NT7LMm"], ["updated_at", "2014-05-12 01:07:40.813112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:07:40 -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 (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-11 20:07:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-12 01:07:40.829705"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-12 01:07:40.829705"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-12 01:07:40.830093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-11 20:07:40 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:07:40.842243"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$qhCiauVZNNR5eJGrsb.A9eXqSQLzY/pECr1Dh3VGwAzvtvL7jV1Z6"], ["updated_at", "2014-05-12 01:07:40.842243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-12 01:07:40.847845"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-12 01:07:40.847845"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-11 20:07:40 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.2ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-11 20:07:40 -0500 Processing by Storytime::Dashboard::MediaController#destroy as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/media Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-11 20:07:40 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.4ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:16:50.578795"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$QAmDg8H6v7C9.S8G.nZgq.KcZDkh8TPeX9N7TNxReOb7rYNQEi4Fq"], ["updated_at", "2014-05-13 02:16:50.578795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:16:50 -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 (2.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (39.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (1.2ms) Completed 200 OK in 1263ms (Views: 1248.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:16:51 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:16:51.907411"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:16:51.907411"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:16:51.909033"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 28ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:16:51 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (9.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 19ms (Views: 16.8ms | ActiveRecord: 1.3ms) Started GET "/dashboard/media/new" for 127.0.0.1 at 2014-05-12 21:16:51 -0500  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:16:52.010680"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$S4ZMGHP8Z2CvSE3vAdwWPuyM.DADk4OzCUC2ffWD5uflS3PEGRttW"], ["updated_at", "2014-05-13 02:16:52.010680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:16:52 -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 (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:16:52 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:16:52.037350"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:16:52.037350"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:16:52.037897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:16:52 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:16:52.060279"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$txdj5ucNUvJ7cDNJ8a7KvuZi052iy7/N1yCp.F5liWpgI1Tru2ByG"], ["updated_at", "2014-05-13 02:16:52.060279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:16:52.084491"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:16:52.084491"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:16:52 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (51.5ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (61.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 176ms (Views: 168.9ms | ActiveRecord: 0.6ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-12 21:16:52 -0500 Processing by Storytime::Dashboard::MediaController#destroy as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 406 Not Acceptable in 3ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:16:52.281197"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$qlTZgrJm1kHwBk9Jbv2kfe7nt2csyjxjE5gC1l4MxMGp8mKSB7C32"], ["updated_at", "2014-05-13 02:16:52.281197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:16:52 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:16:52 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:16:52.300104"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:16:52.300104"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:16:52.300491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:16:52 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:16:52.313706"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$gn0BkYZn.ZtDY.6p0oaUy.knD3t04e3z7PmqcMvHsIhC78e0L0rJe"], ["updated_at", "2014-05-13 02:16:52.313706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:16:52.318011"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:16:52.318011"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:16:52.324747"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$Iukg77czlV.gcBLqMKmXi..9KMy7rHR2MTvHNspF0xK2oQ/5L2bqy"], ["updated_at", "2014-05-13 02:16:52.324747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:16:52.329129"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:16:52.329129"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:16:52 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (6.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.4ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:17:18.542422"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$NMDB94i3C6bFCHawzW1jdu1DlE9u1Nzc9M0Zo9Uen.S4103s1fDwK"], ["updated_at", "2014-05-13 02:17:18.542422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:17:21 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (81.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.8ms) Completed 200 OK in 177ms (Views: 162.1ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:17:22 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:17:22 -0500  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:17:22.193495"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$gkFLm/q8TAzQcxEMiCPwYuvm4K6tvuWiwe9S7xNxjW.8GP55kByN6"], ["updated_at", "2014-05-13 02:17:22.193495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:17:22 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:17:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:17:22.223313"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:17:22.223313"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:17:22.224779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 22ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:17:22 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.5ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.6ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 14ms (Views: 12.2ms | ActiveRecord: 1.3ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:17:22.259468"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$FbOn9rBVhJUmk6mOzsobFOCvTdmiJEju2Va.ePt.it03m5fZpugfa"], ["updated_at", "2014-05-13 02:17:22.259468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:17:22.298594"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:17:22.298594"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:17:22 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (21.1ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (31.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 131ms (Views: 127.3ms | ActiveRecord: 0.5ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-12 21:17:22 -0500 Processing by Storytime::Dashboard::MediaController#destroy as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 406 Not Acceptable in 3ms  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.6ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:21:50.977190"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$qXHxb6G5IZq/IHXzP9hd0ODrnRqC7jcVlejheNfkloRLA5YkpGMk."], ["updated_at", "2014-05-13 02:21:50.977190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:21:53 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (83.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.7ms) Completed 200 OK in 222ms (Views: 206.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:21:54 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:21:54 -0500  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:21:54.193569"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$gMUdstqM.k8NmI19RnUdH.USe32AzNXh3IFmMCFchQWsY.iJVn/UC"], ["updated_at", "2014-05-13 02:21:54.193569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:21:54 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:21:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:21:54.234778"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:21:54.234778"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:21:54.236207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 32ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:21:54 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.5ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 14ms (Views: 11.8ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:21:54.276598"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$5ABtoXGdEaU/9X6MqnoUOeKgNnINzgNMGeE4YtQsfrAYx6OmEM/kq"], ["updated_at", "2014-05-13 02:21:54.276598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:21:54.297694"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:21:54.297694"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:21:54 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (21.0ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (8.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (32.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 169ms (Views: 163.5ms | ActiveRecord: 0.6ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-12 21:21:54 -0500 Processing by Storytime::Dashboard::MediaController#destroy as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 406 Not Acceptable in 4ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (4.4ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:22:22.712532"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$vebyuEkO5JFGpjyMAWk7ROMSxw2RSI6dTc2IrYmH.FqvXFr6wy72i"], ["updated_at", "2014-05-13 02:22:22.712532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:22:25 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (85.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 186ms (Views: 171.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:22:25 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:22:25 -0500  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:22:25.556086"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$ANTUn.hoIrETIkZ.OELbVORvshsvyfAeRTXng3Bz3co5Eh371UGWO"], ["updated_at", "2014-05-13 02:22:25.556086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:22:25 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:22:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:22:25.588883"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:22:25.588883"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:22:25.590429"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 25ms (ActiveRecord: 1.6ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:22:25 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (9.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 17ms (Views: 14.7ms | ActiveRecord: 1.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:22:25.634478"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$qBuQT0LETnISTw6Ey4vzS.GE5c.jR0D4yFuuh0Nm5w8P0nu84c6yG"], ["updated_at", "2014-05-13 02:22:25.634478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:22:25.653048"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:22:25.653048"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:22:25 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (23.0ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (8.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (34.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 174ms (Views: 169.6ms | ActiveRecord: 0.6ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-12 21:22:25 -0500 Processing by Storytime::Dashboard::MediaController#destroy as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 406 Not Acceptable in 3ms  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:24:23.200983"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$yw1AC.WYc4zcq7I6Lebev.LF0HpjXyfQV8WEWdy8H6k3obIY49PPS"], ["updated_at", "2014-05-13 02:24:23.200983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:24:25 -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 (2.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (97.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 215ms (Views: 199.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:24:26 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:24:26 -0500  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:24:26.211801"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$KEf9uzBZfF1qQyIEM.O29OZlg8RzLmGyMPaEZAeZ56vL4qPWpqIry"], ["updated_at", "2014-05-13 02:24:26.211801"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:24:26 -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 (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:24:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:24:26.252203"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:24:26.252203"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:24:26.253971"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 25ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:24:26 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (10.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 18ms (Views: 15.3ms | ActiveRecord: 1.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:24:26.299640"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$ffy7kghk7JJVCa1F06D9feVJrTEvXpl/01gZz8ppTbUpKkMVBDEvu"], ["updated_at", "2014-05-13 02:24:26.299640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:24:26.316139"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:24:26.316139"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:24:26 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (21.5ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (32.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 198ms (Views: 193.9ms | ActiveRecord: 0.5ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-12 21:24:26 -0500 Processing by Storytime::Dashboard::MediaController#destroy as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 406 Not Acceptable in 3ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:25:15.894169"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$omboF3TFgUQwwH/9kL0g8eLia5iK4LQIkw3BU4y.jiyaKDdVo/quC"], ["updated_at", "2014-05-13 02:25:15.894169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:25:18 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (69.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 160ms (Views: 143.6ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:25:18 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:25:18 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:25:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:25:18.472547"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:25:18.472547"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:25:18.474314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50419/ Completed 302 Found in 27ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:25:18 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.4ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:25:18.603341"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$fB6dMG5GSb6CdH/IZkNEMOJWEEEm7dr8RecMvZH2K4Ng0dpPIgLFW"], ["updated_at", "2014-05-13 02:25:18.603341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:25:18 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:25:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:25:18.626231"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:25:18.626231"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:25:18.627204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:25:18 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:25:18.644778"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$KtWJy2BRuFEdXv39KmHNouP6LN3WLwwBcJyki9poatZudOV4a321i"], ["updated_at", "2014-05-13 02:25:18.644778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:25:18.661507"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:25:18.661507"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:25:18 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (13.1ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (21.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 160ms (Views: 156.0ms | ActiveRecord: 0.5ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-12 21:25:18 -0500 Processing by Storytime::Dashboard::MediaController#destroy as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 406 Not Acceptable in 4ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:26:25.196978"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$rAZV6p0FyKfwzvJsf34IiOGfaqRDYtu6eqxYsGGBf5xJ2XXeMf42u"], ["updated_at", "2014-05-13 02:26:25.196978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:26:27 -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 (2.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (78.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 156ms (Views: 137.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:26:28 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:26:28 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:26:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:26:28.283472"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:26:28.283472"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:26:28.284597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50434/ Completed 302 Found in 19ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:26:28 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.5ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:28:41.384822"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$1M3HI.Wf67sstQX6FK5qF.HeTJx6i2xjamvD0r007irJ0N7E5Rple"], ["updated_at", "2014-05-13 02:28:41.384822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:28:41 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:28:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:28:41.404968"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:28:41.404968"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:28:41.405963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:28:41 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.3ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:28:41.423196"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$d7wN7RukpAsdn.HRej8CFeiAgEWENUthkdMIrV0.jW2rJ8Y3SbXD6"], ["updated_at", "2014-05-13 02:28:41.423196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:28:41.437585"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:28:41.437585"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:28:41 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (13.5ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (3.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (10.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (26.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 195ms (Views: 192.2ms | ActiveRecord: 0.5ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-12 21:28:41 -0500 Processing by Storytime::Dashboard::MediaController#destroy as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 406 Not Acceptable in 3ms  (5.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:28:45.450801"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$b0LkLGgD30aM89mqOvxI4eVYluOrx/6yxU1WiiNNT4iMgGjVq3PcW"], ["updated_at", "2014-05-13 02:28:45.450801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:28:45 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (27.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 118ms (Views: 105.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:28:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:28:45.612952"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:28:45.612952"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:28:45.614105"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:28:45 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.6ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:28:45.647169"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$ktmmGnOTj7kXzUfEb/7M/uLcHLQcAeUNkd3ySs2pRs13ArK7p8Qdm"], ["updated_at", "2014-05-13 02:28:45.647169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:28:45.659589"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:28:45.659589"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:28:45 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (12.0ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (20.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 111ms (Views: 107.7ms | ActiveRecord: 0.4ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-12 21:28:45 -0500 Processing by Storytime::Dashboard::MediaController#destroy as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 406 Not Acceptable in 3ms  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:28:45.797816"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$Dal9YPufFTiybkT6xUKVguECElDCAg0Vvvn0N57JS9Wnh6E3gZ8qC"], ["updated_at", "2014-05-13 02:28:45.797816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:28:48 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:28:48 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:28:48 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:28:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:28:48.710277"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:28:48.710277"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:28:48.711246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50636/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:28:48 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:28:48 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.0ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 9.0ms | ActiveRecord: 0.6ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:28:48 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:28:48.923707"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:28:48.923707"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (3.4ms) Completed 200 OK in 35ms (Views: 12.4ms | ActiveRecord: 0.7ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-12 21:28:48 -0500 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:26.533452"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$gWg5ZERkWIggqmkT2nAOoOLodSBtG6ro1ZouwadswYvPatT6G1FDy"], ["updated_at", "2014-05-13 02:29:26.533452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:28 -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 (3.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (72.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 159ms (Views: 144.6ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:29:28 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:29:28 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:29:29.091871"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:29:29.091871"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:29:29.093046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50651/ Completed 302 Found in 19ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:29:29 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.6ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:29:29 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (15.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (21.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 143ms (Views: 139.5ms | ActiveRecord: 0.7ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:29:29 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:29.469736"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:29:29.469736"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (3.9ms) Completed 200 OK in 42ms (Views: 12.4ms | ActiveRecord: 0.6ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-12 21:29:29 -0500 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:30.443725"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$j7mXPgF7QXoRupMrTQ0kbui.Hh.Z5ycHKVDsgaXLLImNi2MVCwhJe"], ["updated_at", "2014-05-13 02:29:30.443725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:30 -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 (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} [35mStorytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:29:30.563110"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:29:30.563110"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:29:30.563529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50651/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:29:30 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:29:30 -0500  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:30.631351"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$DhB8VfQVcjDhEzvG4ISNDeJUipvAP9yci6ahB6p04Ttedn1s8O1F2"], ["updated_at", "2014-05-13 02:29:30.631351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:30.636505"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:29:30.636505"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:29:30 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (5.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.4ms) Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:29:30 -0500 Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-12 21:29:31 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 10ms (ActiveRecord: 0.7ms) Storytime::Media Load (0.5ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 6ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:39.013571"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$n.84elXTkzP8yYUvwYaHC.cgvWxFpurYIkNjQifBDBQCSsmAGxlYe"], ["updated_at", "2014-05-13 02:29:39.013571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 11ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:39.037148"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$UAWyjMxORFw11ZJmdV69lOKwhNkhhylN16hQSOFm61lGNAwoebJB2"], ["updated_at", "2014-05-13 02:29:39.037148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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" = 'page-1' LIMIT 1 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 ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'page-1') LIMIT 1 SQL (1.4ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:39.173476"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-13 02:29:39.173476"], ["user_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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (1.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:39.189619"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-1" for 127.0.0.1 at 2014-05-12 21:29:39 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-1"} Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-1' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (8.6ms) Completed 200 OK in 57ms (Views: 55.2ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:39.273060"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$Zno4e0WvAKOFFRXbjQmTm.Xg/quZ070JPNvJWSDH2GDavmU8cXswu"], ["updated_at", "2014-05-13 02:29:39.273060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:41 -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.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 24.1ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:29:41 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:29:41 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:29:41.695793"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:29:41.695793"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:29:41.697269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50660/ Completed 302 Found in 17ms (ActiveRecord: 0.9ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:29:41 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.4ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:29:41 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (16.9ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (5.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 38ms (Views: 34.5ms | ActiveRecord: 0.7ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:29:41 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:41.931786"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:29:41.931786"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.0ms) Completed 200 OK in 29ms (Views: 13.1ms | ActiveRecord: 0.7ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-12 21:29:41 -0500 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:42.922492"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$4L2HkBDQ0MEUV2lslHdPweCcklfIujndfpbGq7LqGzSR/jwbkdl1u"], ["updated_at", "2014-05-13 02:29:42.922492"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:42 -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 (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:29:42.942068"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:29:42.942068"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:29:42.943136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:29:42 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:42.956879"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$riF9pJJqjiinp0eMGYitLOj7Te9My5lioUAmQ7Ps2F1Kz4EsKDop6"], ["updated_at", "2014-05-13 02:29:42.956879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:42.961538"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:29:42.961538"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:42.967286"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$annQu6LpOx.MRBQwtF/lb.Aaof2o5emO7TPVGluHKKYmY0S5Gd5Re"], ["updated_at", "2014-05-13 02:29:42.967286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:42.971580"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:29:42.971580"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:29:42 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 0.5ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:43.004134"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$BX81oWZbUbKPp9wH5TUx3eHodKmjktJEGzbUof5mzMF5KsFLYpJ5m"], ["updated_at", "2014-05-13 02:29:43.004134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29: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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:29:43.125021"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:29:43.125021"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:29:43.126220"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50660/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:29:43 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:43.192383"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$iLlh.bNtxYRI570UHaV6p.eUqNIcEeCcpof4URFYUGrQK06qTVLiW"], ["updated_at", "2014-05-13 02:29:43.192383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:43.197392"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:29:43.197392"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:29:43 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 10.9ms | ActiveRecord: 0.6ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-12 21:29:44 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.5ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:44.251091"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$Rt6sRbnPfpEkaCsuih9dduEorTdPRunB/yByeAeHcMkqoXqpZ5O42"], ["updated_at", "2014-05-13 02:29:44.251091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:44.260671"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 02:29:44.260671"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:44.264853"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$tsT.oAGL8YU29g0AkkiI7eSgnsczf4r19zkqGIr/lg/bnBIowehse"], ["updated_at", "2014-05-13 02:29:44.264853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:44.267343"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-13 02:29:44.267343"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:44.272727"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$abVHO23D91hknjmmCk/BbehjDWDafWwB8rVN6M.VVNCX6SF4BR2Yu"], ["updated_at", "2014-05-13 02:29:44.272727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:44.274239"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-13 02:29:44.274239"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-12 21:29:44 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.2ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:44.317090"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$GIqtMK.slQqZkc7D5CtMk.DlYc6jIxHm..SrepZ6f9M8w/O/GCJ5q"], ["updated_at", "2014-05-13 02:29:44.317090"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:44.319171"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-13 02:29:44.319171"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 21:29:44 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.1ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:44.348476"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$ty19waghvb2frRGuVifGT.s0v/FrKvyUaPRMZD5EOFQ8JQas2X7kO"], ["updated_at", "2014-05-13 02:29:44.348476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:44 -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 (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:29:44.367458"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:29:44.367458"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:29:44.368481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:29:44 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.3ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:44.384832"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$Xje9IrCvczyQmlbcLr9eEemvKHhM1A6PqChL6CtFlA36l0kHJW1e2"], ["updated_at", "2014-05-13 02:29:44.384832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:44.386217"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-13 02:29:44.386217"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:44.389675"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$VXij5RQoNDC/QuOVyjQ9CO3/l5vxOal4nN.Y5aKNfbdRugvmg5xr."], ["updated_at", "2014-05-13 02:29:44.389675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:44.390922"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-13 02:29:44.390922"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:44.394183"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$rk1RF.7QUQ3esP5t0lOwVec2uxWH9h.Ef8Pp8cjeAsWmG93s87Tde"], ["updated_at", "2014-05-13 02:29:44.394183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:44.395407"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-13 02:29:44.395407"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-12 21:29:44 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 12.7ms | ActiveRecord: 0.4ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:44.469229"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$0Dxa7QxtBvLUIXlFMa7pguYFG6c1p8B003f3zH6sM5Z0OAVHn.Lpe"], ["updated_at", "2014-05-13 02:29:44.469229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:44 -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 (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 61ms (Views: 59.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user17@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:29:44.637289"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:29:44.637289"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:29:44.638117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50660/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:29:44 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:44.709377"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$MKJcXDhnvbFAKPbziC1i8.YfAJEEpmAKZWCg1WGChhrYpn8l/Yz7e"], ["updated_at", "2014-05-13 02:29:44.709377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:44.711754"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "t"], ["title", "Post #8"], ["updated_at", "2014-05-13 02:29:44.711754"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:44.716653"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$fqh0KRSnAMZP840j/xmS1e3M1ZLwsJBpi4s1gJ2mhZWCGyd8WUL66"], ["updated_at", "2014-05-13 02:29:44.716653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:44.718141"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-13 02:29:44.718141"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:44.724484"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$3A0wamltk.T7JWsN7Pyay.jC458jF6Kisb2Vqkm36l/mlLFutD.R6"], ["updated_at", "2014-05-13 02:29:44.724484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:44.727004"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-13 02:29:44.727004"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-12 21:29:44 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-12 21:29:45 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 5ms (ActiveRecord: 0.4ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:45.785153"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$FlHkKJzeO.HMYU0Y8PJ8VObsC3YKJxocuFgIIUhd1By/BeqBA42fy"], ["updated_at", "2014-05-13 02:29:45.785153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:45 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:29:45.804594"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:29:45.804594"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:29:45.805537"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:29:45 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-12 21:29:45 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.3ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (15.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 22.1ms | ActiveRecord: 0.5ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-12 21:29:45 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Post"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-13 02:29:45.860855"], ["excerpt", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-13 02:29:45.860855"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 21:29:45 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:45.887942"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$0ARlVPbAkiyZ2Wq36a4M0ONJPGTWd/fdlMtqil55bEhm1R.vfmMFm"], ["updated_at", "2014-05-13 02:29:45.887942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:45 -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 (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user22@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:29:45.906834"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:29:45.906834"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:29:45.907268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:29:45 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:45.921662"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$xFxd0UcQTvtKNO9lnSaQWOAjNsfweLxPx0yPE8G0Cm0Pw4eyUKIrO"], ["updated_at", "2014-05-13 02:29:45.921662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:45.923224"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "f"], ["title", "Post #11"], ["updated_at", "2014-05-13 02:29:45.923224"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-12 21:29:45 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (9.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.4ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-12 21:29:45 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #11. It was a dark and stormy night.", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-13 02:29:45.952449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 21:29:45 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:45.981530"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$SVo2UUF/qKCyBlVDsGO8Uelajjdb0wJ1ljbbW7vKuUwVrvSYyCLq6"], ["updated_at", "2014-05-13 02:29:45.981530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:45.984935"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-13 02:29:45.984935"], ["user_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"]] 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:45.988644"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:45.994517"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$6.FyJV47hFDSEICKMYszceOCaBRidJkMMyP06zQt/3ZlPfJ4mlpLq"], ["updated_at", "2014-05-13 02:29:45.994517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:45 -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.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user25@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:29:46.016920"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:29:46.016920"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:29:46.017416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:29:46 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:46.032385"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$9B3aP/WvYQ5D6Di4Yff9fuxqup.GNYap3qFa8Jo7thcn1yqjKjx8G"], ["updated_at", "2014-05-13 02:29:46.032385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:46.035643"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-13 02:29:46.035643"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-3' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:46.038536"], ["slug", "page-3"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:46.042279"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$hmGeaH2zZgD8verxBoLlAOmM3UTXFll6FWEDYvCwK2HsblqIf/3T2"], ["updated_at", "2014-05-13 02:29:46.042279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:46.045837"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-13 02:29:46.045837"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-4' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:46.048431"], ["slug", "page-4"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:46.052485"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$LOFGxjte4C00XS8cHUnVseRdjLEoisfWR9FxGX8mPLg7I2VoxC9/C"], ["updated_at", "2014-05-13 02:29:46.052485"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:46.056030"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-13 02:29:46.056030"], ["user_id", 4]] 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::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" = 'page-5' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:46.059418"], ["slug", "page-5"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-12 21:29:46 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (3.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 15.1ms | ActiveRecord: 0.5ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:46.144894"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$SsS3dJrlMDi9inbUH0NYyek61PAEnx0Fg9XTcvlYJQcdZWF6W6mp."], ["updated_at", "2014-05-13 02:29:46.144894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:46 -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 (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:29:46 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user29@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:29:46.269163"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:29:46.269163"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:29:46.270037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50660/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:29:46 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.8ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:29:46 -0500  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:46.341863"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$GIaw7QwPyapmIzGMLFXqZOXHjEUMCxkKxGq2pS9DjPoe5HeZ/eo8i"], ["updated_at", "2014-05-13 02:29:46.341863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:46.345104"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-13 02:29:46.345104"], ["user_id", 2]] 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"]] 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" = 'page-6' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:46.348005"], ["slug", "page-6"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:46.351825"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$Y8pgK7CnO/MHEYMxnF4LY.6fbwMARUGVRl3AKrJSI3ZeBRn/5Nf3K"], ["updated_at", "2014-05-13 02:29:46.351825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:46.354920"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-13 02:29:46.354920"], ["user_id", 3]] 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::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" = 'page-7' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:46.357408"], ["slug", "page-7"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:46.361147"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$Ru9kprNZqh20kenjO3s7AeU4SAMnPnpdMNrAgNCFM86mkJcBFi/7u"], ["updated_at", "2014-05-13 02:29:46.361147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-8' 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" = 'page-8') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:46.366269"], ["published", "t"], ["slug", "page-8"], ["title", "Page #8"], ["updated_at", "2014-05-13 02:29:46.366269"], ["user_id", 4]] 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::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" = 'page-8' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:46.369914"], ["slug", "page-8"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-12 21:29:46 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (3.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.3ms) Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:29:46 -0500 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-6" for 127.0.0.1 at 2014-05-12 21:29:47 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-6"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-6' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_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 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.9ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:47.405130"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$yOwqi9.iWkbONyOiXQWJau.mB0aSOiZTSPzLB13hPQB13.1YAWLKK"], ["updated_at", "2014-05-13 02:29:47.405130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:47 -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 (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user33@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:29:47.420735"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:29:47.420735"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:29:47.422056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:29:47 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-12 21:29:47 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (17.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 31ms (Views: 24.2ms | ActiveRecord: 0.5ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-12 21:29:47 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Page"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-13 02:29:47.479128"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-13 02:29:47.479128"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:47.481883"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages Completed 302 Found in 12ms (ActiveRecord: 0.9ms) Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-12 21:29:47 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (1.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:47.517952"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$h8SuMjoA.u3dDmNenaGMmO1izf6fhsDkY.Kswjy5tb7lzvu6h956a"], ["updated_at", "2014-05-13 02:29:47.517952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:47 -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.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:29:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user34@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:29:47.536558"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:29:47.536558"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:29:47.536921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:29:47 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:47.550263"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$oaFhfs.ea34YddWR/BpmIOwH7zkmMH4xCN1vSDOBMKSYknbf6crre"], ["updated_at", "2014-05-13 02:29:47.550263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-9' 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" = 'page-9') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:29:47.555233"], ["published", "f"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-13 02:29:47.555233"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-9' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:47.559133"], ["slug", "page-9"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-9/edit" for 127.0.0.1 at 2014-05-12 21:29:47 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-9"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-9' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (7.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 14.1ms | ActiveRecord: 0.5ms) Started PATCH "/dashboard/pages/page-9" for 127.0.0.1 at 2014-05-12 21:29:47 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Page", "id"=>"page-9"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-9' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "content" = ?, "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["content", "It was a dark and stormy night..."], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-13 02:29:47.589921"]] 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"]] SQL (0.0ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:29:47.592360"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/the-story Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET "/the-story" for 127.0.0.1 at 2014-05-12 21:29:47 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"the-story"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'the-story' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:38:12.450884"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$G830WnAtvw87xY1isAQvKeyQOp4PFnxAJ/Z.NstoGO2f6SLtx11H."], ["updated_at", "2014-05-13 02:38:12.450884"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:38:14 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (67.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (1.0ms) Completed 200 OK in 369ms (Views: 353.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:38:15 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:38:15 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:38:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:38:15.515104"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:38:15.515104"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:38:15.516719"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:51368/ Completed 302 Found in 25ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:38:15 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 17ms (Views: 14.8ms | ActiveRecord: 0.5ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:38:15 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (16.2ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (22.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 161ms (Views: 156.9ms | ActiveRecord: 0.7ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:38:15 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:38:15.888978"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:38:15.888978"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (3.8ms) Completed 200 OK in 38ms (Views: 12.2ms | ActiveRecord: 0.6ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-12 21:38:15 -0500 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:38:16.902981"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$O66zCZ9SlKl4jdLd3Tx0FeX0BQ4pZNYcUKWRkBdNWFiOb889YIBkW"], ["updated_at", "2014-05-13 02:38:16.902981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:38:16 -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 (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/storytime/application (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:38:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:38:16.924018"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:38:16.924018"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:38:16.925042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:38:16 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.3ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:38:16.940637"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$4P3TQHx1nMb50HTfs.jXo.vfkZrjzsjXIT6bWKi/a041p.6ulXYfq"], ["updated_at", "2014-05-13 02:38:16.940637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:38:16.944573"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:38:16.944573"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:38:16.950837"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$hlYDf4IDiOePV3YLvpwFO.qB1XJqWOOeL.B6Y1zxTzV5G1grSrrFy"], ["updated_at", "2014-05-13 02:38:16.950837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:38:16.955822"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:38:16.955822"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:38:16 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (3.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (7.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.4ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:38:16.994021"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$YC2/0pjpSMDopkIkx8.ffuxBg.sTdqC9/W193psfsRD3vQwFUWXfW"], ["updated_at", "2014-05-13 02:38:16.994021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:38:17 -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 (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/storytime/application (2.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:38:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:38:17.116715"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:38:17.116715"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:38:17.117577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:51368/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:38:17 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:38:17.187952"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$2Im/ljVgYh8tQ7Sq1RIfN.N.kTf9LeUJnDbWp2IOXQjA/LuJ2Rl3K"], ["updated_at", "2014-05-13 02:38:17.187952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:38:17.194847"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 02:38:17.194847"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:38:17.198957"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$rztCg8zSyLxFhwpThCzZOOogpM7iSFMNrhPBx.X85hnPvd6wamHYq"], ["updated_at", "2014-05-13 02:38:17.198957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:38:17.203245"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:38:17.203245"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 21:38:17 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:38:19.316585"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$R6SxjStXayPjOl17yhZZ/OM.vkQ2.pPjc6jEC.9O/81cDlDd7Sjqu"], ["updated_at", "2014-05-13 02:38:19.316585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:38:19 -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 (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:38:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:38:19.443627"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:38:19.443627"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:38:19.444136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:51368/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:38:19 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:38:19.524631"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$mSdyjhPyLuH7d/vDkO.qSOQLTd31qFL4xDNlxEhFev8h6vuT4D9hS"], ["updated_at", "2014-05-13 02:38:19.524631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:38:19.529581"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:38:19.529581"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 21:38:19 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.4ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-12 21:38:20 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.5ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:39:31.700646"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$4zSAH1PCxkKgsNtOxQJNOu08A0n9Kcxx8PiQ4mAQOfW2HIjKBSwva"], ["updated_at", "2014-05-13 02:39:31.700646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:39:33 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (69.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 135ms (Views: 121.3ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:39:34 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:39:34 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:39:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:39:34.215850"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:39:34.215850"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:39:34.216974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:51387/ Completed 302 Found in 19ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:39:34 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:39:34.305092"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$o79p.Bl/FB4v4B.t4dshhuIWA.Yb/LN/kOI934UnrqQeVtVA4Q0vC"], ["updated_at", "2014-05-13 02:39:34.305092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:39:34.316563"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 02:39:34.316563"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:39:34.321493"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$ArKLGzAzJSMMrd5ytX7VZOb8xYGzvMTZQAXMvVGhn.QVIvJuRPd82"], ["updated_at", "2014-05-13 02:39:34.321493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:39:34.355319"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:39:34.355319"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 21:39:34 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.1ms)  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:45:11.654962"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$VAnhFreOVL6nf5a4CMyFPuN6EI.so2vOdzFuVt92oFgBpiahxq5Iu"], ["updated_at", "2014-05-13 02:45:11.654962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:45:14 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (73.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 147ms (Views: 127.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:45:14 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:45:14 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:45:14 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:45:14.545471"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:45:14.545471"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:45:14.546800"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:51467/ Completed 302 Found in 19ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:45:14 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:45:14.639154"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$7CB.b/a55GmMAubUKAwC1.Rms1Ea/16wwTz9PxoFuuXdNHwSiyU6i"], ["updated_at", "2014-05-13 02:45:14.639154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:45:14.650479"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 02:45:14.650479"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:45:14.656020"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$8J63rtIS/bHQEIWYBfp33.uLYuApzZM2.k.vi1QsReTC9FE.kH1Le"], ["updated_at", "2014-05-13 02:45:14.656020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:45:14.694247"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:45:14.694247"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 21:45:14 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms)  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:48:53.774578"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$uTslSX9XjyLmgp2qUjL1NO00r1ZmFOc5qZ.YNEjQOWxJUwYvPPnpe"], ["updated_at", "2014-05-13 02:48:53.774578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:48:56 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (71.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 139ms (Views: 124.9ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:48:56 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:48:56 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:48:56 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:48:56.658403"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:48:56.658403"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:48:56.659577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:51511/ Completed 302 Found in 18ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:48:56 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:48:56.743911"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$JyGlpayC6mHoT9dwTiuY3OmWz9LiOTV8.wSeaHZlT8v2BynwDpdn."], ["updated_at", "2014-05-13 02:48:56.743911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:48:56.757657"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 02:48:56.757657"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:48:56.763838"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$BGY56MKsUM8M8dCk9SuaJ.xXpQTXj7czAAAgVIXdVGb5bYlidFJo6"], ["updated_at", "2014-05-13 02:48:56.763838"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:48:56.805710"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:48:56.805710"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 21:48:56 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.1ms)  (2.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:49:06.154305"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$HsFeypMHLhoqUCJKf9gxTei.lw4eyY.V6X/1RvSgmQgM/A4JbD6ZK"], ["updated_at", "2014-05-13 02:49:06.154305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:49:08 -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/storytime/application (65.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 130ms (Views: 117.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:49:08 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:49:08 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:49:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:49:08.764858"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:49:08.764858"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:49:08.765961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:51523/ Completed 302 Found in 18ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:49:08 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:49:08.862351"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$T3rCzNF32mXy5rV3AQJDJuNhDBwEZ1YzhS57vLaKJQjTggKkND8PC"], ["updated_at", "2014-05-13 02:49:08.862351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:49:08.874153"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 02:49:08.874153"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:49:08.879232"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$EYvk8lUCOjjLey8uvdzJzeW57YF1lK37NCUq5.zB73Tv1eIrNSrq6"], ["updated_at", "2014-05-13 02:49:08.879232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:49:08.914510"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:49:08.914510"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 21:49:08 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms)  (3.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:49:46.692866"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$DKcIGNqrUhYk6DHj7/xKge0wnwJIP7xFzZyT05hpginbvRr.UsUe6"], ["updated_at", "2014-05-13 02:49:46.692866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:49:48 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (66.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 132ms (Views: 117.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:49:49 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:49:49 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:49:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:49:49.228909"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:49:49.228909"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:49:49.230031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:51532/ Completed 302 Found in 17ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:49:49 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 17ms (Views: 15.0ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:49:49.329504"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$YfefDmPwRTes1Gcir2kJ..gHN0MYaofl2fpSR33cjBqbY26zgbUHy"], ["updated_at", "2014-05-13 02:49:49.329504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:49:49.340564"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 02:49:49.340564"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:49:49.345194"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$0FYSW5p4xJoYAyKmoN5rLO00/RLR14l/6N0fUbGmRbO7tallT.TB2"], ["updated_at", "2014-05-13 02:49:49.345194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:49:49.381194"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:49:49.381194"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 21:49:49 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms)  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:50:52.525048"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$3NIrQ82uRRD4MopFBfn76O8mn1Cl8LJ4oqli.L53KH0VeNasFvx.i"], ["updated_at", "2014-05-13 02:50:52.525048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:50:54 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (67.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (1.0ms) Completed 200 OK in 355ms (Views: 336.5ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:50:55 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:50:55 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:50:55 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:50:55.387722"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:50:55.387722"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:50:55.388891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:51549/ Completed 302 Found in 23ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:50:55 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 14ms (Views: 11.8ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:50:55.480123"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$Tkir1mJ2tBiqR3h68mS8ee5e.hsXf6jtD.AaVQd9wMy7i3awT8p.C"], ["updated_at", "2014-05-13 02:50:55.480123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:50:55.492933"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 02:50:55.492933"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:50:55.498430"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$kAIfxOFFKY0YPQMmJcE04OYfI3jpLHdhNyO189m95N..wuxwrJavy"], ["updated_at", "2014-05-13 02:50:55.498430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:50:55.507291"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:50:55.507291"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 21:50:55 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms)  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:55:35.039173"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$xLV8wSe4OIArvaIkLaJljuPkrW0sSNUJfbiQFSpM20bA4/qZ0XuFi"], ["updated_at", "2014-05-13 02:55:35.039173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:55:37 -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 (3.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (103.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (1.0ms) Completed 200 OK in 212ms (Views: 190.1ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:55:38 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:55:38 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:55:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 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 (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:55:38.531835"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:55:38.531835"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:55:38.537972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:51602/ Completed 302 Found in 37ms (ActiveRecord: 1.7ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:55:38 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 19ms (Views: 16.4ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:55:38.668926"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$U1.wh79XO2Ny0KG0axgPeOcKq/M2xXcFqemD436L2lwfgs/Jaujsi"], ["updated_at", "2014-05-13 02:55:38.668926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:55:38.687145"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 02:55:38.687145"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:55:38.694364"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$rNfox4i53cny/2igDS83KO2tEI/BUeqzwFMFrizYY2B5frhie6yUC"], ["updated_at", "2014-05-13 02:55:38.694364"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:55:38.743354"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:55:38.743354"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 21:55:38 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.1ms)  (2.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:56:27.793092"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$SSAQc0vI/pAVkoYKdPIqP.vW5peVtOFeLgqeGzxy/lD7JzbnyFPTu"], ["updated_at", "2014-05-13 02:56:27.793092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:56:30 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (72.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 140ms (Views: 126.1ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 21:56:31 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 21:56:31 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 21:56:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 02:56:31.279921"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 02:56:31.279921"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 02:56:31.281588"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:51683/ Completed 302 Found in 25ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-12 21:56:31 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:56:31.373473"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$4AmlbjZacTguJL3BvR139eGWN4gu47sZ2INBbnyU8MvQIseZSjoo6"], ["updated_at", "2014-05-13 02:56:31.373473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 02:56:31.385578"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 02:56:31.385578"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:56:31.390557"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$tGZ5OZ40KWep83ZCglLZbOi55cfszIx0sh0mboySJzKkQHOXpzNli"], ["updated_at", "2014-05-13 02:56:31.390557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 02:56:31.432181"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 02:56:31.432181"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 21:56:31 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:00:30.682653"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$6Dq9O9Xx2LlMqFVpGPAJZuWeX6wBMrvz8Bll0/Vm/x/NjUWR7.5ZS"], ["updated_at", "2014-05-13 03:00:30.682653"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:00:33 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (65.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 138ms (Views: 122.0ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 22:00:33 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 22:00:33 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:00:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:00:33.938436"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:00:33.938436"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:00:33.939869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:51810/ Completed 302 Found in 19ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:00:33 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:00:34.028268"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$TuiI8fc4n1Gls6TiU4ji6uz3w4IWGH.xUS4Q7FKJoxS14eV4TTJ7u"], ["updated_at", "2014-05-13 03:00:34.028268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 03:00:34.039052"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 03:00:34.039052"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:00:34.043643"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$K38MEG5KHnGYbv3C2y26HuJnbXDesxPDhkGzJHbUo2oB.9nT/YN02"], ["updated_at", "2014-05-13 03:00:34.043643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:00:34.077764"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:00:34.077764"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 22:00:34 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:04:50.799821"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$.fy3POk2Y4xgT2PuI3NS1eCYtUm50d7lF8UAwhoSKCwAq99GYfZGu"], ["updated_at", "2014-05-13 03:04:50.799821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:04:53 -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 (2.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (66.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 138ms (Views: 122.9ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 22:04:53 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 22:04:53 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:04:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:04:53.592714"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:04:53.592714"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:04:53.593727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52240/ Completed 302 Found in 17ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:04:53 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:04:53.690471"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$LahSpL1fpHp4ovDN6aQRTe6doB5D4Fx/ChSVZkZonMJIPAWwnquL."], ["updated_at", "2014-05-13 03:04:53.690471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 03:04:53.702901"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 03:04:53.702901"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:04:53.707605"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$8fJavzOgWCoiFx9WA04Nl.kChdMNAD1OgAkjF5D92dADJx1A2J15S"], ["updated_at", "2014-05-13 03:04:53.707605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:04:53.756062"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:04:53.756062"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 22:04:53 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.2ms)  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:05:00.089182"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$hz9S4z3DWIjE2Osn47sGTOjHnnkKtuqUY11OSjNS4owjl4DQofo6e"], ["updated_at", "2014-05-13 03:05:00.089182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:05:02 -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 (2.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (75.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 148ms (Views: 131.6ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 22:05:02 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 22:05:02 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:05:02 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:05:02.833177"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:05:02.833177"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:05:02.834281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52252/ Completed 302 Found in 18ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:05:02 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:05:02.929333"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$KPuv5uiX07QdmFtBDO9wCu7YG.3eZ37mlGWRhaRju1s8ZT.jNHYni"], ["updated_at", "2014-05-13 03:05:02.929333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 03:05:02.942011"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 03:05:02.942011"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:05:02.948274"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$aHns37QoDu5pt.rzChjIYe5TzgR.Qc5qQ7pD/mD7V/bLM1y0sJrx6"], ["updated_at", "2014-05-13 03:05:02.948274"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:05:02.958017"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:05:02.958017"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 22:05:02 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.2ms)  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:09:55.548934"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$W24eZ1lfGmIrOrOI.jbt3O8dFoFHi6rSnsYXRMQXQMIW0k7Uhufqu"], ["updated_at", "2014-05-13 03:09:55.548934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:09:57 -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 (36.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (64.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 135ms (Views: 122.5ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 22:09:58 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 22:09:58 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:09:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:09:58.264374"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:09:58.264374"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:09:58.265429"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52311/ Completed 302 Found in 18ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:09:58 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:09:58.354142"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$lbbScctPVtKNFfq6rpGTK./rEn1ATO3SsJkpcsEpxepLDrWb3fk36"], ["updated_at", "2014-05-13 03:09:58.354142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 03:09:58.366114"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 03:09:58.366114"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:09:58.370942"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$OxvjH8WVW3Dq9SLCBmnn2.B3.8w3H/PNAf1BKbZvB96SzXikwZHs."], ["updated_at", "2014-05-13 03:09:58.370942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:09:58.379559"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:09:58.379559"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 22:09:58 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms)  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:11:30.339807"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$kLZSKuQTiLR51Aj0Xw.QieR1vqqfbXAgsJi.Ndme5CSKnee.1JRUe"], ["updated_at", "2014-05-13 03:11:30.339807"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:11:33 -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 (3.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (147.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 243ms (Views: 224.5ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 22:11:33 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 22:11:33 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:11:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:11:34.155083"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:11:34.155083"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:11:34.156667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52374/ Completed 302 Found in 22ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:11:34 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 15ms (Views: 13.3ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:11:34.265587"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$kzZP8nIGMNX.K.q2qPuB5Ok6zLJ/Ot6/I7C9xgRJCVrlLviZ3d3Ji"], ["updated_at", "2014-05-13 03:11:34.265587"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 03:11:34.280006"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 03:11:34.280006"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:11:34.285087"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$evMwkoq/iX4BpNfP/l113O2hmAoWmqJNzj9ls.sj.F7Y9lTttgWfC"], ["updated_at", "2014-05-13 03:11:34.285087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:11:34.331259"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:11:34.331259"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 22:11:34 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.1ms)  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:11:42.090645"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$McAo64qAZOxkcYg8M3zLduy9xpAAzcOubnQ5hldc.Ng406dffufhS"], ["updated_at", "2014-05-13 03:11:42.090645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:11:44 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (69.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 145ms (Views: 130.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 22:11:45 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 22:11:45 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:11:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:11:45.245998"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:11:45.245998"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:11:45.247040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52389/ Completed 302 Found in 19ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:11:45 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:11:45.332746"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$SsZqmtkjzAzqssGOd2CRGucrJoYIV4/.VGvMUwGkqqeGXjXXekAla"], ["updated_at", "2014-05-13 03:11:45.332746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 03:11:45.344860"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 03:11:45.344860"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:11:45.350864"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$aFHCo9iP2qiXEiW9.kBLouOlFujiFffmHGePSDcohCLtD/DoayuCO"], ["updated_at", "2014-05-13 03:11:45.350864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:11:45.390392"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:11:45.390392"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 22:11:45 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms)  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:38.590642"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$ndHSkN32MKgFivyHQpDFNeyTtyhWtpkW0bdWeT9NVc4OT6LeujtbS"], ["updated_at", "2014-05-13 03:12:38.590642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:12:40 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (74.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 138ms (Views: 123.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 22:12:40 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 22:12:40 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:12:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:12:41.076170"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:12:41.076170"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:12:41.077349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52404/ Completed 302 Found in 18ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:12:41 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:41.166531"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$Fll9rVk4Oh2f0ERM6Q.BzOigVG7WYB9IwTkpTJLao/1ezcauyTCK."], ["updated_at", "2014-05-13 03:12:41.166531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:41.181194"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:12:41.181194"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 22:12:41 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (15.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (24.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 130ms (Views: 126.4ms | ActiveRecord: 0.5ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-12 22:12:41 -0500 Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-12 22:12:42 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 7ms (ActiveRecord: 0.4ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:50.299871"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$mnRjkMkOMfHOEpRd3RnP4OzzHOaiXhzCSwKH.hRtpFHJ5QR9c9nX2"], ["updated_at", "2014-05-13 03:12:50.299871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:12:52 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (62.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 127ms (Views: 113.9ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 22:12:52 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 22:12:52 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:12:52 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (2.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:12:52.723800"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:12:52.723800"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:12:52.725135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52413/ Completed 302 Found in 20ms (ActiveRecord: 2.6ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:12:52 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:52.808888"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$WpQzTbKeEuuXiQN7Y0D.IuqHAMlld5G23ASrTkSuiYnG1ribqbKku"], ["updated_at", "2014-05-13 03:12:52.808888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 03:12:52.819385"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 03:12:52.819385"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:52.824071"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$Dk17R35aYjDrpK5qDST36OWRiKNlxpudZxlDmCgwTlVee.jeV4u.6"], ["updated_at", "2014-05-13 03:12:52.824071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:52.833760"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:12:52.833760"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 22:12:52 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:54.951268"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$sizTvd0OBtblQ4r3bANSJ.h.GBBhig8oXDQCpK.XBESJ53oh6qCPe"], ["updated_at", "2014-05-13 03:12:54.951268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:12:54 -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.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:12:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:12:54.968338"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:12:54.968338"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:12:54.969286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:12:54 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:54.981778"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$Ds4uAsYAIBnr36y/cBl0XOuHl3Z0jzoCZ2rqxq71BvXzGppcSRS.y"], ["updated_at", "2014-05-13 03:12:54.981778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:54.987190"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:12:54.987190"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:54.995184"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$3mQzHZ.BE.WK4C6gGR5H9upqKTbxTjKG3qzFZmZsLql6fqWTdyFZ6"], ["updated_at", "2014-05-13 03:12:54.995184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:54.999132"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:12:54.999132"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 22:12:55 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (14.9ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (24.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 159ms (Views: 155.7ms | ActiveRecord: 0.5ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:55.187208"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$lL9R4QVPGfrHuIXWqQg/Ae.0mhLp33XbIbBw5H8UgSMcRhZh7fn5G"], ["updated_at", "2014-05-13 03:12:55.187208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:12:55 -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 (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/storytime/application (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:12:55 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:12:55.291198"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:12:55.291198"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:12:55.292037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52413/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:12:55 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:55.358489"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$ftpqfTCdYY9jx0IwKm6hReB.8LtqLFtAHmUD8ZdCejtSQbF1dD.vy"], ["updated_at", "2014-05-13 03:12:55.358489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:55.363257"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:12:55.363257"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 22:12:55 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.5ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-12 22:12:55 -0500 Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-12 22:12:56 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 6ms (ActiveRecord: 0.4ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:56.429308"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$WsG9J3wSJKtpmZrULZ2DLOdnukYjbe6hrRXeXK94oQJD/lvgvd/yS"], ["updated_at", "2014-05-13 03:12:56.429308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:12:56 -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 (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/storytime/application (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:12:56 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:12:56.544156"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:12:56.544156"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:12:56.544565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52413/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:12:56 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-12 22:12:56 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.4ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-12 22:12:56 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:12:56.726101"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:12:56.726101"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (3.3ms) Completed 200 OK in 35ms (Views: 11.9ms | ActiveRecord: 0.5ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:13:32.126617"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$/wRASRGqhUUYWrecLW4aZei4m07eiv36Px1oFWq6qyeTFdZbo9./u"], ["updated_at", "2014-05-13 03:13:32.126617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:13:34 -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/storytime/application (26.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.7ms) Completed 200 OK in 96ms (Views: 81.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 22:13:34 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 22:13:34 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:13:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:13:34.570670"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:13:34.570670"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:13:34.571825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52428/ Completed 302 Found in 19ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:13:34 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:13:34.660491"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$QHxBa/7eZi8y2yJOzcnjNOgYXJX6HQZlgHddBKKKLIhYIQCwjp.NK"], ["updated_at", "2014-05-13 03:13:34.660491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 03:13:34.673142"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 03:13:34.673142"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:13:34.678500"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$S8u0hsfmmStDWtH5ppLzCekOe2tPGxM4yzUfAwuQkc1IOeFF4jBWO"], ["updated_at", "2014-05-13 03:13:34.678500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:13:34.688061"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:13:34.688061"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 22:13:34 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.2ms)  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:13:51.989556"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$uV7KIfmPzWP3EKK9DddNCe2QtGKJOd26jdYDDNd9xMXrShWpMmmDG"], ["updated_at", "2014-05-13 03:13:51.989556"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:13:54 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (64.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 145ms (Views: 126.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 22:13:54 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 22:13:54 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:13:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:13:54.933627"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:13:54.933627"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:13:54.934766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52437/ Completed 302 Found in 18ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:13:54 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:13:55.020711"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$2jaCz4JAmG46VpMjXL.NDOY7oohdGnj/fzNLgrulU/uG3eXzZFb6S"], ["updated_at", "2014-05-13 03:13:55.020711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 03:13:55.033706"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 03:13:55.033706"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:13:55.039440"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$40ANxyvnmGHR0Ces33pAsONJncSTK0jrz6f0DFliFm8OZisjfdoM."], ["updated_at", "2014-05-13 03:13:55.039440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:13:55.076875"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:13:55.076875"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-12 22:13:55 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms)  (2.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.6ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:19:30.281616"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$3uNBJj.MFM2cPzJeL3JtCugI03BAKL/eDtJTBjf7k7v7EeWnqN6Hy"], ["updated_at", "2014-05-13 03:19:30.281616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:19:33 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (79.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 182ms (Views: 166.9ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 22:19:33 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 22:19:33 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:19:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:19:33.822910"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:19:33.822910"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:19:33.823963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52750/ Completed 302 Found in 21ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:19:33 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.7ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.6ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 1.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:19:33.919322"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$Uzkt9cHm5uXG8t3eP18ZJ.aQVsaw7nTxqkTqiQDHN0VhFTYR5bJn6"], ["updated_at", "2014-05-13 03:19:33.919322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 03:19:33.933437"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 03:19:33.933437"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:19:33.938503"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$M/BlG9MfIRjOPMvFVla5zuRKlU18V0VzxEcYxa1MAGz2NSe0l/LcC"], ["updated_at", "2014-05-13 03:19:33.938503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:19:33.947629"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:19:33.947629"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-12 22:19:33 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (4.7ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (16.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (42.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (45.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 178ms (Views: 173.7ms | ActiveRecord: 0.6ms) Started GET "/dashboard/posts/1/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-12 22:19:34 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-12 22:19:34 -0500  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:20:01.357679"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$tKEhTYfErnKVKkcSaD5i.e2zgNmYSvQ0sKtfaU6Q4YSQjf.Fphaee"], ["updated_at", "2014-05-13 03:20:01.357679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:20:03 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (65.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (1.1ms) Completed 200 OK in 132ms (Views: 118.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 22:20:03 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 22:20:03 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:20:03 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:20:03.807040"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:20:03.807040"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:20:03.808029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52763/ Completed 302 Found in 17ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:20:03 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:20:03.893534"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$SSmwLD3ZJ41IZENsWhfWy.GdwBbLvP4rL58Z09PwG4Ll25eZYk.r."], ["updated_at", "2014-05-13 03:20:03.893534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:20:03.906609"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:20:03.906609"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-12 22:20:03 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.5ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (28.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (29.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 135ms (Views: 112.9ms | ActiveRecord: 0.6ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-12 22:20:04 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-12 22:20:04 -0500  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:20:26.275434"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$PhRynA68bx6IfvqzJA.FR.l1Ib35putu.8NI56zWSQy8Tb.Ipc/IG"], ["updated_at", "2014-05-13 03:20:26.275434"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:20:28 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (67.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 132ms (Views: 119.1ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-12 22:20:28 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-12 22:20:28 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-12 22:20:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 03:20:28.901004"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 03:20:28.901004"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 03:20:28.902196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52771/ Completed 302 Found in 18ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-12 22:20:28 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.4ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:20:28.988661"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$c1A1i1tQlOL1XIqoASX6NeUevQ3hwhna6mepWwa3UYN4wFolA7WMS"], ["updated_at", "2014-05-13 03:20:28.988661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 03:20:29.000864"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 03:20:29.000864"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-12 22:20:29 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (28.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (30.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 153ms (Views: 130.7ms | ActiveRecord: 0.6ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-12 22:20:29 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-12 22:20:29 -0500  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.4ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:37:49.131803"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Qzb08r/9wDxlQI7goUtRv.hVu2eIghHDhJ0ATeaxt/5xv4M3xZyOO"], ["updated_at", "2014-05-13 14:37:49.131803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:37:52 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (88.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 210ms (Views: 192.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 09:37:52 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 09:37:52 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:37:52 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 14:37:52.719475"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 14:37:52.719475"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 14:37:52.720912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:56839/ Completed 302 Found in 25ms (ActiveRecord: 1.8ms) Started GET "/" for 127.0.0.1 at 2014-05-13 09:37:52 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (3.8ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (7.5ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (21.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 31ms (Views: 18.1ms | ActiveRecord: 11.8ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:37:52.834318"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$49SoE1pwbNtUYuPa3PL1/u/EUJUlKXwffk/K0H.mUh7UWsOk1Ox8q"], ["updated_at", "2014-05-13 14:37:52.834318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:37:52.851656"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 14:37:52.851656"], ["user_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 09:37:52 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (9.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (17.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (46.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (48.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 172ms (Views: 146.6ms | ActiveRecord: 0.7ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 09:37:53 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 09:37:53 -0500  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:38:46.887827"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$F885m5Q/Acj2OVfjkjutyuhJyHPZMZpHnYKCjJF/0T5Yvrx3r4Lqe"], ["updated_at", "2014-05-13 14:38:46.887827"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:38:49 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (70.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 143ms (Views: 126.1ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 09:38:49 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 09:38:49 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:38:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 14:38:49.808004"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 14:38:49.808004"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 14:38:49.809182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:56853/ Completed 302 Found in 24ms (ActiveRecord: 1.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 09:38:49 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:38:49.911309"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$.2nBQzY55uRzNdpf70kBQ.ClM/tsyOVL69POrnZV/Xzyjy0wF0mmy"], ["updated_at", "2014-05-13 14:38:49.911309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:38:49.927295"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 14:38:49.927295"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 09:38:49 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (4.0ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (8.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (15.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (41.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (43.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 204ms (Views: 174.1ms | ActiveRecord: 0.7ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 09:38:50 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 09:38:50 -0500  (2.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:46:00.008240"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$M2ad6mGEUchAqjVYnLBjb.w22/SmIQReM3Iw/O0g/YfmyzbH3v8Om"], ["updated_at", "2014-05-13 14:46:00.008240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:46:02 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (89.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 197ms (Views: 179.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 09:46:02 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 09:46:02 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:46:02 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 14:46:02.761175"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 14:46:02.761175"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 14:46:02.762181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:56942/ Completed 302 Found in 22ms (ActiveRecord: 1.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 09:46:02 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (8.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 18ms (Views: 16.3ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:46:02.867563"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$/zOOtzu5sGD8cY/JTVu9nOXcy7EtkiKAlnFKU9vuHbJRjgytxN/vm"], ["updated_at", "2014-05-13 14:46:02.867563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:46:02.884218"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 14:46:02.884218"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 09:46:02 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (8.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (16.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (43.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (45.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 172ms (Views: 146.8ms | ActiveRecord: 0.6ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 09:46:03 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 09:46:03 -0500  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:48:34.585024"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Kx5631i4KcLoSZmtZ4Q.2.YKMyw2T06qdePBcb1P5XQi4kkWS4crG"], ["updated_at", "2014-05-13 14:48:34.585024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:48:36 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (78.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 183ms (Views: 167.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 09:48:37 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 09:48:37 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:48:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 14:48:37.260731"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 14:48:37.260731"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 14:48:37.261809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:56979/ Completed 302 Found in 23ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-13 09:48:37 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:48:37.353984"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$FmvFR9RGgythni17/cm9A.Uy1NgRlTbR8dlqUca6rGlqqP.BSimku"], ["updated_at", "2014-05-13 14:48:37.353984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:48:37.372538"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 14:48:37.372538"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 09:48:37 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (14.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (39.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (40.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 175ms (Views: 148.2ms | ActiveRecord: 0.6ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 09:48:37 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 09:48:37 -0500  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:48:46.971823"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$dP7sSuwBXxWDHkodzjRJp.ZGEk.qq1GTXNctMkSFu7lpYFV7vGxMm"], ["updated_at", "2014-05-13 14:48:46.971823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:48:49 -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/storytime/application (66.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 135ms (Views: 118.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 09:48:49 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 09:48:49 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:48:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 14:48:49.883198"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 14:48:49.883198"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 14:48:49.884463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:56987/ Completed 302 Found in 19ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 09:48:49 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.4ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:48:49.975164"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$/1VcDyZkdI6Z6fE9v16bEOTl7Ds1nvpQHp8MdvyH.a1ZmEQLG5FTC"], ["updated_at", "2014-05-13 14:48:49.975164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:48:49.987663"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 14:48:49.987663"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 09:48:49 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (4.1ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (14.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (35.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (37.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 181ms (Views: 160.7ms | ActiveRecord: 0.6ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 09:48:50 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 09:48:50 -0500  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:48:57.260384"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$LmAbl46gmblVgv8KfNBXFu9Tnz62gcQd3Xz8RlxLmHMLvXJhuIu4."], ["updated_at", "2014-05-13 14:48:57.260384"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:48:59 -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 (2.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (72.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 143ms (Views: 130.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 09:48:59 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 09:48:59 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:48:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 14:48:59.760828"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 14:48:59.760828"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 14:48:59.762116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57000/ Completed 302 Found in 21ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-13 09:48:59 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:48:59.855846"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$QHWtPw7tKJsUGPVixsfEYuCMN4xhAzo8KRz4iTyFv/OJAwegCJyIi"], ["updated_at", "2014-05-13 14:48:59.855846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:48:59.870186"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 14:48:59.870186"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 09:48:59 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.7ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (13.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (29.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (31.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 151ms (Views: 131.4ms | ActiveRecord: 0.6ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 09:49:00 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 09:49:00 -0500  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:49:08.226603"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$7pbDXf2HkXPWk3zXU1p5rOPEt/m6MSO4wCSp2hiZM/0uUH3gUk7S6"], ["updated_at", "2014-05-13 14:49:08.226603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:49:10 -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 (2.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (64.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 129ms (Views: 114.3ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 09:49:10 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 09:49:10 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:49:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 14:49:11.090681"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 14:49:11.090681"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 14:49:11.092061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57012/ Completed 302 Found in 19ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 09:49:11 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.4ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:49:11.176355"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$YaCs/pa8HfwQWDI3ERjit.B6YDjYHjcguw44hGn0BmXvrdUPJ.bYC"], ["updated_at", "2014-05-13 14:49:11.176355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:49:11.190404"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 14:49:11.190404"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 09:49:11 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (28.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (30.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 178ms (Views: 158.4ms | ActiveRecord: 0.6ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 09:49:11 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 09:49:11 -0500  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:49:24.503275"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$s4X68ijeYJtEr2TD1vI6uu8.pKpMJLY/3tVMC4FssCNrCCBazHSDu"], ["updated_at", "2014-05-13 14:49:24.503275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:49:27 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (67.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 132ms (Views: 116.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 09:49:27 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 09:49:27 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:49:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.4ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 14:49:27.720629"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 14:49:27.720629"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 14:49:27.722153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57026/ Completed 302 Found in 20ms (ActiveRecord: 1.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 09:49:27 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:49:27.823479"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$ROlRPdbFNdEy8DWF3qs7K.ol7G.pDqq107Gt.zwk3aay4KavM5AuO"], ["updated_at", "2014-05-13 14:49:27.823479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:49:27.839015"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 14:49:27.839015"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 09:49:27 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (6.5ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (3.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (10.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (20.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (49.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (52.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 260ms (Views: 229.3ms | ActiveRecord: 0.8ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 09:49:28 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 09:49:28 -0500  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.5ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:54:53.280577"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$lphZJuB6k.IxXHjNtxD.KurFQRg.0ki1cDm6NbveV42hXnwFU3gGa"], ["updated_at", "2014-05-13 14:54:53.280577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:54:55 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (82.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 193ms (Views: 178.3ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 09:54:55 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 09:54:55 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:54:56 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 14:54:56.034690"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 14:54:56.034690"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 14:54:56.036064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57081/ Completed 302 Found in 24ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 09:54:56 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 1.3ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:54:56.134361"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$laV1Q4xeasufb.6fj4JTteKbXGxJodTjl3qMTBtSmTH7onxxF9HIe"], ["updated_at", "2014-05-13 14:54:56.134361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:54:56.150864"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 14:54:56.150864"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 09:54:56 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.4ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (4.1ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (15.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (40.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (42.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 168ms (Views: 144.8ms | ActiveRecord: 0.8ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 09:54:56 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 09:54:56 -0500  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:55:03.510245"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$iq3QXj88Z6VQDe98x0uULeoHQ8dgUE1dyVTzM4CtqxlYf8QaRjrki"], ["updated_at", "2014-05-13 14:55:03.510245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:55:06 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (66.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 131ms (Views: 116.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 09:55:06 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 09:55:06 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:55:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 14:55:06.487950"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 14:55:06.487950"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 14:55:06.489318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57091/ Completed 302 Found in 18ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 09:55:06 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:55:06.580750"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$KKE1RA3J.G7j2W5j4yWE2OxMQ/hZAF6SLWVc58lAi7vkL3yLFHo46"], ["updated_at", "2014-05-13 14:55:06.580750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:55:06.595122"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 14:55:06.595122"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 09:55:06 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (13.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (33.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (35.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 177ms (Views: 158.0ms | ActiveRecord: 0.6ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 09:55:06 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 09:55:06 -0500  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:55:20.017327"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$L6ajlhs2JILITJHBy3FFH.QUxm/qEoxSw8GGx/enLhkGF8a3po4pm"], ["updated_at", "2014-05-13 14:55:20.017327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:55:22 -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/storytime/application (63.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 127ms (Views: 112.5ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 09:55:22 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 09:55:22 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:55:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 14:55:22.876080"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 14:55:22.876080"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 14:55:22.877152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57104/ Completed 302 Found in 17ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 09:55:22 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:55:22.966866"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$be9tDQCz4wI/Lw7TLdDbfe4jFEPtDPuZhJo7h9EU6Wj8xbbWJIgz2"], ["updated_at", "2014-05-13 14:55:22.966866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:55:22.981116"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 14:55:22.981116"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 09:55:22 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (13.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (29.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (31.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 169ms (Views: 145.8ms | ActiveRecord: 0.7ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 09:55:23 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 09:55:23 -0500  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:59:27.377138"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Lt3IrDuVdjdltNIkjtK7eegFVDfx5ff1GJpM6m1dnBNsJeIrn/XrO"], ["updated_at", "2014-05-13 14:59:27.377138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:59:29 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (65.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 133ms (Views: 119.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 09:59:29 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 09:59:29 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:59:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 14:59:29.941354"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 14:59:29.941354"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 14:59:29.942591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57194/ Completed 302 Found in 17ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 09:59:29 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.4ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:59:30.031513"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$CZiuraU2RM.n5ehyTZApLe0UacB6ZGxM54uQLKlqK8Td624HaDNxS"], ["updated_at", "2014-05-13 14:59:30.031513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:59:30.043825"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 14:59:30.043825"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 09:59:30 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.8ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (13.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (30.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (32.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 145ms (Views: 125.4ms | ActiveRecord: 0.6ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 09:59:30 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 09:59:30 -0500  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:59:47.617414"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$2lEPctFvYa88Cls29QHGOe.wtTK4IjVhLKebpC4TaUERL4gXEwV6W"], ["updated_at", "2014-05-13 14:59:47.617414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:59:50 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (60.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 123ms (Views: 109.6ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 09:59:50 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 09:59:50 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 09:59:50 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 14:59:50.475912"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 14:59:50.475912"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 14:59:50.477178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57203/ Completed 302 Found in 19ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-13 09:59:50 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.4ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:59:50.563230"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$G7foWrFOwjZLKzHJdgiPceWH5LZuqqZmiepEGGbaPoMLnmGxD1f6m"], ["updated_at", "2014-05-13 14:59:50.563230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 14:59:50.576979"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 14:59:50.576979"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 09:59:50 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (9.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (18.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (37.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (39.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 178ms (Views: 157.0ms | ActiveRecord: 0.7ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 09:59:50 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 09:59:50 -0500  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:00:19.277807"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$BUnxmh4erAkYZEA2L7UxP.iAEt0uzkBBkiCloE6zh.20dUdoeWvSO"], ["updated_at", "2014-05-13 15:00:19.277807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:00:21 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (74.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 140ms (Views: 125.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 10:00:21 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 10:00:21 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:00:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:00:22.160811"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:00:22.160811"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:00:22.162149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57230/ Completed 302 Found in 17ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:00:22 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.4ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:00:22.246474"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$HB6KZJgUSo2fgjSh56ZaDO8Uwfox93T/8NGrVfpDoI3R67lcTdXoS"], ["updated_at", "2014-05-13 15:00:22.246474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:00:22.260436"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 15:00:22.260436"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 10:00:22 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.8ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (13.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (33.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (35.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 179ms (Views: 157.9ms | ActiveRecord: 0.6ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 10:00:22 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 10:00:22 -0500  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:00:47.950964"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$.YQBkhyltUYp3b/b7n5gjeRR8qsR6NneJTmzG0bNGIE7DtrHVCVEK"], ["updated_at", "2014-05-13 15:00:47.950964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:00:50 -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/storytime/application (67.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 130ms (Views: 117.3ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 10:00:50 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 10:00:50 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:00:50 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:00:50.400322"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:00:50.400322"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:00:50.401515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57243/ Completed 302 Found in 19ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:00:50 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.7ms) Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.4ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:00:50.490479"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$zCIPMdDKeoaGuR7I6.n0nOKJrB84h2uVOQDbQhv9VgJyglMBTEpI."], ["updated_at", "2014-05-13 15:00:50.490479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:00:50.502386"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 15:00:50.502386"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 10:00:50 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (11.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (30.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (32.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 137ms (Views: 118.9ms | ActiveRecord: 0.6ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 10:00:50 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 10:00:50 -0500  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:01:22.363908"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$WvDn129R8oSHLNVGAzX9le1oRG4m7YGP1lbjsRpcjGWZIX6C.Btbm"], ["updated_at", "2014-05-13 15:01:22.363908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:01:24 -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/storytime/application (62.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 125ms (Views: 111.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 10:01:25 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 10:01:25 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:01:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:01:25.226311"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:01:25.226311"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:01:25.227531"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57251/ Completed 302 Found in 18ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:01:25 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.4ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:01:25.311663"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$tEFJBFYHVWcBKV03JNn/XuWV5HLBb5dD.jiPUdfdufrX65mTx/HZS"], ["updated_at", "2014-05-13 15:01:25.311663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:01:25.328891"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 15:01:25.328891"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 10:01:25 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.7ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (29.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (31.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 139ms (Views: 115.3ms | ActiveRecord: 0.7ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 10:01:25 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 10:01:25 -0500  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:01:49.148495"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$C/WgkrJW224WCv93nYnNqetvM5Kh3zwBzLUepi9ClbTOo7TTJucm2"], ["updated_at", "2014-05-13 15:01:49.148495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:01:51 -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/storytime/application (63.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 130ms (Views: 112.6ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 10:01:51 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 10:01:51 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:01:51 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:01:51.610604"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:01:51.610604"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:01:51.611761"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57267/ Completed 302 Found in 18ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:01:51 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (8.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.9ms) Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.7ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:01:51.703523"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$opeF4m5qNSqwHoPc4XincODSO7FgnJGBYFUW5VaQvoUTGItFa/Me6"], ["updated_at", "2014-05-13 15:01:51.703523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:01:51.716371"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 15:01:51.716371"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 10:01:51 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.5ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (13.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (29.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (30.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 142ms (Views: 118.3ms | ActiveRecord: 0.6ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 10:01:51 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 10:01:51 -0500  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:02:10.840323"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$AdGdjLqrgaruRvkiTSKNMO7yYAQRkjg633Xfd67KGLSNrFAJVUyTO"], ["updated_at", "2014-05-13 15:02:10.840323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:02:13 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (67.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.7ms) Completed 200 OK in 137ms (Views: 123.1ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 10:02:13 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 10:02:13 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:02:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 (1.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:02:13.840479"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:02:13.840479"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:02:13.841690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57275/ Completed 302 Found in 19ms (ActiveRecord: 1.7ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:02:13 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:02:13.940218"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$BPfy5trxDQi2HOW3Fx5ON.4nDhbx1ZIpWiVCk/Bx2WjGb45sViKEi"], ["updated_at", "2014-05-13 15:02:13.940218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:02:13.955777"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 15:02:13.955777"], ["user_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 10:02:13 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.7ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (8.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (14.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (31.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (33.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 196ms (Views: 173.1ms | ActiveRecord: 0.7ms) Started GET "/dashboard/posts/css/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-13 10:02:14 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 10:02:14 -0500  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.4ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:39.325815"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$z.EgDFOeBXkJRD477Krc8eSWl9ng3GK6jHmGBO0049JZuIccD1agO"], ["updated_at", "2014-05-13 15:12:39.325815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Page Exists (0.5ms) 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" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (2.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:12:39.455074"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-13 15:12:39.455074"], ["user_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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (1.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:39.480191"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:39.489258"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$8I9X5zor.Yca8xjBjQ.P7.DmcDSNsKfKx.ImU9ACzJy3YMRRhKj8m"], ["updated_at", "2014-05-13 15:12:39.489258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:12:39.496664"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 15:12:39.496664"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:39.530112"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$LTWVo.1ViryEU..inwzt.upSrwHE4adERug9LvnyTUmD9jKCCzSNK"], ["updated_at", "2014-05-13 15:12:39.530112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:12:39.531444"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-13 15:12:39.531444"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:39.534555"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$FIXNZBuXhIYK8oCxsa9juuFjbf.GjWmn7wv8n8UGtCr3i90TSKwNa"], ["updated_at", "2014-05-13 15:12:39.534555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:12:39.535998"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-13 15:12:39.535998"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-13 10:12:39 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (11.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (10.0ms) Completed 200 OK in 143ms (Views: 142.0ms | ActiveRecord: 0.2ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:39.730813"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$FvJ7a2JGDfFiyiCIZGVs3.5zIhBofmkUrfuc6bpfexoZap4vdFcMK"], ["updated_at", "2014-05-13 15:12:39.730813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:12:39.732298"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-13 15:12:39.732298"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-13 10:12:39 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:39.752710"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$2SLHNKWPb9XcAH4jdq6y9Oa7GIHLsKPyN7yXaTEemeq1uxh46MK0S"], ["updated_at", "2014-05-13 15:12:39.752710"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:12:39.757627"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-13 15:12:39.757627"], ["user_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"]] 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:39.761581"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-2" for 127.0.0.1 at 2014-05-13 10:12:39 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-2"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-2' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:39.788394"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$DiTml.xXwTccAcTMTQ2FYOSjbPUzvThO0EHTzIU/88C9uguuSi7DK"], ["updated_at", "2014-05-13 15:12:39.788394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:12:39 -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 (2.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (26.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 42ms (Views: 36.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:12:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:12:39.858089"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:12:39.858089"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:12:39.859184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:12:39 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:39.882321"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$/JMxfzxA94hAGSkxaO/ZOODAt5CoK4u8qGmH8eDp/s97jwn8MEA8K"], ["updated_at", "2014-05-13 15:12:39.882321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:12:39.884502"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-13 15:12:39.884502"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:39.889272"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$Cqm8ISnVYuKdFtvfwYUNbu3CIZTOkvTSBDS4xCR0aE1ipBDxYs5DG"], ["updated_at", "2014-05-13 15:12:39.889272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:12:39.891266"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-13 15:12:39.891266"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:39.896051"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$yIbx2qxJ0ubQqacbpcqmhOt3.MA5yHSxUdFUX5xCqszmYhzuqugy."], ["updated_at", "2014-05-13 15:12:39.896051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:12:39.898158"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-13 15:12:39.898158"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-13 10:12:39 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 17.9ms | ActiveRecord: 0.4ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:39.991266"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$c5xjLHR4WtGD/M8eKdGDVO1F0d7YnhLcjxNCrJzyhL4EdCFEa0Gae"], ["updated_at", "2014-05-13 15:12:39.991266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:12: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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 10:12:43 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 10:12:43 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:12:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:12:43.346992"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:12:43.346992"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:12:43.347943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57726/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:12:43 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:43.415651"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$pphcoruv0YUkCVTwJwmFWebxbXNw0ZkHw4aTlxJpQotXRtEf1Nezi"], ["updated_at", "2014-05-13 15:12:43.415651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:12:43.417317"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "t"], ["title", "Post #8"], ["updated_at", "2014-05-13 15:12:43.417317"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:43.421351"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$zqmKr3mnvrlN.h3r44yvSe8wre8j8860xFVFPJHZ1Url/8PrdPJCe"], ["updated_at", "2014-05-13 15:12:43.421351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:12:43.423095"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-13 15:12:43.423095"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:43.427169"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$M6qC1tWO0ZeGQvtWuvxrMegllgNOIlFtILGmnDNWbDCAn8hfs9Bpa"], ["updated_at", "2014-05-13 15:12:43.427169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:12:43.428474"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-13 15:12:43.428474"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-13 10:12:43 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 10:12:43 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-13 10:12:44 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.5ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:44.474746"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$8CZPvkBm.kmsZ5ajCQWELe8vHoyQXmIooP2hEYOy4Y7HwtMkEYtJi"], ["updated_at", "2014-05-13 15:12:44.474746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:12:44 -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 (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:12:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user15@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:12:44.495117"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:12:44.495117"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:12:44.496225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:12:44 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 10:12:44 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (7.5ms) Storytime::Media Load (0.6ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.6ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (17.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (42.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (45.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 57ms (Views: 48.6ms | ActiveRecord: 1.8ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-13 10:12:44 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-13 15:12:44.577227"], ["excerpt", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-13 15:12:44.577227"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-13 10:12:44 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:44.603054"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$dMqDadVP45Q91/bhdkGVzOQXzaYA7cvOVCw8UM3q9P15.C7NpTGMC"], ["updated_at", "2014-05-13 15:12:44.603054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:12:44 -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/storytime/application (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:12:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user16@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:12:44.621324"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:12:44.621324"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:12:44.621682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:12:44 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:44.635150"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$FtQgUbjkVt5z08D9xcfsHObS85GtndMPNemTg/dLc6bJSfMW2vhsO"], ["updated_at", "2014-05-13 15:12:44.635150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:12:44.637283"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "f"], ["title", "Post #11"], ["updated_at", "2014-05-13 15:12:44.637283"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-13 10:12:44 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (8.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (9.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 14.3ms | ActiveRecord: 0.6ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-13 10:12:44 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #11. It was a dark and stormy night.", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-13 15:12:44.666765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-13 10:12:44 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:44.723031"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$CMUpRHYJYcLvuVt0DGrPHeibbBjoM4jlnBTLpmUn/zW/EBuJEbEuG"], ["updated_at", "2014-05-13 15:12:44.723031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 3ms  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:44.746073"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$vJPtnZfz/MUEUKoIXqEpyuHhMTeXjSquQmyxCFYTc2CMdEmKkufoO"], ["updated_at", "2014-05-13 15:12:44.746073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:12:44 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:12:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user19@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:12:44.858369"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:12:44.858369"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:12:44.859232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57726/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:12:44 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-13 10:12:44 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.1ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 12.4ms | ActiveRecord: 0.4ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-13 10:12:45 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:45.060478"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 15:12:45.060478"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.3ms) Completed 200 OK in 32ms (Views: 16.2ms | ActiveRecord: 0.7ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:46.020803"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$wmOMuxypY8/ZbEnedn7PDOi7hD2P6gOeRVoVKivTvOI56Wnz786Mi"], ["updated_at", "2014-05-13 15:12:46.020803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:12:46 -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.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:12:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user20@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:12:46.134976"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:12:46.134976"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:12:46.135386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57726/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:12:46 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:46.206675"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$I47scpUSo5A8qb6JFrCFq.FiBjrQxuYaZf1rJVdOYXm2r2FLnw8pi"], ["updated_at", "2014-05-13 15:12:46.206675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:12:46.213256"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 15:12:46.213256"], ["user_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 10:12:46 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (13.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (14.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (18.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 21.9ms | ActiveRecord: 0.5ms)  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:15:18.531013"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$W5.LHs7SlAwwC3QSdYFvuuU6CAbflgxbTfXfAa1OLP2JqfzYLMIrC"], ["updated_at", "2014-05-13 15:15:18.531013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:15:18 -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 (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:15:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user22@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:15:18.556960"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:15:18.556960"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:15:18.558586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:15:18 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:15:18.577984"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$oLvuzbb.zmHHzG.y4AHY4ekDNu5REAXbFsBbqQ2OXHuSJOBoQJKla"], ["updated_at", "2014-05-13 15:15:18.577984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:15:18.583918"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 15:15:18.583918"], ["user_id", 2]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:15:18.591000"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$1HKsbNCBE5p2N6ozQ6cKMeaLoNOoLz2uGsLFVZoVWzgnHcpzCns8m"], ["updated_at", "2014-05-13 15:15:18.591000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:15:18.594951"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 15:15:18.594951"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-13 10:15:18 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.4ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:15:18.631091"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$TMUHCaTwWc8ZiU4fbf6CRORnKcPy1EbZg3S2h4zYY8tATv77NuzAO"], ["updated_at", "2014-05-13 15:15:18.631091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:15:18 -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 (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 10:15:18 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:15:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user25@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:15:18.783182"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:15:18.783182"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:15:18.784775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:57726/ Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:15:18 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.3ms) Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 10:15:18 -0500  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:15:18.864296"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$0r4rwBnlyX6ypCFGV5.buuDaqhG.HZ7gIVEz5N3W6YrRtAb9Yqd8."], ["updated_at", "2014-05-13 15:15:18.864296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:15:18.869443"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 15:15:18.869443"], ["user_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-13 10:15:18 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.7ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 12.1ms | ActiveRecord: 0.5ms) Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 10:15:18 -0500 Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-13 10:15:19 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Media Load (0.0ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]] Completed 204 No Content in 7ms (ActiveRecord: 0.6ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:15:50.070257"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$YiUnfJGDYJDnRydVS7wJu.RBnq2nCGIEbbfpksOxsCNzM.jenniRi"], ["updated_at", "2014-05-13 15:15:50.070257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.5ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:33.364550"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$aKobpteBgibQX8V.F9aMqOyAnlmyE3pY4E9QUOolGsXir4j95y9I2"], ["updated_at", "2014-05-13 15:23:33.364550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (1.7ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:33.486589"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-13 15:23:33.486589"], ["user_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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (1.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:33.511121"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:33.519170"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$CfnNPb/5ByoHrfz0B3ereuOI9YsAvFrMt.jy/M.IboyQgfvFYjMzS"], ["updated_at", "2014-05-13 15:23:33.519170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:33.526377"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-13 15:23:33.526377"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:33.556691"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$KudVDsXTHp5LC2ELMMZKPeXPAcs4PL8x9K.qJYzIIsTVc.rMPGfEm"], ["updated_at", "2014-05-13 15:23:33.556691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:33.558206"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-13 15:23:33.558206"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:33.562839"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$uKAQcFwAutH1JnFYDC39e.pFMPEwsJf05EX40EFJwpXY5Yl3ve/3a"], ["updated_at", "2014-05-13 15:23:33.562839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:33.564196"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-13 15:23:33.564196"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-13 10:23:33 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (11.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (14.4ms) Completed 200 OK in 101ms (Views: 100.5ms | ActiveRecord: 0.2ms) Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:33.707546"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$HUN33J3p1qg.J4xLtMfzOe1A/D0RdWoGURXtyO1nqTDpgBpJ9x/fi"], ["updated_at", "2014-05-13 15:23:33.707546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:33.709090"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-13 15:23:33.709090"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-13 10:23:33 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:33.724335"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$P4nRstV9W8K4B1jcuFBAEeQrEENucoBxmbODFvQ79.WbUlHR01oG6"], ["updated_at", "2014-05-13 15:23:33.724335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:33 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 37ms (Views: 30.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:23:33.783896"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:23:33.783896"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:23:33.784876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:23:33 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:33.807005"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$tC15m20lOD/IOqb4rCulV.VYKeG.0HqJ3dZ.ucPba7ShLFx66W8ty"], ["updated_at", "2014-05-13 15:23:33.807005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:33.808421"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "f"], ["title", "Post #5"], ["updated_at", "2014-05-13 15:23:33.808421"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-13 10:23:33 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (7.6ms) Storytime::Media Load (0.7ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.4ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (16.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (40.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (42.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 58ms (Views: 53.1ms | ActiveRecord: 1.5ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-13 10:23:33 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #5. It was a dark and stormy night.", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-13 15:23:33.883456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-13 10:23:33 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:33.897779"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$6XhIKMSCpHSWzBL6znmStuYJ9emM0NWvjiF32HZSiF/khnKOsEWFi"], ["updated_at", "2014-05-13 15:23:33.897779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:33 -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 (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/storytime/application (2.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:23:33.915755"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:23:33.915755"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:23:33.916124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:23:33 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:33.928413"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$7eWvMNyP2qRvur3U2LR5M.b0DWWoyR9kGj9DxDVPAscOIPp1JhYDi"], ["updated_at", "2014-05-13 15:23:33.928413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:33.930227"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-13 15:23:33.930227"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:33.934012"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$Rm95q9PVkeJ6y8NNI0rBN.u11mzzfigNibx6jbzdBr8h.VtTSa.i."], ["updated_at", "2014-05-13 15:23:33.934012"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:33.936224"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-13 15:23:33.936224"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:33.940040"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$DyZZ.6HUgbKog6MaI3QsG.eirUurGX5f9c14x8dUa8UPrfmGHkcMG"], ["updated_at", "2014-05-13 15:23:33.940040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:33.941294"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "t"], ["title", "Post #8"], ["updated_at", "2014-05-13 15:23:33.941294"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-13 10:23:33 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:34.022347"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$EWEVfhkYLTH96K7pnthuoOoOlbsMrj.WmBWHUH9QdRsPb49LlpYt6"], ["updated_at", "2014-05-13 15:23:34.022347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:34 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:23:34.040543"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:23:34.040543"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:23:34.040918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:23:34 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 10:23:34 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (7.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (8.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 13.3ms | ActiveRecord: 0.5ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-13 10:23:34 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-13 15:23:34.081354"], ["excerpt", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-13 15:23:34.081354"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-13 10:23:34 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (0.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:34.102415"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$lHpDmgpBi3V4gFyX/Cof7Ok5MM2TF/3AT6DuiKxWj0Dx5iV1wljVW"], ["updated_at", "2014-05-13 15:23:34.102415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:36 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 10:23:36 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 10:23:36 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:23:36.869114"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:23:36.869114"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:23:36.870266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:58068/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:23:36 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:36.936145"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$I7BALJG7W8cthpGEgzAoiObjqZ5MQQLUY/WjOxo/CngzTHzeTyXLK"], ["updated_at", "2014-05-13 15:23:36.936145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:36.937578"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-13 15:23:36.937578"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:36.940799"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$sFUXE3gvuftaXiqhMVsScepawM5Gg72UO38S/o54Xu2cezz2DtK/S"], ["updated_at", "2014-05-13 15:23:36.940799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:36.941935"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-13 15:23:36.941935"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:36.945026"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$2T4ETvQeWUDPvervj6HDIOdzHvTcU1Z5.wSFTQsZ15OzvuerVNGdq"], ["updated_at", "2014-05-13 15:23:36.945026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:36.946287"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "t"], ["title", "Post #11"], ["updated_at", "2014-05-13 15:23:36.946287"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-13 10:23:36 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.4ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 10:23:37 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-13 10:23:37 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 7ms (ActiveRecord: 0.4ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.012286"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$WJEslZfwx.GEiAykf6LFdu5V4jEjIH9i8CNS8cWA/rqGzCzKJd6Em"], ["updated_at", "2014-05-13 15:23:38.012286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:38 -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 (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user17@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:23:38.030896"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:23:38.030896"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:23:38.031862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.047206"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$A6qbhfh6o33lnl5OzW3Hp.j.51dycqZOKEp2OawIh6VsH2yfu0Ep2"], ["updated_at", "2014-05-13 15:23:38.047206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:38.053271"], ["published", "f"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-13 15:23:38.053271"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.056733"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-2/edit" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-2"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-2' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (9.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (11.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 20.4ms | ActiveRecord: 0.5ms) Started PATCH "/dashboard/pages/page-2" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Page", "id"=>"page-2"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-2' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "content" = ?, "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["content", "It was a dark and stormy night..."], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-13 15:23:38.102051"]] 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"]] 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.104547"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/the-story Completed 302 Found in 10ms (ActiveRecord: 0.8ms) Started GET "/the-story" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"the-story"} Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'the-story' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.137563"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$mpsxGCQoxQ5O5BM7x9naB.zXazqdTNMN7Bk8Lj7Nuqkobc1W9EuPW"], ["updated_at", "2014-05-13 15:23:38.137563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:38 -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 (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/storytime/application (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user19@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:23:38.156915"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:23:38.156915"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:23:38.157450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.170910"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$GEpokkw9VgDf8wE3aAzzFeIz9EHLwH1upbPbc5CRSWIdCl0ULiVyy"], ["updated_at", "2014-05-13 15:23:38.170910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:38.174915"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-13 15:23:38.174915"], ["user_id", 2]] 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"]] 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" = 'page-3' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.179311"], ["slug", "page-3"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.183061"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$/N6IK1cJ3pA11bt/ivtFDOUvSFjeuoJZ6t.Cx6fY0fGxU6A/gaH32"], ["updated_at", "2014-05-13 15:23:38.183061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:38.185846"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-13 15:23:38.185846"], ["user_id", 3]] 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::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" = 'page-4' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.188535"], ["slug", "page-4"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.192098"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$rmqGxtkbh9CgYVkAY0Ujnu6ZFzf3BSYvnE/qguDRhbPMPnadCnTNK"], ["updated_at", "2014-05-13 15:23:38.192098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:38.194815"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-13 15:23:38.194815"], ["user_id", 4]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-5' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.197047"], ["slug", "page-5"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (4.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (9.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 13.9ms | ActiveRecord: 0.4ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.271417"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$n2v2y9XmOHazliszbYMASeCVULpTSRby6NY3o2sjrwvLLCUvuPywG"], ["updated_at", "2014-05-13 15:23:38.271417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:38 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:23:38.288924"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:23:38.288924"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:23:38.289296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (9.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (10.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 15.0ms | ActiveRecord: 0.5ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Page"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-13 15:23:38.331977"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-13 15:23:38.331977"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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.0ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.334444"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (1.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.371988"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$umByO9wL59cAjXtoJ9kAqu8nbBDbVsMw8bFQTueQ8JYE.88YJuCCW"], ["updated_at", "2014-05-13 15:23:38.371988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:38 -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 (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user24@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:23:38.489560"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:23:38.489560"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:23:38.490552"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:58068/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.558117"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$NzNhObWY7STVfPnaRcORvuZnd57lpXPz7vqbCq3eACHKnyHWnFRUa"], ["updated_at", "2014-05-13 15:23:38.558117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:38.561724"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-13 15:23:38.561724"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-6' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.564239"], ["slug", "page-6"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.568132"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$SqkZm0NxL8JuBqMznn95Ue3uJFF0LEGG2.VSdHFGnRtlngV0HMnhC"], ["updated_at", "2014-05-13 15:23:38.568132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:38.571122"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-13 15:23:38.571122"], ["user_id", 3]] 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::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" = 'page-7' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.573935"], ["slug", "page-7"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.577630"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$mQHfRiGgVd2jnFsiN6UYWezUQB/s6ltejp/cUyY10W4Ox.AwlZXu6"], ["updated_at", "2014-05-13 15:23:38.577630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-8' 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" = 'page-8') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:38.580631"], ["published", "t"], ["slug", "page-8"], ["title", "Page #8"], ["updated_at", "2014-05-13 15:23:38.580631"], ["user_id", 4]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-8' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:38.583169"], ["slug", "page-8"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-13 10:23:38 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (11.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (13.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 16.2ms | ActiveRecord: 0.3ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-6" for 127.0.0.1 at 2014-05-13 10:23:39 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-6"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-6' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_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 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 11ms (ActiveRecord: 1.0ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:39.673372"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$4TITTAhZh4RuFuE8e597.ekFKGPs47QhbKVaLDxtFTeGgEXimWdFa"], ["updated_at", "2014-05-13 15:23:39.673372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:39 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user28@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:23:39.790695"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:23:39.790695"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:23:39.791160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:58068/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:23:39 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:39.856827"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$BYDqamdz34den5U0d5SbiOwuo3/rZgHk8aQ/E.WRdXWp7.9jgcLcq"], ["updated_at", "2014-05-13 15:23:39.856827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:39.863534"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 15:23:39.863534"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-13 10:23:39 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (6.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 13.8ms | ActiveRecord: 0.4ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-13 10:23:40 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.7ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:40.920781"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$FPwYX9MjKVo8QnWu1xwXN.3qfy99hcj1S89WNufuPeylDAx9bkABi"], ["updated_at", "2014-05-13 15:23:40.920781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:40 -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 (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user30@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:23:41.041502"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:23:41.041502"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:23:41.042024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:58068/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:23:41 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-13 10:23:41 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.3ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-13 10:23:41 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:41.225076"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 15:23:41.225076"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (4.6ms) Completed 200 OK in 31ms (Views: 16.3ms | ActiveRecord: 0.6ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:42.178442"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$6fnEYUCYPoBZ41zSwVY6GO3hVcCVawMN88aPYk.gro5V0kisGlaFe"], ["updated_at", "2014-05-13 15:23:42.178442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:42 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user31@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:23:42.203078"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:23:42.203078"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:23:42.204749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:23:42 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:42.221591"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$/kDfKCLgYQQJ2zOts6wnIeGE616qZ4uNa509/AsMqaSP3MvOnJpta"], ["updated_at", "2014-05-13 15:23:42.221591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:42.226005"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 15:23:42.226005"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:42.232275"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$1WhHN7VkJuoqO1q7RK/TbeMeDFuUYvl9KX/QzHUrFUOY3vbIpwmC2"], ["updated_at", "2014-05-13 15:23:42.232275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:42.236776"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 15:23:42.236776"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-13 10:23:42 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (9.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 12.4ms | ActiveRecord: 0.6ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:42.271623"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$h5P1KSfETjsQR5jUHtZ8juDgQCtJicUr.js3g7M/Iaripm7n1oSxG"], ["updated_at", "2014-05-13 15:23:42.271623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:42 -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 (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 10:23:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user34@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-13 15:23:42.396559"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-13 15:23:42.396559"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-13 15:23:42.397418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:58068/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 10:23:42 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:42.465771"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$n/0llbgAu85g84./eUN2FOGAT1FGnkg8/RLQzKupcjHfrIK7Y8yNa"], ["updated_at", "2014-05-13 15:23:42.465771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:42.470704"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-13 15:23:42.470704"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 10:23:42 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (6.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (12.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (12.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 16.1ms | ActiveRecord: 0.6ms)  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:43.937892"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$Qb8aHcGARI8meeWTs2ojbuug1cnjwCuA4NVjG3mTWKADrV3LSH8iS"], ["updated_at", "2014-05-13 15:23:43.937892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-9' 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" = 'page-9') LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-13 15:23:43.941443"], ["published", "t"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-13 15:23:43.941443"], ["user_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"]] 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" = 'page-9' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:43.945117"], ["slug", "page-9"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-9" for 127.0.0.1 at 2014-05-13 10:23:43 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-9"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-9' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (0.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user37@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-13 15:23:44.010997"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$lEboVgwh5QXU0k6zCmK6..8i4H9Kp/UHfOkHITYPfy3b21NL5uHWO"], ["updated_at", "2014-05-13 15:23:44.010997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 3ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.8ms) DROP TABLE "friendly_id_slugs"  (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.7ms) 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'   (1.5ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")  (2.2ms) DROP TABLE "storytime_media"  (0.9ms) 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.4ms) DROP TABLE "storytime_pages"  (0.8ms) CREATE TABLE "storytime_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "published" boolean, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_storytime_pages_on_user_id" ON "storytime_pages" ("user_id")  (1.6ms) DROP TABLE "storytime_posts"  (1.0ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published" boolean, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (1.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, "selected_root_page_id" integer)  (0.9ms) CREATE INDEX "index_storytime_sites_on_selected_root_page_id" ON "storytime_sites" ("selected_root_page_id")  (2.1ms) DROP TABLE "storytime_users"  (1.0ms) CREATE TABLE "storytime_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_storytime_users_on_email" ON "storytime_users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_storytime_users_on_reset_password_token" ON "storytime_users" ("reset_password_token")  (0.1ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513162745')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513161233') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:03:10.529639"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$7ZSwuxWLDmFdQHFd3eXRdOl5R/Zl2wdIXquEq0qQk8DidX/eAf25a"], ["updated_at", "2014-05-14 01:03:10.529639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:03:10.543123"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$inBNUHmkC1Jgz9RGzE7DBuLfnUiHgSx7wl67QI55DMRxw2h9GVv/i"], ["updated_at", "2014-05-14 01:03:10.543123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 9ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:04:18.804211"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$odH4fQwQl1jF1wI8sqAqSeyltd2Xig29voo1ov.cnpGAdnlejZPBu"], ["updated_at", "2014-05-14 01:04:18.804211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.6ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 10ms (ActiveRecord: 0.8ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:04:18.828330"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$TSMxSD.RJsoIzAe3zHn3Hul72BqHD18E59wc2xfUVCWnsKVSJVLiC"], ["updated_at", "2014-05-14 01:04:18.828330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.2ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 5ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:04:23.279831"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$kEcLOIYk4FX8lQ0N06gC2urOCcocUJ38LqEyW7CVKiHdt9ZxAEA3q"], ["updated_at", "2014-05-14 01:04:23.279831"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.4ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:04:23.302550"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$73RtZ2KkHNexpKwWA.MOkuGrcxmfx7nrOh.vjlyLIEVIs8eWJoJwK"], ["updated_at", "2014-05-14 01:04:23.302550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.2ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 6ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:08:25.695841"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:08:25.695841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:08:25.720242"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$mO8JxNMmKVNzTZQqYLCuouHqyQycu21rwyf84rZ9/5SVLHTGMTtse"], ["updated_at", "2014-05-14 01:08:25.720242"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 13ms  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 6ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:08:33.633555"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$bX4lgXKQfNYJBi76Qs1bjOMQFKC3JyVtx08/A19aKI8paKI.01Gue"], ["updated_at", "2014-05-14 01:08:33.633555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:08:33.659030"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:08:33.659030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:08:33.664519"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$CS1EcuOYsk/.fkgfEUILned4OByabLzjV.0WL6oJXWgk1LZRBCgq6"], ["updated_at", "2014-05-14 01:08:33.664519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 6ms  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:08:42.403568"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$sFyP89kKxKsfr9BIxfPTweXlgP4gqHHwESa8KuvD9Fu9AzvpOs/.m"], ["updated_at", "2014-05-14 01:08:42.403568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 9ms (ActiveRecord: 0.3ms)  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:10:59.247803"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$eq917qKNu1zTwYJHb.5clOZArYoAwarUXNmcwuDi1Wb6sJtgymUfm"], ["updated_at", "2014-05-14 01:10:59.247803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 10ms (ActiveRecord: 0.6ms)  (1.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 5ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:11:05.002447"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:11:05.002447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:11:05.022614"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$vQYIc.Su9bastJ/CNOzAseXg12TlcRp.o78WaV2FtYNaj50/RLsa6"], ["updated_at", "2014-05-14 01:11:05.022614"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 10ms  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:11:05.052304"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$9o90NvjIHyg5eeANoJ2IfuVVMXnHqyB1cjMvfRbmnpXlC/ctjpPei"], ["updated_at", "2014-05-14 01:11:05.052304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.2ms)  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:12:26.370558"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$F4Ehg9Z/HV5oXkAkP1Ioge9Z0HMwIDOM67Dhd8E7vx3.S2lwxVuFe"], ["updated_at", "2014-05-14 01:12:26.370558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:12:26 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (33.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.8ms) Completed 200 OK in 466ms (Views: 451.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:12:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:12:26.892975"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:12:26.892975"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:12:26.894779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 24ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:12:26 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (8.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 19ms (Views: 17.0ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:12:26 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (36.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (37.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Completed 500 Internal Server Error in 179ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:12:27.138176"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$QQA6E34W95jFyGMQUkZmvuKH.7BwNinbEKTd.p1C5h/aDNILRMgOW"], ["updated_at", "2014-05-14 01:12:27.138176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:12:27 -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 (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:12:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:12:27.161430"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:12:27.161430"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:12:27.162054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:12:27 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.3ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:12:27.180875"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$HVV6VH.7p4SBh95eXhYZHu1mUXOyJO6QqBjYnAH40SOdzXEHH1gUa"], ["updated_at", "2014-05-14 01:12:27.180875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:12:27.208877"], ["published", "f"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-14 01:12:27.208877"], ["user_id", 2]] 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:12:27.225813"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-1/edit" for 127.0.0.1 at 2014-05-13 20:12:27 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://www.example.com/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:12:27 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (9.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.1ms) Completed 500 Internal Server Error in 16ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:12:27.259540"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$auMFZP9wcpl5h2ZBN0gHOOwagCjeFa5oEpDORzQ1pv.0McEBa8DJy"], ["updated_at", "2014-05-14 01:12:27.259540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:12:30 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 20:12:30 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 20:12:30 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:12:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:12:30.838740"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:12:30.838740"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:12:30.839922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50079/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:12:30 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:12:30.909676"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$78F9qE//o38w8iLY9WC4w.Y6YITLytxaXgEvziLojKye8NliFPOG2"], ["updated_at", "2014-05-14 01:12:30.909676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:12:30.912859"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-14 01:12:30.912859"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:12:30.915413"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:12:30.919375"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$huP06hEXQACWOHjgCqR8aefrq2GwuXdsDrk5DfjM..08kMFhfbkXq"], ["updated_at", "2014-05-14 01:12:30.919375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:12:30.922153"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-14 01:12:30.922153"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-3' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:12:30.924606"], ["slug", "page-3"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:12:30.928119"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$DBy2bfQfLkxRc01lx68u0.WsD9Z4OUcUUmST/cfCFbPa8JOe4fJPe"], ["updated_at", "2014-05-14 01:12:30.928119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:12:30.930975"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-14 01:12:30.930975"], ["user_id", 4]] 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::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" = 'page-4' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:12:30.934862"], ["slug", "page-4"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-13 20:12:30 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://127.0.0.1:50079/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:12:30 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (8.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.9ms) Completed 500 Internal Server Error in 15ms Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:13:25.509855"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$4YViBTBLAy1Iie36jLH/B.Auae0585VSLLSn8/hbT3IwO7.Zew8li"], ["updated_at", "2014-05-14 01:13:25.509855"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:13:25 -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/storytime/application (32.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.8ms) Completed 200 OK in 139ms (Views: 124.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:13:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:13:25.691997"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:13:25.691997"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:13:25.693655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 20ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:13:25 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:13:25 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (21.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (23.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.6ms) Completed 500 Internal Server Error in 116ms  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:13:25.855153"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$18URQv7m3eD/Etp3.hn7JOcUkxx.din/fCA7GZv6Cy7PNj2bzz.YO"], ["updated_at", "2014-05-14 01:13:25.855153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:13:25 -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 (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/storytime/application (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:13:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:13:25.870455"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:13:25.870455"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:13:25.870825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:13:25 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:13:25.887125"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$vety19CzlVh45IstqY4uEOQjS/Z9pSHTQELIYYvgN6iVezxlfwKh2"], ["updated_at", "2014-05-14 01:13:25.887125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:13:25.904193"], ["published", "f"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-14 01:13:25.904193"], ["user_id", 2]] 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:13:25.916012"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-1/edit" for 127.0.0.1 at 2014-05-13 20:13:25 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://www.example.com/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:13:25 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.0ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (8.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.1ms) Completed 500 Internal Server Error in 15ms  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:13:25.948013"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$5881zFA8JsDXMMZgLFSEWOzDEf21PY/pc1dxA1WPFn0x.tsnmU60O"], ["updated_at", "2014-05-14 01:13:25.948013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:13:28 -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 (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/storytime/application (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 20:13:28 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 20:13:28 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:13:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:13:28.352362"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:13:28.352362"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:13:28.353390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50092/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:13:28 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:13:28.415647"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$0.w0rnG7pd4Qy1uitgm0EOmMYHU02mOY7bpCufU82t6qPrEvNb3QW"], ["updated_at", "2014-05-14 01:13:28.415647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:13:28.418582"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-14 01:13:28.418582"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:13:28.421115"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:13:28.424531"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$qFhCUAqklINiKEiawWtrtei9iFcCyv31NHhaIK1wapEpYgYsUJEmq"], ["updated_at", "2014-05-14 01:13:28.424531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:13:28.427168"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-14 01:13:28.427168"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-3' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:13:28.429284"], ["slug", "page-3"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:13:28.432494"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$4B48d1FpdFcUfEKWiTKaD.h/z8V/HfxWD6NhpJoM0F1jhWJccZ.DW"], ["updated_at", "2014-05-14 01:13:28.432494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:13:28.434994"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-14 01:13:28.434994"], ["user_id", 4]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-4' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:13:28.437105"], ["slug", "page-4"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-13 20:13:28 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://127.0.0.1:50092/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:13:28 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (10.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.5ms) Completed 500 Internal Server Error in 17ms Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:17:18.316873"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$NoN4RL91NL6.96m.C9X71OQKak1nZEVk/oESMwKev2p2LX/HZ/jVy"], ["updated_at", "2014-05-14 01:17:18.316873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:17:18 -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 (2.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (38.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.7ms) Completed 200 OK in 165ms (Views: 151.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:17:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:17:18.525384"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:17:18.525384"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:17:18.526430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:17:18 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.4ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:17:18.561374"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$avZ0qxio/8ZpPYVuayqgpuqgYIywoVcw.PL8pP6QacNgC6mW7mfu."], ["updated_at", "2014-05-14 01:17:18.561374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:17:18.656486"], ["published", "f"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-14 01:17:18.656486"], ["user_id", 2]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:17:18.668336"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-1/edit" for 127.0.0.1 at 2014-05-13 20:17:18 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://www.example.com/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:17:18 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (20.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (22.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.5ms) Completed 500 Internal Server Error in 39ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:17:18.734440"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$dSFdFW7rLy7NKnsRxfVZxuJVbqvru2ATLEnufERVURDrAsqinpd5a"], ["updated_at", "2014-05-14 01:17:18.734440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:17:18 -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 (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/storytime/application (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:17:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:17:18.749743"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:17:18.749743"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:17:18.750134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:17:18 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:17:18 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.4ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (8.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.0ms) Completed 500 Internal Server Error in 15ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:17:18.782019"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$9AYOTHn6Ngy3YVk17dHINeAg8VhkkhjyN7YDbPJU49LMklag9LQnm"], ["updated_at", "2014-05-14 01:17:18.782019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:17:21 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 52ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 20:17:21 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 20:17:21 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:17:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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 "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:17:21.361341"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:17:21.361341"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:17:21.362286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50109/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:17:21 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:17:21.426395"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$ODCs6P.oGreaEv04X.Hta.Sw1V1tTtlda05UUft6p9FYDCB6ldVmO"], ["updated_at", "2014-05-14 01:17:21.426395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:17:21.429416"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-14 01:17:21.429416"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:17:21.431761"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:17:21.435094"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$O.uCg0SnTKQxeZPcpRf7.uu8Ex1c.B0FQ6sGPXSTC56t.QppU2Goi"], ["updated_at", "2014-05-14 01:17:21.435094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:17:21.437711"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-14 01:17:21.437711"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-3' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:17:21.439780"], ["slug", "page-3"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:17:21.443322"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$Hvl1p4iWqDzMI542Yrjslendru.CcI.PPf2pwUQyye0PEWj0yuIEi"], ["updated_at", "2014-05-14 01:17:21.443322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:17:21.446134"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-14 01:17:21.446134"], ["user_id", 4]] 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::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" = 'page-4' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:17:21.449087"], ["slug", "page-4"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-13 20:17:21 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://127.0.0.1:50109/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:17:21 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.0ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (8.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.5ms) Completed 500 Internal Server Error in 15ms Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1  (2.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:21:04.895493"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$3UuX5g5k2aLgXHNfbeDMUOtVj5waXr5iJmGIiE3FgEXxGhe4ZlZv."], ["updated_at", "2014-05-14 01:21:04.895493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:21:04 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.7ms) Completed 200 OK in 138ms (Views: 124.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:21:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:21:05.083727"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:21:05.083727"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:21:05.085651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 27ms (ActiveRecord: 1.7ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:21:05 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (8.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 18ms (Views: 16.1ms | ActiveRecord: 0.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:21:05 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.2ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (25.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (27.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.4ms) Completed 500 Internal Server Error in 143ms  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:21:05.295092"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$xTwhMOOHXFBnc4jChPEVNuwipobt9EOm.7CLQgD5Ra2einDQ.Yd0S"], ["updated_at", "2014-05-14 01:21:05.295092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:21:05 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:21:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:21:05.315237"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:21:05.315237"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:21:05.315745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:21:05 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:21:05.329165"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:21:05.329165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:21:05 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:21:05.347128"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$PEMOtbmmJwJ8r53kWcNW6uYOHrrscFeMyWbeij.tjy3tT5vtQna8y"], ["updated_at", "2014-05-14 01:21:05.347128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:21:05 -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 (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (11.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:21:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:21:05.380875"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:21:05.380875"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:21:05.381538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.9ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:21:05 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:21:05.399492"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:21:05.399492"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:21:05 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (14.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (15.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 0.5ms)  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:21:47.649799"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:21:47.649799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:21:47.673981"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Owt3hFB07Rv3V8j9zVeHLO6poqympXY3IwVEf/aH7Dm7szyLN.L.a"], ["updated_at", "2014-05-14 01:21:47.673981"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:21:47 -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/storytime/application (26.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 119ms (Views: 105.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:21:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:21:47.833802"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:21:47.833802"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:21:47.835002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 20ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:21:47 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 9.9ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:21:47.865467"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:21:47.865467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:21:47 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Completed 500 Internal Server Error in 6ms  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:21:47.887862"], ["title", "Site Title 3"], ["updated_at", "2014-05-14 01:21:47.887862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:21:47.891504"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$I9QfmkV13WpIm9KwxLByrezbEOYFjVIoKewu8t1GCA2oyOInBrHbm"], ["updated_at", "2014-05-14 01:21:47.891504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:21:47 -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 (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:21:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:21:47.908582"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:21:47.908582"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:21:47.908957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:21:47 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:21:47.918512"], ["title", "Site Title 4"], ["updated_at", "2014-05-14 01:21:47.918512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:21:47.922566"], ["title", "Site Title 5"], ["updated_at", "2014-05-14 01:21:47.922566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:21:47.926134"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$Pl62j1w7aDDogOJrUNd6x.s4okMbLb6ksz4cd95Y/dwzoALXEz05S"], ["updated_at", "2014-05-14 01:21:47.926134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:21:47 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:21:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:21:47.940529"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:21:47.940529"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:21:47.940867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:21:47 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:23:05.188528"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:23:05.188528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:23:05.210602"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$UPxl73r3bI2S42GLAokzm.4PJMtOsksRUfwynmgGED3pFJvxE1hKu"], ["updated_at", "2014-05-14 01:23:05.210602"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:23:05 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 116ms (Views: 101.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:23:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:23:05.361849"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:23:05.361849"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:23:05.362859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:23:05 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.4ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:23:05 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:23:05.415258"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:23:05.415258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:23:05.419041"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$h0PmSM/39WTkGAflfKx6W.GoPI884XEdNZat/hIWjbWzk7lE0sSOO"], ["updated_at", "2014-05-14 01:23:05.419041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:23:05 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:23:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:23:05.436397"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:23:05.436397"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:23:05.437041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:23:05 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:23:05.454675"], ["title", "Site Title 3"], ["updated_at", "2014-05-14 01:23:05.454675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:23:05.459642"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$ExKzThUd6JtsH8VUJI9NWuMbsne9LoSExmngvhBez4SOQ3ItXN15G"], ["updated_at", "2014-05-14 01:23:05.459642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:23:05 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:23:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:23:05.481234"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:23:05.481234"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:23:05.481790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:23:05 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:27:38.981351"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:27:38.981351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:27:39.004759"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$yT/n9mJen6VuW2s..xugKONi7WqwZ/vG9WTraNPSTzsRq23xeNDYy"], ["updated_at", "2014-05-14 01:27:39.004759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:27:39 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 117ms (Views: 100.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:27:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:27:39.157793"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:27:39.157793"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:27:39.158862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:27:39 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 15ms (Views: 13.3ms | ActiveRecord: 0.5ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:27:39 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Completed 500 Internal Server Error in 6ms  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:27:39.208159"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:27:39.208159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:27:39.212431"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$uu5aQW2SZEy8WA7ljrpuqeQRD.reFnFKMPa396SaafycHVFKT3DLy"], ["updated_at", "2014-05-14 01:27:39.212431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:27:39 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:27:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:27:39.229186"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:27:39.229186"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:27:39.229517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:27:39 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:27:39.241939"], ["title", "Site Title 3"], ["updated_at", "2014-05-14 01:27:39.241939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:27:39.245477"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$YC90M61Hr3ducqgW0WwVpO5RfTrb4tLabceekr.d8tUZknZ7FAVxi"], ["updated_at", "2014-05-14 01:27:39.245477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:27:39 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:27:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:27:39.261181"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:27:39.261181"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:27:39.261540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:27:39 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:27:58.414345"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$zGS3NxCwgorgwIb1XCIXF..7u5HxN8X.RBzdskKZOWX1gtXG4c4ju"], ["updated_at", "2014-05-14 01:27:58.414345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:27:58 -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/storytime/application (25.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 121ms (Views: 103.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:27:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:27:58.578817"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:27:58.578817"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:27:58.579895"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:27:58 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:27:58 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (20.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (21.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.6ms) Completed 500 Internal Server Error in 114ms  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:27:58.743606"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:27:58.743606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:27:58.750754"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$XwhrMnObzI5.WTa1AX152uEHbKRzQUqp52g97lx2/4ODjqI6wLOfi"], ["updated_at", "2014-05-14 01:27:58.750754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:27:58 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:27:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:27:58.767630"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:27:58.767630"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:27:58.767967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:27:58 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:27:58.779843"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:27:58.779843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:27:58.783542"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$5tiOmTT.rU6UdwAnTP09mePLT3Wstyuhgzz2rJ.iWNM9uVCwXUl2S"], ["updated_at", "2014-05-14 01:27:58.783542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:27:58 -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 (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/storytime/application (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:27:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:27:58.800929"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:27:58.800929"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:27:58.801289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:27:58 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:27:58 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Completed 500 Internal Server Error in 4ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:32:01.390548"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$c9DbvdsAc3iqPEO2U2QgbuJoXaSerllJOOoljmuZr1l7bD2SYOpLW"], ["updated_at", "2014-05-14 01:32:01.390548"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:32:01 -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/storytime/application (25.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 115ms (Views: 99.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:32:01 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:32:01.545805"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:32:01.545805"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:32:01.546861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:32:01 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:32:01 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (20.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (21.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.5ms) Completed 500 Internal Server Error in 117ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:32:51.031194"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$8aF.fL2C3bpTOJRsXCKwhe5TAFbdQiYlVTiXZ1jRKLwMmW1JOJKFW"], ["updated_at", "2014-05-14 01:32:51.031194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:32:51 -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/storytime/application (24.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 118ms (Views: 101.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:32:51 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:32:51.191408"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:32:51.191408"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:32:51.192480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:32:51 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:32:51 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (20.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (21.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.5ms) Completed 500 Internal Server Error in 110ms  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:33:01.532709"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$XdJlWhfPKmqjXiZJNTqTturgmglntr6WpozF343lTh8MA9mzRHgnS"], ["updated_at", "2014-05-14 01:33:01.532709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:33:01 -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/storytime/application (28.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 131ms (Views: 114.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:33:01 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:33:01.705187"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:33:01.705187"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:33:01.706240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:33:01 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:33:01 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (20.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (21.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.7ms) Completed 500 Internal Server Error in 112ms  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:33:24.478375"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$HXZ1pk8bx4FFgyJG131XQOEhfA6qHpDKGSDxj45YcRlmuO0s.2482"], ["updated_at", "2014-05-14 01:33:24.478375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:33:24 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (29.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 124ms (Views: 104.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:33:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:33:24.648890"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:33:24.648890"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:33:24.649878"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:33:24 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:33:24 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (20.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (21.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.0ms) Completed 500 Internal Server Error in 124ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:34:49.710957"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$EmwlhFXm1GMzdKyMrkmgW.kr3cr6cxqRXY0HZdmF7WDClJJsC2Aie"], ["updated_at", "2014-05-14 01:34:49.710957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:34:49 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (26.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 130ms (Views: 115.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:34:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:34:49.884611"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:34:49.884611"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:34:49.885591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:34:49 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 15ms (Views: 13.3ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:34:49 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (21.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (23.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (20.1ms) Completed 500 Internal Server Error in 135ms  (2.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:35:29.400789"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$0wrCWPlJsuSRks0lzXFHl.uxc2CKGYqbGqNwDK5XSZ8gqbmEoDKf6"], ["updated_at", "2014-05-14 01:35:29.400789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:35:29 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (26.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (1.0ms) Completed 200 OK in 117ms (Views: 104.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:35:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:35:29.559482"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:35:29.559482"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:35:29.560459"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:35:29 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:35:29 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (20.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (21.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.5ms) Completed 500 Internal Server Error in 105ms  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:36:05.928156"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$S949QWB5pO3Tf9Ye5wdpru0QSB0ilKCO.Fyz1JwLsBcK9gAB/wkky"], ["updated_at", "2014-05-14 01:36:05.928156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:36:05 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (32.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 124ms (Views: 108.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:36:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:36:06.092248"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:36:06.092248"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:36:06.093425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:36:06 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 14ms (Views: 12.2ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:36:06 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (21.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (22.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (43481.6ms) Completed 500 Internal Server Error in 43610ms  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:36:53.170548"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$FIKnNwSzP8TK69COJg6iFumhfVIB3v5YT0xgMKj8TuuxAvhTuBoaK"], ["updated_at", "2014-05-14 01:36:53.170548"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:36:53 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (28.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 113ms (Views: 100.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:36:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:36:53.324156"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:36:53.324156"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:36:53.325140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:36:53 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:36:53 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (22.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (23.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 115ms (Views: 104.4ms | ActiveRecord: 0.5ms) Started POST "/dashboard/sites" for 127.0.0.1 at 2014-05-13 20:36:53 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-14 01:36:53.487705"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site"], ["updated_at", "2014-05-14 01:36:53.487705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/sites/1/edit Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:36:53 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (8.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.3ms)  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:40:20.450213"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$vBHQwuGGt0SEU4ftRv.CAOCV/lBVxVqx8NluGIjs/FIjX3dr/hHJO"], ["updated_at", "2014-05-14 01:40:20.450213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:40:20 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 108ms (Views: 95.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:40:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:40:20.597623"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:40:20.597623"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:40:20.598598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:40:20 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:40:20 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (23.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (24.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 113ms (Views: 102.8ms | ActiveRecord: 0.5ms) Started POST "/dashboard/sites" for 127.0.0.1 at 2014-05-13 20:40:20 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-14 01:40:20.760645"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site"], ["updated_at", "2014-05-14 01:40:20.760645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/sites/1/edit Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:40:20 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (8.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.3ms)  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:40:41.752287"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$6QJc4tNxTK2lt777gZrl4.Z0vzvmONmsz0TLRvfo8kaZwY5x06Nvy"], ["updated_at", "2014-05-14 01:40:41.752287"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:40:41 -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/storytime/application (28.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.9ms) Completed 200 OK in 118ms (Views: 103.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:40:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:40:41.914615"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:40:41.914615"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:40:41.915598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 20ms (ActiveRecord: 2.0ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:40:41 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:40:41 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (20.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (21.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 107ms (Views: 98.7ms | ActiveRecord: 0.4ms) Started POST "/dashboard/sites" for 127.0.0.1 at 2014-05-13 20:40:42 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-14 01:40:42.071223"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site"], ["updated_at", "2014-05-14 01:40:42.071223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/sites/1/edit Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:40:42 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (8.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:40:58.919653"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$KVfEtpm6YkFsqJr1NOPfuuMs1KIwwC.hXhfV0EF3S7morKvmACBka"], ["updated_at", "2014-05-14 01:40:58.919653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:40:58 -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 (2.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 117ms (Views: 104.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:40:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:40:59.075589"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:40:59.075589"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:40:59.076574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:40:59 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:40:59 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (22.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (24.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 123ms (Views: 113.6ms | ActiveRecord: 0.5ms) Started POST "/dashboard/sites" for 127.0.0.1 at 2014-05-13 20:40:59 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-14 01:40:59.249581"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site"], ["updated_at", "2014-05-14 01:40:59.249581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/sites/1/edit Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:40:59 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (9.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:40:59.286657"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:40:59.286657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:40:59.290455"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$gwQPoqzEFHb4MF2EONUS2OPfhje4aupjp/GLppbx8OXC9mAEGvXmG"], ["updated_at", "2014-05-14 01:40:59.290455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:40:59 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:40:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:40:59.306936"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:40:59.306936"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:40:59.307321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:40:59 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:40:59 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Completed 500 Internal Server Error in 3ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:40:59.324111"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:40:59.324111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:40:59.328135"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$OlwNZLmnA/6MLOh4mFyv1uTMps32UoYjdMKNxA7LFbmjRJ.w1wJvS"], ["updated_at", "2014-05-14 01:40:59.328135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:40:59 -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 (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/storytime/application (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:40:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:40:59.344918"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:40:59.344918"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:40:59.345367"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:40:59 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:42:10.854521"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:42:10.854521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:42:10.877893"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$rZZQTK5HMGaLb4vY4Wc2V.B3eTK.NyelKHRXSylpp6qqGJ.NROqFS"], ["updated_at", "2014-05-14 01:42:10.877893"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:42:10 -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/storytime/application (25.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 118ms (Views: 104.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:42:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:42:11.036356"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:42:11.036356"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:42:11.037557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:42:11 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:42:11.067925"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:42:11.067925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:42:11.072370"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$KdLoElrkC0oZ4bS1LAfY/.BaPbhVhC0u0bXo4LfTkOpVacSQR4iLm"], ["updated_at", "2014-05-14 01:42:11.072370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:42:11 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:42:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:42:11.088821"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:42:11.088821"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:42:11.089222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:42:11 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:42:11 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 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 Redirected to http://www.example.com/dashboard/sites/1/edit Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Completed 500 Internal Server Error in 16909ms  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:45:06.744000"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:45:06.744000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:45:06.765574"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$n9FUhnTxjdUBfaCUj3U93.M5y7a.umK8OzeqA4OiFx2I19pJUN/P."], ["updated_at", "2014-05-14 01:45:06.765574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:45:06 -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/storytime/application (25.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 118ms (Views: 101.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:45:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:45:06.926695"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:45:06.926695"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:45:06.927719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:45:06 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:45:06.960307"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:45:06.960307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:45:06.963927"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$ckzuNpxrcLLG1b8DuyljcuflVSBJAYNvPb1fd5tBDzFkYaEpWF.5i"], ["updated_at", "2014-05-14 01:45:06.963927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:45:06 -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 (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/storytime/application (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:45:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:45:06.978953"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:45:06.978953"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:45:06.979314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:45:06 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:45:20 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.4ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.7ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.5ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://www.example.com/dashboard/sites/1/edit Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Completed 500 Internal Server Error in 25658ms  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:45:49.979035"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:45:49.979035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:45:50.003062"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$MuyLg78l/7QgmnTmLs1wd.Fc4Hmr2/nKkiaN7zyu8LkR5FyyeujMe"], ["updated_at", "2014-05-14 01:45:50.003062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:45:50 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (28.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 116ms (Views: 103.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:45:50 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:45:50.165685"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:45:50.165685"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:45:50.167452"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:45:50 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.4ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:46:04 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (10.2ms) Completed 500 Internal Server Error in 15ms  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:46:04.852614"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:46:04.852614"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:46:04.857124"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$3L3hmLhUqAja91g8/OPgNOx5G0Cd8iiXeqBh4XBYh9F2pjcgxfIl2"], ["updated_at", "2014-05-14 01:46:04.857124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:46:04 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:46:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:46:04.875781"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:46:04.875781"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:46:04.876282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:46:04 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:46:08.306827"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:46:08.306827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:46:08.329807"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$4MsQYle0gHzHir5rspnqhuMs6r.fX0XSzhYs51yEum21Egek7agqm"], ["updated_at", "2014-05-14 01:46:08.329807"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:46:08 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 116ms (Views: 99.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:46:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:46:08.487120"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:46:08.487120"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:46:08.488152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:46:08 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:46:08.525563"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:46:08.525563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:46:08.529834"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$DflpJVSzeyUSUrWdyWvot.S/71QIBmFYQGRNvVD6cdgcUc2c1b2jq"], ["updated_at", "2014-05-14 01:46:08.529834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:46:08 -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 (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/storytime/application (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:46:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:46:08.547015"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:46:08.547015"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:46:08.547393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:46:08 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:46:08 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (13.7ms) Completed 500 Internal Server Error in 18ms  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:48:07.795583"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:48:07.795583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:48:07.820395"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$t4qQrrwimkLNS5veECWgyOw9Wzz6VlLtem8BACENbfsjiwItXholC"], ["updated_at", "2014-05-14 01:48:07.820395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:48:07 -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.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (29.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.9ms) Completed 200 OK in 135ms (Views: 119.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:48:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:48:08.007586"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:48:08.007586"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:48:08.009459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 21ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:48:08 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:48:08.041309"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:48:08.041309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:48:08.045634"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$qsQpZ3l4RgepSc0YfWJuP.utq5wno5xt8qgT2nE0GntePSZyszFlW"], ["updated_at", "2014-05-14 01:48:08.045634"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:48:08 -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 (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/storytime/application (2.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:48:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:48:08.062576"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:48:08.062576"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:48:08.063125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:48:08 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:48:08 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (1.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.5ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (10.8ms) Completed 500 Internal Server Error in 6443ms  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:48:52.223000"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:48:52.223000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:48:52.245982"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$FfmgQg0IqIKTpJfcFwJ1DeAABQ7.M18Y4UscLAFmS/TP.gX5/XOS2"], ["updated_at", "2014-05-14 01:48:52.245982"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:48:52 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (28.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 120ms (Views: 101.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:48:52 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:48:52.404313"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:48:52.404313"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:48:52.405282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:48:52 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.4ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:48:52 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (10.8ms) Completed 500 Internal Server Error in 15ms  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:48:52.461247"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:48:52.461247"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:48:52.465681"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$k8igxzKX1W.fNwsVpVV58uEb9/r1I1CGOMhDFHGWTuk4C5RTCFB9y"], ["updated_at", "2014-05-14 01:48:52.465681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:48:52 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:48:52 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:48:52.482626"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:48:52.482626"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:48:52.482998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:48:52 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:50:45.564696"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:50:45.564696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:50:45.588775"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$r5M3bLn6QvHCwf9nBcg1ZerD9LahGXKpK0jbGm2DKgKT1tKIEpAei"], ["updated_at", "2014-05-14 01:50:45.588775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:50:45 -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/storytime/application (25.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 115ms (Views: 100.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:50:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:50:45.741832"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:50:45.741832"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:50:45.742815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:50:45 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.4ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:50:45 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Completed 500 Internal Server Error in 4ms  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:50:45.794131"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:50:45.794131"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:50:45.798512"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$Bs2Wj8R8txT50PWQNYumBuV2dpZ//Rony2A4F7hIcspRNTqM2auKS"], ["updated_at", "2014-05-14 01:50:45.798512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:50:45 -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 (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:50:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:50:45.818549"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:50:45.818549"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:50:45.818907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:50:45 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:51:06.935273"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:51:06.935273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:51:06.958975"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$aTJjVSrng5kRkNr0/q1f.e7myILq6iRsicL/F8tuJuVtiE..I5Ni."], ["updated_at", "2014-05-14 01:51:06.958975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:51:06 -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.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (28.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 117ms (Views: 103.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:51:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:51:07.114043"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:51:07.114043"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:51:07.115023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:51:07 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:51:07.148445"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:51:07.148445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:51:07.152071"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$4s8a7teTE3WklG37Qkzj4ue8Lo2lARf1Z8DAnZ1QZCMrBUPUAPtwC"], ["updated_at", "2014-05-14 01:51:07.152071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:51:07 -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 (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:51:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:51:07.169083"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:51:07.169083"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:51:07.169465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:51:07 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:51:07 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Completed 500 Internal Server Error in 3ms  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:51:39.520237"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:51:39.520237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:51:39.543129"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$mU87aBOBzTyQ7ZIPO03Ox.VXKs.I5ibDbE1YIF/h8gjS5Cz77Kl3i"], ["updated_at", "2014-05-14 01:51:39.543129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:51:39 -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 (2.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (31.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.7ms) Completed 200 OK in 150ms (Views: 137.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:51:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:51:39.733754"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:51:39.733754"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:51:39.735480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 23ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:51:39 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (11.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:51:39.780064"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:51:39.780064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:51:39.784719"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$h4KKytHdzjX1fMPF9AaJxOsjTMrZvc4398HMfLmTJrEtsNDeUSzi."], ["updated_at", "2014-05-14 01:51:39.784719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:51:39 -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 (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:51:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:51:39.806067"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:51:39.806067"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:51:39.806518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:51:39 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:51:39 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:52:26.645338"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:52:26.645338"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:52:26.669760"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$I1KivSyX1NNCpgHc1/uJfOhZsJ5DbMhNeFhSYkE65OlRflGGRvG1."], ["updated_at", "2014-05-14 01:52:26.669760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:52:26 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 118ms (Views: 104.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:52:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:52:26.826029"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:52:26.826029"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:52:26.827033"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:52:26 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:52:26.862254"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:52:26.862254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:52:26.866681"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$EX9cUFTCeAWNnZJRru8c6eAf3BqK0JmEJ9I680DOw.4e6WCELILpe"], ["updated_at", "2014-05-14 01:52:26.866681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:52:26 -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 (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/storytime/application (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:52:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:52:26.884120"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:52:26.884120"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:52:26.884576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:52:26 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:52:26 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:52:26 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (27.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (28.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 125ms (Views: 122.7ms | ActiveRecord: 0.4ms)  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:52:42.988367"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:52:42.988367"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:52:43.014480"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$vxoNJlvqMvaA9X/7imMBm.17dWrfsEABo7zQUS/A78NfpRUNsLIL2"], ["updated_at", "2014-05-14 01:52:43.014480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:52: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/storytime/application (29.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 115ms (Views: 102.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:52:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:52:43.167342"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:52:43.167342"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:52:43.168349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:52:43 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites"  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:52:43.195923"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:52:43.195923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:52:43.200349"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$AwBFgkkrSCQr0dURhWcnpOU7CBKFSt8T8sauXzPLV2aNO6qIxnexm"], ["updated_at", "2014-05-14 01:52:43.200349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:52: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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:52:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:52:43.216422"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:52:43.216422"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:52:43.216864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:52:43 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:52:43 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:52:43 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (20.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (21.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 111ms (Views: 107.5ms | ActiveRecord: 0.4ms)  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:53:59.423050"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:53:59.423050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:53:59.445999"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$36v1PpJ5OQMqvByw8cbFwutJNI8SLcbOSrDniVRPY6aYnS8H5bg4i"], ["updated_at", "2014-05-14 01:53:59.445999"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:53:59 -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.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (28.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 120ms (Views: 102.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:53:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:53:59.607843"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:53:59.607843"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:53:59.608885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:53:59 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:53:59 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (20.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (21.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 103ms (Views: 99.6ms | ActiveRecord: 0.4ms)  (2.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:53:59.753162"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:53:59.753162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:53:59.757732"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$ZLuBWMCp9b/4HRS0WD9jYeEkHAHc2iy8DCH2TrIIRHaFeNsRFiFhu"], ["updated_at", "2014-05-14 01:53:59.757732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:53:59 -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 (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:53:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:53:59.776781"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:53:59.776781"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:53:59.777158"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:53:59 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:53:59 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:53:59 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (10.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (10.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 14.0ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:54:13.428628"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:54:13.428628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:54:13.450082"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$k.6oa7HJuW9a3Szt3RgMWOJFe2Zrs2RQc2UBprLr02DybQAQFRpzG"], ["updated_at", "2014-05-14 01:54:13.450082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:54:13 -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/storytime/application (24.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 88ms (Views: 72.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:54:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:54:13.577160"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:54:13.577160"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:54:13.578811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 20ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:54:13 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:54:13 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (25.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (26.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 116ms (Views: 112.8ms | ActiveRecord: 0.4ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:54:13.739352"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:54:13.739352"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:54:13.744231"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$.l5rLtUCn6vWWQft/e3riuzJUDADRgp8S0Oz.Q5fOLBEegrNSFszO"], ["updated_at", "2014-05-14 01:54:13.744231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:54:13 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:54:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:54:13.765142"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:54:13.765142"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:54:13.765562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:54:13 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:54:13 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:54:13 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (9.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 13.5ms | ActiveRecord: 0.4ms)  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:54:24.362237"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:54:24.362237"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:54:24.382912"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Z9bFx39f9CWr/iJA1n2ou.peBWRQP0g6yIUz0d9uMMojAGrCYh6J."], ["updated_at", "2014-05-14 01:54:24.382912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:54:24 -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.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (25.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 125ms (Views: 112.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:54:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:54:24.548494"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:54:24.548494"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:54:24.549970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:54:24 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:54:24 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (25.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (27.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 118ms (Views: 114.3ms | ActiveRecord: 0.5ms) Started PATCH "/dashboard/sites/1" for 127.0.0.1 at 2014-05-13 20:54:24 -0500 Processing by Storytime::Dashboard::SitesController#update as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site's New Name", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Update Site", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_sites" SET "footer" = ?, "ga_tracking_id" = ?, "header" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_sites"."id" = 1 [["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site's New Name"], ["updated_at", "2014-05-14 01:54:24.711454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (8.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 11.4ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:54:24.737942"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:54:24.737942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:54:24.741436"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$.wqnNZ4HlqoCuwk/Ps1EPuitnJy7Td33nFp03QDMKHWKL1.f5FNKC"], ["updated_at", "2014-05-14 01:54:24.741436"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:54:24 -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 (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/storytime/application (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:54:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:54:24.756365"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:54:24.756365"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:54:24.756742"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:54:24 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:54:24 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:54:24 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (10.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (10.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 14.0ms | ActiveRecord: 0.2ms)  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:54:50.200957"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:54:50.200957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:54:50.223668"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$4ZLqNaya8FCK6IzZO8gFSOhV2h7Awyw7RqAwnpGeF6gOYHjPSaSKO"], ["updated_at", "2014-05-14 01:54:50.223668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:54:50 -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.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (24.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 112ms (Views: 99.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:54:50 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:54:50.376639"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:54:50.376639"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:54:50.377610"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:54:50 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:54:50 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (21.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (22.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 108ms (Views: 105.2ms | ActiveRecord: 0.3ms) Started PATCH "/dashboard/sites/1" for 127.0.0.1 at 2014-05-13 20:54:50 -0500 Processing by Storytime::Dashboard::SitesController#update as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site's New Name", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Update Site", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_sites" SET "footer" = ?, "ga_tracking_id" = ?, "header" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_sites"."id" = 1 [["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site's New Name"], ["updated_at", "2014-05-14 01:54:50.531166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (7.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (8.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 11.1ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:54:50.560579"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:54:50.560579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:54:50.564926"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$XXISJMptkKNX1sFdAD.JO.xqkh.oXkrvQ0BYoVFgQoxSU8QMi3Ej."], ["updated_at", "2014-05-14 01:54:50.564926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:54:50 -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 (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:54:50 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:54:50.587386"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:54:50.587386"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:54:50.587984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:54:50 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:54:50 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:54:50 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (7.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (8.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.3ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:10.711498"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:55:10.711498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:10.738316"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$bBhzmm.eCeF6wK1YB0ot2uvOBdaB9g6BzB95z/Nmn/uIYjRXci94W"], ["updated_at", "2014-05-14 01:55:10.738316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:10 -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/storytime/application (25.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 112ms (Views: 97.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:10 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:10.900649"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:10.900649"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:10.901702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:10 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.4ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:55:10 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:55:10 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (20.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (21.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 103ms (Views: 100.4ms | ActiveRecord: 0.3ms)  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:11.057284"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:55:11.057284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:11.060848"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$aePXRJzDv6M9gtEZMiYjEuRbqdyNUXKy0BmHhK8c9TJxE9jb.p8Ly"], ["updated_at", "2014-05-14 01:55:11.060848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:11 -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 (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/storytime/application (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:11.075825"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:11.075825"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:11.076184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:11 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:55:11 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (8.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.3ms) Started PATCH "/dashboard/sites/1" for 127.0.0.1 at 2014-05-13 20:55:11 -0500 Processing by Storytime::Dashboard::SitesController#update as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site's New Name", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Update Site", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_sites" SET "footer" = ?, "ga_tracking_id" = ?, "header" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_sites"."id" = 1 [["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site's New Name"], ["updated_at", "2014-05-14 01:55:11.108328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (7.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (8.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 11.1ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 6ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:22.192541"], ["title", "Site Title 1"], ["updated_at", "2014-05-14 01:55:22.192541"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:22.219158"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$grv89UzFtc9Prv1svdu6keLItnuATQ9ssJUqYUWnj6JLHHu/KUWJ2"], ["updated_at", "2014-05-14 01:55:22.219158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 10ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:22.244484"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$RWv7FyelLzUKzyclY9PmG.C2y3VHqJ29m1VowuCg/puXeTMNT/8s2"], ["updated_at", "2014-05-14 01:55:22.244484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:22.252951"], ["title", "Site Title 2"], ["updated_at", "2014-05-14 01:55:22.252951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:22.256656"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$/dEN0pA7QpGi0IazZVJ3KuLCEtofWHxNCiqxVbguOEE4DCA.PrhZi"], ["updated_at", "2014-05-14 01:55:22.256656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:24 -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 (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 80ms (Views: 68.9ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-13 20:55:24 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-13 20:55:24 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:24.998614"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:24.998614"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:24.999681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50389/ Completed 302 Found in 13ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:25 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.4ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-13 20:55:25 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (17.0ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 108ms (Views: 102.4ms | ActiveRecord: 0.8ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-13 20:55:25 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:25.308236"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-14 01:55:25.308236"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.5ms) Completed 200 OK in 44ms (Views: 15.9ms | ActiveRecord: 0.8ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-13 20:55:25 -0500 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:26.257311"], ["title", "Site Title 3"], ["updated_at", "2014-05-14 01:55:26.257311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:26.260889"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$ytX7tD4fcI5B6Vy00vmtRewW43N0WoV8y.BaJPUz0F7TnZR1rvacm"], ["updated_at", "2014-05-14 01:55:26.260889"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:26 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:26.277159"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:26.277159"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:26.278093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:26 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:26.292134"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$yauEDjnIvl1g79JjHOMPyOxsl7.R7FOPATAAgRhcQJ88p/3CMWfHu"], ["updated_at", "2014-05-14 01:55:26.292134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:26.295945"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-14 01:55:26.295945"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:26.301881"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$DbHZH9l0FUshphf0./GpLe/PdTSrSJk9RABv4tDddsCw/AthJisX2"], ["updated_at", "2014-05-14 01:55:26.301881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:26.306949"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-14 01:55:26.306949"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-13 20:55:26 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.3ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.5ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:26.338749"], ["title", "Site Title 4"], ["updated_at", "2014-05-14 01:55:26.338749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:26.342928"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$XppH1ifBYSOExv5mvTWXzO2ddbJzOVE33pY0S0pYQdrpuxd7vJ0ZW"], ["updated_at", "2014-05-14 01:55:26.342928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:26 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:26.463517"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:26.463517"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:26.464399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50389/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:26 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:26.532650"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$MItJbR4/MHAFfuDsPqS/v.oTFnOwo2s0.Gv3F30az0FvWQ6HTUXg."], ["updated_at", "2014-05-14 01:55:26.532650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:26.537215"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-14 01:55:26.537215"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-13 20:55:26 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.5ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-13 20:55:27 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.5ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:27.510704"], ["title", "Site Title 5"], ["updated_at", "2014-05-14 01:55:27.510704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:27.514313"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$h2S4LSO9kdZ8VMUzXk/Sse2b3Ks97/JZzT4QoeRb9qbfIOFfBM73a"], ["updated_at", "2014-05-14 01:55:27.514313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:27 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:27.621404"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:27.621404"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:27.621807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50389/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:27 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:27.686901"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$rardNjzpg81x6O3fuC9gY.ocabgR6SRlsOhniw7ptj3mXfUPkzTMi"], ["updated_at", "2014-05-14 01:55:27.686901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:27.691838"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-14 01:55:27.691838"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 20:55:27 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.3ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (9.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (20.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 61ms (Views: 30.4ms | ActiveRecord: 0.8ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.168663"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$O/zrMvwS7ZW5tTiGKJfrcOP6smXN3CFO/4g0oXLkpyNiTtw0AiY4."], ["updated_at", "2014-05-14 01:55:29.168663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:29.170382"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-14 01:55:29.170382"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.174663"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$ZmPk1erRWG8AZh.U2TP2SOGrAbLjzf2.Yeo/aafpkGPCFwNVJNDLi"], ["updated_at", "2014-05-14 01:55:29.174663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:29.176042"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-14 01:55:29.176042"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.179230"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$q6iRyFLY6pVg1nBkvimEE.y1sYhQSt9ymCDTOZsujiUUpbOXxl3PO"], ["updated_at", "2014-05-14 01:55:29.179230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:29.180396"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-14 01:55:29.180396"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.219021"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$Hr4UPjsggjafEXs.nFt1nO.CZ8v9iDh3OdHK7gN6x..kpfHbrmchO"], ["updated_at", "2014-05-14 01:55:29.219021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:29.220558"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-14 01:55:29.220558"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.245393"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$5e.KKRF2mjDc4DFUwj1UtOlLu3I71nLXU3zBJSPkkGcNgKtWTt/a2"], ["updated_at", "2014-05-14 01:55:29.245393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:29 -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 (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user15@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:29.264096"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:29.264096"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:29.265297"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 52ms (Views: 51.1ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (14.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 22.2ms | ActiveRecord: 0.4ms) Started POST "/dashboard/sites" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.363182"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site"], ["updated_at", "2014-05-14 01:55:29.363182"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/sites/1/edit Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:29.408040"], ["title", "Site Title 6"], ["updated_at", "2014-05-14 01:55:29.408040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.412104"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$VMpys7kt9Ywd1erxLYOCPu4XYojfu3mLr3gFbaDNOFLz1bRC8i2wW"], ["updated_at", "2014-05-14 01:55:29.412104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:29 -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 (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user16@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:29.429395"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:29.429395"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:29.429818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.3ms) Started PATCH "/dashboard/sites/1" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::Dashboard::SitesController#update as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site's New Name", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Update Site", "id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_sites" SET "footer" = ?, "ga_tracking_id" = ?, "header" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_sites"."id" = 1 [["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site's New Name"], ["updated_at", "2014-05-14 01:55:29.464315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 11.8ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:29.501952"], ["title", "Site Title 7"], ["updated_at", "2014-05-14 01:55:29.501952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.505862"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$5pcrmGwr0oyPg35ptan70uA9tor6fYo1FeYIzJcqfQr8rCfOaRclK"], ["updated_at", "2014-05-14 01:55:29.505862"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:29 -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 (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user17@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:29.524030"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:29.524030"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:29.524395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (11.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 14.9ms | ActiveRecord: 0.4ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:29.583201"], ["title", "Site Title 8"], ["updated_at", "2014-05-14 01:55:29.583201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.586954"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$NtEQuJEHyGVeZAxa16KlO.c0r8LJYcfNxqolm/GwFTmceIrxoVIsa"], ["updated_at", "2014-05-14 01:55:29.586954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:29 -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 (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:29.603099"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:29.603099"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:29.603448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.616307"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$6ASVcvg9JMyZhmie8nbRFOUyVmNma1Baxv8wbtZwOmQW35eGANFsi"], ["updated_at", "2014-05-14 01:55:29.616307"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:29.633119"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-14 01:55:29.633119"], ["user_id", 2]] 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.640370"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.644981"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$KP3a.u0MulM7UjrdNkpBnOdsX5qj19WSUDVkOHjwqVwM3chQBYQAq"], ["updated_at", "2014-05-14 01:55:29.644981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:29.648292"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-14 01:55:29.648292"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-2' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.650877"], ["slug", "page-2"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.654467"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$LjzPs1Vf01auowttRdqB5ubNL8k8moc7co3bkyho/8OjJXujEgfyG"], ["updated_at", "2014-05-14 01:55:29.654467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:29.659133"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-14 01:55:29.659133"], ["user_id", 4]] 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::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" = 'page-3' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.662600"], ["slug", "page-3"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (4.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 16.1ms | ActiveRecord: 0.6ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:29.743973"], ["title", "Site Title 9"], ["updated_at", "2014-05-14 01:55:29.743973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.748570"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$XwCQ.fap1/4q1D9eTk0wOu6QzvLX1xSQRx6CIpQESynkHO.yXTV3C"], ["updated_at", "2014-05-14 01:55:29.748570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:29 -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 (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user22@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:29.769014"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:29.769014"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:29.769407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (10.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 16.8ms | ActiveRecord: 0.5ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Page"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-14 01:55:29.816152"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-14 01:55:29.816152"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.818688"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages Completed 302 Found in 10ms (ActiveRecord: 0.9ms) Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (1.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:29.852300"], ["title", "Site Title 10"], ["updated_at", "2014-05-14 01:55:29.852300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.855956"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$MlpG65y3gCncl1pLx/a.OeIIVhN63tz061UZJz2YiRXH6HUt3sI5a"], ["updated_at", "2014-05-14 01:55:29.855956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:29 -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 (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:29.883946"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:29.883946"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:29.884310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.900240"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$OFO.al85Qewdjn5g0jPMtuSS9woUq7s9mFitl25USmwHcMnI1nRUK"], ["updated_at", "2014-05-14 01:55:29.900240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:29.904143"], ["published", "f"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-14 01:55:29.904143"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-4' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.907076"], ["slug", "page-4"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-4/edit" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-4"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-4' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (7.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 13.5ms | ActiveRecord: 0.6ms) Started PATCH "/dashboard/pages/page-4" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Page", "id"=>"page-4"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-4' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "content" = ?, "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["content", "It was a dark and stormy night..."], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-14 01:55:29.937862"]] FriendlyId::Slug Load (0.0ms) 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.940270"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/the-story Completed 302 Found in 9ms (ActiveRecord: 0.9ms) Started GET "/the-story" for 127.0.0.1 at 2014-05-13 20:55:29 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"the-story"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'the-story' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:29.970900"], ["title", "Site Title 11"], ["updated_at", "2014-05-14 01:55:29.970900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:29.974644"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$misOfj4s4nnT2N5BFY3BsudLxg.NVcKZYWPhooXZ.WQfMjAVDl1v."], ["updated_at", "2014-05-14 01:55:29.974644"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:29 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user25@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:30.096279"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:30.096279"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:30.097196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50389/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:30 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:30.160130"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$U4gTgUUd7cXxRiG2cKvf9etm6IvLBOR4JzIzgvUnOsowFRFCm9uRu"], ["updated_at", "2014-05-14 01:55:30.160130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:30.163321"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-14 01:55:30.163321"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-5' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:30.165749"], ["slug", "page-5"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:30.170421"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$dp8R4ocTYGWVIEt17CRkx.Caf4bURpMZAwf22ADlSXxKsYsa4m06i"], ["updated_at", "2014-05-14 01:55:30.170421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:30.173823"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-14 01:55:30.173823"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-6' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:30.176498"], ["slug", "page-6"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:30.180296"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$p8dLWARHpGwU3i7KuhtxYex1RVk.KxLRZl1k.lh2QAr.nTq4WyL/m"], ["updated_at", "2014-05-14 01:55:30.180296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:30.183357"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-14 01:55:30.183357"], ["user_id", 4]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-7' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:30.185642"], ["slug", "page-7"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-13 20:55:30 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (3.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.3ms | ActiveRecord: 0.5ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-5" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-5"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-5' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_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 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.9ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:31.151057"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$CKnC6TGiUxjcXe8xTam8zOuXtGKL5VU7qa79iSV9ipBu1dejQOU.O"], ["updated_at", "2014-05-14 01:55:31.151057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-8' 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" = 'page-8') LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:31.155120"], ["published", "t"], ["slug", "page-8"], ["title", "Page #8"], ["updated_at", "2014-05-14 01:55:31.155120"], ["user_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"]] 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" = 'page-8' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:31.159657"], ["slug", "page-8"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-8" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-8"} Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-8' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:31.184460"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$vZkbiofKhamt1dEugD3ydOZHAMS3/flc5LBVy7i8RxB24N8tEuKnK"], ["updated_at", "2014-05-14 01:55:31.184460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-9' 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" = 'page-9') LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:31.187791"], ["published", "t"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-14 01:55:31.187791"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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" = 'page-9' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:31.191247"], ["slug", "page-9"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:31.195247"], ["title", "Site Title 12"], ["updated_at", "2014-05-14 01:55:31.195247"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:31.201075"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$HTsHKe9pacsVfs.dtWQ51eNGVWrfMfHhKRykpua7GAQOsIMMGUzZu"], ["updated_at", "2014-05-14 01:55:31.201075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:31 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user31@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:31.217571"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:31.217571"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:31.218490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:31.230654"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$RuEwR.p7zBk4R9JI5n4Fbe1n0..KBiM5qgqly8apXfsL8nyZXCUza"], ["updated_at", "2014-05-14 01:55:31.230654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:31.232038"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-14 01:55:31.232038"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:31.235298"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$G9HHOpV16RoNkQN21tADY.QavsfRTkMtkUfEzScbJ1c87/YmN58kK"], ["updated_at", "2014-05-14 01:55:31.235298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:31.236504"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-14 01:55:31.236504"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:31.239899"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$SYsghhYL1tG9oJwWuZPwW.ixeN32QBx8bnWXlcI2q7K5exPAHwW8i"], ["updated_at", "2014-05-14 01:55:31.239899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:31.241676"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-14 01:55:31.241676"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 12.5ms | ActiveRecord: 0.6ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:31.305974"], ["title", "Site Title 13"], ["updated_at", "2014-05-14 01:55:31.305974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:31.309870"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$VXEvVzEX3mlkXU9xL2U0HeVYfNHCQQ8P598L8esb/ncI3gMrWB4eu"], ["updated_at", "2014-05-14 01:55:31.309870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:31 -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 (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user35@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:31.327788"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:31.327788"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:31.328207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (9.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 13.0ms | ActiveRecord: 0.6ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Post"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-14 01:55:31.365182"], ["excerpt", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-14 01:55:31.365182"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:31.389188"], ["title", "Site Title 14"], ["updated_at", "2014-05-14 01:55:31.389188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:31.393514"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$2qu6KECdZgRR182Zvg7vyu.JhVllQtYMSL1AYjCdbyjEr3sXwLBKq"], ["updated_at", "2014-05-14 01:55:31.393514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:31 -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 (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user36@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:31.414262"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:31.414262"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:31.414704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user37@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:31.429885"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$t8apwvzTinvyyJ8WozN9IeBuWUrK6uhRNNcAkATKKtV63KeCTBxOu"], ["updated_at", "2014-05-14 01:55:31.429885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:31.431942"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "f"], ["title", "Post #8"], ["updated_at", "2014-05-14 01:55:31.431942"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (8.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 13.7ms | ActiveRecord: 0.5ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #8. It was a dark and stormy night.", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-14 01:55:31.460537"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-14 01:55:31.482172"], ["title", "Site Title 15"], ["updated_at", "2014-05-14 01:55:31.482172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:31.486651"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$hrBGBF3DoMJnR3EYjFC6b.SCxx4x12l8.bS0/5k2xu7mvghjhkwea"], ["updated_at", "2014-05-14 01:55:31.486651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:31 -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 (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user38@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-14 01:55:31.613212"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-14 01:55:31.613212"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-14 01:55:31.614073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50389/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Storytime::PostsController#index as HTML 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/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user39@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:31.681373"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$DF1DEtoBEol7XxekRK7VJeOfQWeyEmXOVGr4rdOR1SuPk7iTeWnUi"], ["updated_at", "2014-05-14 01:55:31.681373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:31.682831"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-14 01:55:31.682831"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:31.686158"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$AzgT8rfmwm6Yg7uEHBAiGupe261l6XCPio3i0/yHglQR2Ez6oN25y"], ["updated_at", "2014-05-14 01:55:31.686158"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:31.687339"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-14 01:55:31.687339"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-14 01:55:31.690783"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$eYQPZKpaDRfr35agUZ.jOuMYIFbFL/SfHGTz6bFz6fV5hWJ4whxRW"], ["updated_at", "2014-05-14 01:55:31.690783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-14 01:55:31.692014"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "t"], ["title", "Post #11"], ["updated_at", "2014-05-14 01:55:31.692014"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-13 20:55:31 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.4ms) Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-13 20:55:32 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 7ms (ActiveRecord: 0.6ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.5ms) DROP TABLE "friendly_id_slugs"  (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.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.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.9ms) 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.9ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")  (1.5ms) DROP TABLE "storytime_media"  (0.9ms) 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.6ms) DROP TABLE "storytime_pages"  (1.8ms) CREATE TABLE "storytime_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "published" boolean, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_storytime_pages_on_user_id" ON "storytime_pages" ("user_id")  (1.6ms) DROP TABLE "storytime_posts"  (1.0ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published" boolean, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (1.4ms) DROP TABLE "storytime_sites"  (1.2ms) 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)   (1.5ms) CREATE INDEX "index_storytime_sites_on_selected_root_page_id" ON "storytime_sites" ("selected_root_page_id")  (1.6ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)   (1.5ms) CREATE INDEX "index_storytime_taggings_on_post_id" ON "storytime_taggings" ("post_id")  (0.3ms)  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.1ms) 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)   (2.5ms) DROP TABLE "storytime_users"  (1.0ms) CREATE TABLE "storytime_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.8ms) CREATE UNIQUE INDEX "index_storytime_users_on_email" ON "storytime_users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'   (1.6ms) CREATE UNIQUE INDEX "index_storytime_users_on_reset_password_token" ON "storytime_users" ("reset_password_token")  (0.3ms) SELECT version FROM "schema_migrations"  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514200304')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514200234') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:17.997699"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$baUAUcghi7Ap1q4x6YaDx.laMopjzO4T/PDrD/jBooTq9Zfsnxdry"], ["updated_at", "2014-05-18 20:09:17.997699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.2ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (1.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:18.082760"], ["name", "tag1"], ["updated_at", "2014-05-18 20:09:18.082760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:18.089544"], ["name", "tag2"], ["updated_at", "2014-05-18 20:09:18.089544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.2ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.5ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:18.129839"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-18 20:09:18.129839"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:18.132998"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-18 20:09:18.132998"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:18.135648"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-18 20:09:18.135648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:18.151468"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$JKdlBw.wLoiUJ/TkIGZj0uzGfvugZXQK4qM.5MyC.VZGtofOPdruO"], ["updated_at", "2014-05-18 20:09:18.151468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.3ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.2ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:18.166690"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-18 20:09:18.166690"], ["user_id", 2]] SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:18.168675"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-18 20:09:18.168675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.2ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tagging Load (0.2ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] SQL (0.2ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 2]] SQL (0.2ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.1ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:18.212877"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$oq6VusZZnda4MKQujdt2YuW7ItGDqMQWcn5V4npebgSGfSK43Ilpy"], ["updated_at", "2014-05-18 20:09:18.212877"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.5ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:18.229600"], ["name", "tag1"], ["updated_at", "2014-05-18 20:09:18.229600"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.3ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.3ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.2ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:18.236128"], ["name", "tag2"], ["updated_at", "2014-05-18 20:09:18.236128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.2ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.2ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:18.271564"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-18 20:09:18.271564"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:18.273810"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-18 20:09:18.273810"]] SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:18.280781"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-18 20:09:18.280781"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.3ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.2ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["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]] Storytime::Tag Load (0.3ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.3ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:18.310309"], ["name", "tag1"], ["updated_at", "2014-05-18 20:09:18.310309"]] SQL (0.2ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:18.314658"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-18 20:09:18.314658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (8.0ms) rollback transaction  (1.6ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:18.341227"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$ORxhhik94iNjM6stfqd2ZO3NBKy9R2ST4OWf1Ue6s51zLYBCUOh/C"], ["updated_at", "2014-05-18 20:09:18.341227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.3ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.7ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:18.347829"], ["name", "tag1"], ["updated_at", "2014-05-18 20:09:18.347829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:18.352707"], ["name", "tag2"], ["updated_at", "2014-05-18 20:09:18.352707"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.2ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.2ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:18.479246"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-18 20:09:18.479246"], ["user_id", 1]] SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:18.483166"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-18 20:09:18.483166"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:18.485302"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-18 20:09:18.485302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:18.495366"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$Tzi17SFpzb05ChRksHrnteS0BYiXdYckwDYdB0KabzQJIpAnf0PE6"], ["updated_at", "2014-05-18 20:09:18.495366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.3ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.2ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:18.505683"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-18 20:09:18.505683"], ["user_id", 2]] SQL (0.3ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:18.512944"], ["post_id", 2], ["tag_id", 2], ["updated_at", "2014-05-18 20:09:18.512944"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (2.7ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.1ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:18.530107"], ["name", "tag1"], ["updated_at", "2014-05-18 20:09:18.530107"]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:18.534313"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-18 20:09:18.534313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:18.556445"], ["title", "Site Title 1"], ["updated_at", "2014-05-18 20:09:18.556445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:18.563672"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$yqG8ZjbnOGlEgsnE19XDdeU8SJPvdXvg/ATXjeK0qMq38XCtHndbO"], ["updated_at", "2014-05-18 20:09:18.563672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:21 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (1.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (40.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (1.1ms) Completed 200 OK in 3227ms (Views: 3201.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-18 15:09:24 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-18 15:09:24 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:09:25.023294"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:09:25.023294"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:09:25.025303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49352/ Completed 302 Found in 21ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:09:25 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (11.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 20ms (Views: 18.2ms | ActiveRecord: 0.6ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-18 15:09:25 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (84.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (94.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 268ms (Views: 260.8ms | ActiveRecord: 1.0ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-18 15:09:25 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:25.530492"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-18 20:09:25.530492"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (4.1ms) Completed 200 OK in 32ms (Views: 13.4ms | ActiveRecord: 0.9ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-18 15:09:25 -0500 Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:27.004358"], ["title", "Site Title 2"], ["updated_at", "2014-05-18 20:09:27.004358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:27.010248"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$hG6YgoYsomakhCDf0EIRpe7P9ZCvxWX36/kEDf9F3o5yq/h.ctlkC"], ["updated_at", "2014-05-18 20:09:27.010248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:27 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:09:27.040955"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:09:27.040955"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:09:27.043876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:09:27 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.7ms) Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.6ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:27.069594"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$mNzl0ZPB65oFfzicOjglgu0BD9FhUe5SP3LKKRvyTDQJX5aTdveM2"], ["updated_at", "2014-05-18 20:09:27.069594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:27.079473"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-18 20:09:27.079473"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:27.087215"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$3UB/5NgdUi7ga7/zhK5YyunkfkttOJydX.2iktWWDh.JYHHMcDgNS"], ["updated_at", "2014-05-18 20:09:27.087215"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:27.162686"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-18 20:09:27.162686"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-18 15:09:27 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.9ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (7.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (10.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (13.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 17.5ms | ActiveRecord: 0.8ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:27.218112"], ["title", "Site Title 3"], ["updated_at", "2014-05-18 20:09:27.218112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:27.225397"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$oD7o6BaaL.ObZ4q9N1QsDexv7xo5.EwzvatiW8U5lmuWlFOJu4nw2"], ["updated_at", "2014-05-18 20:09:27.225397"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:27 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (1.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 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.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:09:27.425517"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:09:27.425517"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:09:27.427338"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49352/ Completed 302 Found in 11ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:09:27 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.7ms) Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.5ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:27.512871"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$2Lmx0dV3QdYtrABFGfhe/uc/v8qnOpS8ywxknuoCN810JOYs1icue"], ["updated_at", "2014-05-18 20:09:27.512871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:27.519332"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-18 20:09:27.519332"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-18 15:09:27 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.8ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (8.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (23.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (25.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 34.3ms | ActiveRecord: 0.8ms) Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-18 15:09:27 -0500  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:29.176879"], ["title", "Site Title 4"], ["updated_at", "2014-05-18 20:09:29.176879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:29.182219"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$rikmgVBJVlQkPcYx2Kz45.noMJOQ6hqf0m0eq0B5TJyuEUz9X4l0y"], ["updated_at", "2014-05-18 20:09:29.182219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:09:29.299030"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:09:29.299030"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:09:29.299439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49352/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:09:29 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:29.369008"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$JjeZziuJpLgR9232hAnrsOj5BWzsYog9lJ..YYD8TQcohb9PmGypm"], ["updated_at", "2014-05-18 20:09:29.369008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:29.374813"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-18 20:09:29.374813"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-18 15:09:29 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.7ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (8.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 12.0ms | ActiveRecord: 0.7ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-18 15:09:30 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 9ms (ActiveRecord: 0.6ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:30.458775"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$jn9eCsBpBGm3oUw.tGfG2u9064XFe68w.ssTNRSkqhwhZaHm538nu"], ["updated_at", "2014-05-18 20:09:30.458775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:30.460888"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-18 20:09:30.460888"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:30.464706"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$dyLUIuKngeS9/tE24I7CqO9yh2LxVCNdFaQy/HASi6O8hgMTTNGPa"], ["updated_at", "2014-05-18 20:09:30.464706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:30.466380"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-18 20:09:30.466380"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:30.469472"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$JoE1MwQKdfKoJ/0iagtOFOz4KZugcJzZGS8WncFKEc7gyBORqHfRu"], ["updated_at", "2014-05-18 20:09:30.469472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:30.470788"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "t"], ["title", "Post #8"], ["updated_at", "2014-05-18 20:09:30.470788"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-18 15:09:30 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 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::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", 2]] 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", 1]]  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.5ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:30.579378"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$xOtFfYeor5jNP7/pUKjTMOU13UylG0Zk.kHKTu1m/dAV7SJ2hVMXS"], ["updated_at", "2014-05-18 20:09:30.579378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:30.581358"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-18 20:09:30.581358"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-18 15:09:30 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.2ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:30.676768"], ["title", "Site Title 5"], ["updated_at", "2014-05-18 20:09:30.676768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:30.681478"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$fHdCc/lKeIDyKfufP0tqYOodaK3lDocvhhNda0Ah1S338LSJuc.am"], ["updated_at", "2014-05-18 20:09:30.681478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:09:30.702111"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:09:30.702111"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:09:30.703302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:09:30 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:30.720974"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$ItrbW.yvRbXh7S.lLprYsuyeV5WEefiiQIPR6jyg69szvfydLx1T."], ["updated_at", "2014-05-18 20:09:30.720974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:30.735404"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-18 20:09:30.735404"], ["user_id", 2]] 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:30.744833"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:30.750305"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$82v65x0zOKhmNKqkqDN5vO4.BMn3KrZzPuvWDx4rm1W2ekwMMgcz6"], ["updated_at", "2014-05-18 20:09:30.750305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:30.754196"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-18 20:09:30.754196"], ["user_id", 3]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-2' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:30.756781"], ["slug", "page-2"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:30.760993"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$x98J2r4q7lxf35hrZBkiMufpft2ab0bKHBmVy1DBJ4y9pzQZ4D8tS"], ["updated_at", "2014-05-18 20:09:30.760993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:30.765768"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-18 20:09:30.765768"], ["user_id", 4]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-3' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:30.768654"], ["slug", "page-3"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-18 15:09:30 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (4.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (9.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 17.0ms | ActiveRecord: 0.5ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:30.978699"], ["title", "Site Title 6"], ["updated_at", "2014-05-18 20:09:30.978699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:30.983881"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$Jk2tltx9Og1NGoeC3Dp2OOcPYkl4yfe9tobxeTepUy9pQAe85q8vO"], ["updated_at", "2014-05-18 20:09:30.983881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user22@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:09:31.002842"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:09:31.002842"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:09:31.003302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:09:31 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-18 15:09:31 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (10.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (12.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 31ms (Views: 23.6ms | ActiveRecord: 0.6ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-18 15:09:31 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Create Page"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_pages" ("content", "created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-18 20:09:31.071295"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-18 20:09:31.071295"], ["user_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"]] 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:31.076068"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages Completed 302 Found in 19ms (ActiveRecord: 1.6ms) Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-18 15:09:31 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (1.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:31.180173"], ["title", "Site Title 7"], ["updated_at", "2014-05-18 20:09:31.180173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:31.184511"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$/PC3AbYx24j95HSwgymGueqrwbvm1oZ17PgFIc.BE2ZkqIgs4QDQK"], ["updated_at", "2014-05-18 20:09:31.184511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:31 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:09:31.299423"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:09:31.299423"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:09:31.300355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49352/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:09:31 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.3ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:31.376128"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$UeWDblye/24o98o15TU8WeQeDpoxEfi.sPiV2bZWNebw3QTKKi9y6"], ["updated_at", "2014-05-18 20:09:31.376128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:31.379836"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-18 20:09:31.379836"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-4' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:31.382260"], ["slug", "page-4"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:31.387276"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$iFNGvTtUGXa0clPEhosMAudrBzzBBJ.SMtncy5AqVZjOpOmrnOXZe"], ["updated_at", "2014-05-18 20:09:31.387276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:31.391493"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-18 20:09:31.391493"], ["user_id", 3]] 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::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" = 'page-5' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:31.394988"], ["slug", "page-5"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:31.399285"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$Z6K5krPksWWTZEqCu7dk3eJhizAowAn4kvnU6vwexpUDzulJQaUCW"], ["updated_at", "2014-05-18 20:09:31.399285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:31.402752"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-18 20:09:31.402752"], ["user_id", 4]] FriendlyId::Slug Load (0.0ms) 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::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" = 'page-6' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:31.405236"], ["slug", "page-6"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-18 15:09:31 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_page.html.erb (3.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 8.8ms | ActiveRecord: 0.5ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-4" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-4"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-4' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.2ms) SAVEPOINT active_record_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 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.2ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 11ms (ActiveRecord: 1.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:32.498818"], ["title", "Site Title 8"], ["updated_at", "2014-05-18 20:09:32.498818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:32.502925"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$m.OOBbtEog7FMmwqZ8lqrufTz3vWlKcR6bAQuLaZi0rzvBfhnVXxe"], ["updated_at", "2014-05-18 20:09:32.502925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user27@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:09:32.519811"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:09:32.519811"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:09:32.520804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:32.535473"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$kjSMXFqpdSxvKi7v36CMP.bw.mS07hZDtB1WlrxodwlJAE/tX6die"], ["updated_at", "2014-05-18 20:09:32.535473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:32.539469"], ["published", "f"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-18 20:09:32.539469"], ["user_id", 2]] FriendlyId::Slug Load (0.0ms) 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" = 'page-7' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:32.542281"], ["slug", "page-7"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-7/edit" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-7"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-7' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (7.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (8.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 13.2ms | ActiveRecord: 0.6ms) Started PATCH "/dashboard/pages/page-7" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "content"=>"It was a dark and stormy night..."}, "commit"=>"Update Page", "id"=>"page-7"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-7' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "content" = ?, "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["content", "It was a dark and stormy night..."], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-18 20:09:32.574611"]] 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"]] SQL (0.0ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:32.577318"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/the-story Completed 302 Found in 10ms (ActiveRecord: 0.9ms) Started GET "/the-story" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"the-story"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'the-story' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 70ms (Views: 68.6ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:32.674428"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$XoPxsAIVrp131zXwlGe4BuB1OSATJ50ca6BOZgHh0rlXH4Lh1MfQS"], ["updated_at", "2014-05-18 20:09:32.674428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-8' 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" = 'page-8') LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:32.680581"], ["published", "t"], ["slug", "page-8"], ["title", "Page #8"], ["updated_at", "2014-05-18 20:09:32.680581"], ["user_id", 1]] FriendlyId::Slug Load (0.0ms) 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" = 'page-8' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:32.683901"], ["slug", "page-8"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:32.690379"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$8UQQrcJcfKI0oZQgOCQsUuAmHOi8DPBJRxgN5sUr0Tpaj7J.MrTW."], ["updated_at", "2014-05-18 20:09:32.690379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user30@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:09:32.705700"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:09:32.705700"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:09:32.706255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (11.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (13.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 20.2ms | ActiveRecord: 0.5ms) Started POST "/dashboard/sites" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Exists (0.1ms) SELECT 1 AS one FROM "storytime_sites" LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-18 20:09:32.760366"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site"], ["updated_at", "2014-05-18 20:09:32.760366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/sites/1/edit Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (9.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:32.861709"], ["title", "Site Title 9"], ["updated_at", "2014-05-18 20:09:32.861709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:32.865573"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$m1Dwg8m9s9dvII0XnB9H4ufVuRYyURCyoIJYlQRrXfHz1GtouMqzm"], ["updated_at", "2014-05-18 20:09:32.865573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user31@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:09:32.883334"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:09:32.883334"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:09:32.883738"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (8.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.2ms) Started PATCH "/dashboard/sites/1" for 127.0.0.1 at 2014-05-18 15:09:32 -0500 Processing by Storytime::Dashboard::SitesController#update as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site's New Name", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Update Site", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_sites" SET "footer" = ?, "ga_tracking_id" = ?, "header" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_sites"."id" = 1 [["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site's New Name"], ["updated_at", "2014-05-18 20:09:32.917940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (8.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 11.6ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:33.017816"], ["title", "Site Title 10"], ["updated_at", "2014-05-18 20:09:33.017816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.021677"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$HmXT31LsmIajI5SL9ahUoOM9ynnvFh8Hz0B16ipOrTpXsKhTzbtXa"], ["updated_at", "2014-05-18 20:09:33.021677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user32@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:09:33.036765"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:09:33.036765"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:09:33.037134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.6ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (10.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (10.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.3ms)  (2.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:33.193729"], ["title", "Site Title 11"], ["updated_at", "2014-05-18 20:09:33.193729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.198294"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$S9FdUGmfsJRE04vcZYCt4.bfNW7HjepWfJixfejV1o9HY1heN7DJ."], ["updated_at", "2014-05-18 20:09:33.198294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 4ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.225065"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$XDb1Et0tdsHKE6/XcKBEOOUfW9c/QgbkqtLKqmL8mg9puhB8YshVK"], ["updated_at", "2014-05-18 20:09:33.225065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.247648"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$bLU1GhhHEM9t10.nM0qHtufAhIoWj8rGOWqpw8ffXLXwgfEuG1UNe"], ["updated_at", "2014-05-18 20:09:33.247648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:33.249633"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-18 20:09:33.249633"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:33.252439"], ["name", "tag1"], ["updated_at", "2014-05-18 20:09:33.252439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:33.254700"], ["name", "tag2"], ["updated_at", "2014-05-18 20:09:33.254700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.256233"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-18 20:09:33.256233"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.257836"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-18 20:09:33.257836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.265164"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$X2FtP2cb3QXF7ey8/qTr3Otv2pw/Npqu5sGu2eqbt6SGAujWx6utu"], ["updated_at", "2014-05-18 20:09:33.265164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.0ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:33.268058"], ["name", "tag1"], ["updated_at", "2014-05-18 20:09:33.268058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.0ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:33.269772"], ["name", "tag2"], ["updated_at", "2014-05-18 20:09:33.269772"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:33.275042"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "t"], ["title", "Post #11"], ["updated_at", "2014-05-18 20:09:33.275042"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.276340"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-18 20:09:33.276340"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.277304"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-18 20:09:33.277304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user37@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.282225"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$zJgHxWXNmQzkGLh5Aunqw.wA4p6yRW7gp4ZnWyuR6GigdGmle/z0O"], ["updated_at", "2014-05-18 20:09:33.282225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #12. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:33.286107"], ["excerpt", "Post #12. It was a dark and stormy night."], ["published", "t"], ["title", "Post #12"], ["updated_at", "2014-05-18 20:09:33.286107"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.286954"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-18 20:09:33.286954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.2ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.0ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.0ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.302799"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$.gKBNGEkygLNThzv72fVYur.ww6mTcQRQXFwHsoWqTaZrzJdSY0Na"], ["updated_at", "2014-05-18 20:09:33.302799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:33.305998"], ["name", "tag1"], ["updated_at", "2014-05-18 20:09:33.305998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:33.308636"], ["name", "tag2"], ["updated_at", "2014-05-18 20:09:33.308636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #13. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:33.312866"], ["excerpt", "Post #13. It was a dark and stormy night."], ["published", "t"], ["title", "Post #13"], ["updated_at", "2014-05-18 20:09:33.312866"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.314189"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-18 20:09:33.314189"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.315014"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-18 20:09:33.315014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user39@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.319330"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$BnDaK21a9NsLT325NJNhHedypohXoWlTlUj8OiKb9zjNWVrxyxvOS"], ["updated_at", "2014-05-18 20:09:33.319330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #14. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:33.322981"], ["excerpt", "Post #14. It was a dark and stormy night."], ["published", "t"], ["title", "Post #14"], ["updated_at", "2014-05-18 20:09:33.322981"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.323945"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-18 20:09:33.323945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" WHERE "storytime_tags"."name" = 'tag1' GROUP BY storytime_taggings.tag_id LIMIT 1 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" WHERE "storytime_tags"."name" = 'tag2' GROUP BY storytime_taggings.tag_id LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:33.328792"], ["title", "Site Title 12"], ["updated_at", "2014-05-18 20:09:33.328792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.332729"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$DIFbOf2ssLoXuje4Xxw9feXfuaTcZDs5ISJy/mC1mXigBUp3grFoG"], ["updated_at", "2014-05-18 20:09:33.332729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user40@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:09:33.349583"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:09:33.349583"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:09:33.349964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.363596"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$nEv57oc4cWnodGyJVOEQdupiBdcazo5zaXAIgfbVExPe/ggTgv6y."], ["updated_at", "2014-05-18 20:09:33.363596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #15. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:33.365535"], ["excerpt", "Post #15. It was a dark and stormy night."], ["published", "t"], ["title", "Post #15"], ["updated_at", "2014-05-18 20:09:33.365535"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user42@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.368739"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$XDqzq/JKm0rNLyCpgpM80ee6EpmhwBBQzkzSAYbY7lMAXdmg58Hke"], ["updated_at", "2014-05-18 20:09:33.368739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #16. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:33.370079"], ["excerpt", "Post #16. It was a dark and stormy night."], ["published", "t"], ["title", "Post #16"], ["updated_at", "2014-05-18 20:09:33.370079"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user43@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.373134"], ["email", "user43@example.com"], ["encrypted_password", "$2a$04$Zh3f116/I47YByIYIbb8VuF7KtOnBqImYuikvnu74z/jiJpPt01MG"], ["updated_at", "2014-05-18 20:09:33.373134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #17. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:33.374599"], ["excerpt", "Post #17. It was a dark and stormy night."], ["published", "t"], ["title", "Post #17"], ["updated_at", "2014-05-18 20:09:33.374599"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 11.2ms | ActiveRecord: 0.4ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:33.550151"], ["title", "Site Title 13"], ["updated_at", "2014-05-18 20:09:33.550151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user44@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.554111"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$qcBmEF6097QRPCcKjr.HnupYje47cdH7IG6gkFgP9RoCkiMVFIxBe"], ["updated_at", "2014-05-18 20:09:33.554111"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user44@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user44@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:09:33.578102"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:09:33.578102"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:09:33.578629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (9.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 13.0ms | ActiveRecord: 0.5ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "content"=>"It was a dark and stormy night...", "tag_list"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-18 20:09:33.620445"], ["excerpt", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-18 20:09:33.620445"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:33.644427"], ["title", "Site Title 14"], ["updated_at", "2014-05-18 20:09:33.644427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user45@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.648466"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$c0joFNmqfvUUOpiU/LPtT.JOlYR6R9BQVN7SDau7nj9X2trHqnWTS"], ["updated_at", "2014-05-18 20:09:33.648466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user45@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user45@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:09:33.759777"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:09:33.759777"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:09:33.760681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49352/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.3ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user46@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.829923"], ["email", "user46@example.com"], ["encrypted_password", "$2a$04$d1i.xKCfhHtxw9sUOvn./OobmTLD0Nw0NZLUv5oJ2o6RSTJ8iH2Ee"], ["updated_at", "2014-05-18 20:09:33.829923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #18. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:33.831718"], ["excerpt", "Post #18. It was a dark and stormy night."], ["published", "t"], ["title", "Post #18"], ["updated_at", "2014-05-18 20:09:33.831718"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user47@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.834843"], ["email", "user47@example.com"], ["encrypted_password", "$2a$04$Ni05PE4/8Gl/B62kmMJQlul/sTDVGrfbQij1LeN0etozNr3WfRUs."], ["updated_at", "2014-05-18 20:09:33.834843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #19. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:33.836175"], ["excerpt", "Post #19. It was a dark and stormy night."], ["published", "t"], ["title", "Post #19"], ["updated_at", "2014-05-18 20:09:33.836175"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user48@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:33.839225"], ["email", "user48@example.com"], ["encrypted_password", "$2a$04$OLSb4J.z3hPRP7h2gYjoIOveegjawV.9qOOZmWVKXGgWGV4OEyNLm"], ["updated_at", "2014-05-18 20:09:33.839225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #20. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:33.840705"], ["excerpt", "Post #20. It was a dark and stormy night."], ["published", "t"], ["title", "Post #20"], ["updated_at", "2014-05-18 20:09:33.840705"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-18 15:09:33 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_post.html.erb (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.3ms | ActiveRecord: 0.4ms) Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-18 15:09:34 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 Storytime::Tagging Load (0.2ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 9ms (ActiveRecord: 0.8ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:09:34.847026"], ["title", "Site Title 15"], ["updated_at", "2014-05-18 20:09:34.847026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user49@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:34.850918"], ["email", "user49@example.com"], ["encrypted_password", "$2a$04$0fplmZj6kuHqKrCfyh5GX.2nN9RkLvVij2bRktvndRmR.wemqy38C"], ["updated_at", "2014-05-18 20:09:34.850918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 71ms (Views: 69.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:09:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user49@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user49@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:09:34.936285"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:09:34.936285"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:09:34.937773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:09:34 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.4ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user50@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:34.953656"], ["email", "user50@example.com"], ["encrypted_password", "$2a$04$g99sy0RjfOae4wvrHX20D.QNGkA9lfIIeMjbI4vsUvuFZ0nNBOaRC"], ["updated_at", "2014-05-18 20:09:34.953656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Post #21. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:34.955756"], ["excerpt", "Post #21. It was a dark and stormy night."], ["published", "f"], ["title", "Post #21"], ["updated_at", "2014-05-18 20:09:34.955756"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-18 15:09:34 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (10.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 17.2ms | ActiveRecord: 0.6ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-18 15:09:34 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #21. It was a dark and stormy night.", "content"=>"It was a dark and stormy night...", "tag_list"=>""}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] 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", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["content", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-18 20:09:34.989056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/posts/1 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/posts/1" for 127.0.0.1 at 2014-05-18 15:09:34 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user51@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:35.014809"], ["email", "user51@example.com"], ["encrypted_password", "$2a$04$.YODETLst4BoXRwuDH7vn.ciQ4g0DenXSz/F.9FRjZIgysVbZxHjW"], ["updated_at", "2014-05-18 20:09:35.014809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-9' 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" = 'page-9') LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_pages" ("content", "created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-18 20:09:35.018982"], ["published", "t"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-18 20:09:35.018982"], ["user_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"]] 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" = 'page-9' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:09:35.023159"], ["slug", "page-9"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-9" for 127.0.0.1 at 2014-05-18 15:09:35 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-9"} Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'page-9' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-18 20:10:17.094392"], ["title", "Site Title 1"], ["updated_at", "2014-05-18 20:10:17.094392"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:10:17.133679"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$8HGsoeRLMuezi62w.eutLuHYqnlWDZrgx0RCGOndng4oDw7vEcVAu"], ["updated_at", "2014-05-18 20:10:17.133679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:10:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/shared/_links.erb (1.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.0.0-p353/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/storytime/application (97.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 221ms (Views: 197.5ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-18 15:10:19 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-18 15:10:19 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-18 15:10:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-18 20:10:20.064710"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-18 20:10:20.064710"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-18 20:10:20.066285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49378/ Completed 302 Found in 29ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-18 15:10:20 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (17.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 25ms (Views: 22.6ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:10:20.202567"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$vF6ALnGGNsUANH4qbwQgc.2fF5JRi5dAk8yj9QHGehLdbwr/23LDO"], ["updated_at", "2014-05-18 20:10:20.202567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-18 20:10:20.233627"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-18 20:10:20.233627"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-18 15:10:20 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (8.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (16.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (52.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (55.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 288ms (Views: 255.6ms | ActiveRecord: 1.2ms) Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-18 15:10:20 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-18 15:10:20 -0500  (2.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) DROP TABLE "friendly_id_slugs"  (1.0ms) 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.3ms) 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.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.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'   (1.6ms) 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.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.0ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")  (1.3ms) CREATE TABLE "storytime_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.4ms) DROP TABLE "storytime_media"  (0.9ms) CREATE TABLE "storytime_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)   (1.1ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id")  (1.7ms) DROP TABLE "storytime_pages"  (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" boolean, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_storytime_pages_on_user_id" ON "storytime_pages" ("user_id")  (0.7ms) CREATE TABLE "storytime_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "action_id" integer, "created_at" datetime, "updated_at" datetime)  (1.2ms) CREATE INDEX "index_storytime_permissions_on_action_id" ON "storytime_permissions" ("action_id")  (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.9ms) CREATE INDEX "index_storytime_permissions_on_role_id" ON "storytime_permissions" ("role_id")  (2.0ms) DROP TABLE "storytime_posts"  (1.0ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published" boolean, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (0.9ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.3ms) DROP TABLE "storytime_sites"  (1.1ms) 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)   (1.1ms) CREATE INDEX "index_storytime_sites_on_selected_root_page_id" ON "storytime_sites" ("selected_root_page_id")  (1.8ms) DROP TABLE "storytime_taggings"  (1.0ms) 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.8ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (1.1ms) DROP TABLE "storytime_tags"  (1.1ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.7ms) DROP TABLE "storytime_users"  (1.5ms) CREATE TABLE "storytime_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, "role" integer DEFAULT 0, "role_id" integer)   (1.0ms) CREATE UNIQUE INDEX "index_storytime_users_on_email" ON "storytime_users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'   (1.4ms) CREATE UNIQUE INDEX "index_storytime_users_on_reset_password_token" ON "storytime_users" ("reset_password_token")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'  (0.9ms) CREATE INDEX "index_storytime_users_on_role_id" ON "storytime_users" ("role_id")  (1.0ms) 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)  (1.0ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (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'  (1.1ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id")  (0.1ms) SELECT version FROM "schema_migrations"  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191744')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516141252')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521152221')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521190606')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191048')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191728') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:56.075077"], ["name", "writer"], ["updated_at", "2014-05-22 14:22:56.075077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.102499"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$TZBEpMURKhkpRSQeENWG/eEklZDI9IwobMNOdga6ziRdn9t97Q73i"], ["role_id", 1], ["updated_at", "2014-05-22 14:22:56.102499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:56.139122"], ["name", "tag1"], ["updated_at", "2014-05-22 14:22:56.139122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:56.141801"], ["name", "tag2"], ["updated_at", "2014-05-22 14:22:56.141801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.157652"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-22 14:22:56.157652"], ["user_id", 1]] SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.159774"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-22 14:22:56.159774"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.160968"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-22 14:22:56.160968"]] 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.4ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:22:56.170567"], ["updated_at", "2014-05-22 14:22:56.170567"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #1. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:56.178409"], ["name", "writer"], ["updated_at", "2014-05-22 14:22:56.178409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.180515"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$8kFUTwyw51sKFi5oNtKtcOQ.wZl6LQH.i09ewtmyxkFpb7uhF19pe"], ["role_id", 2], ["updated_at", "2014-05-22 14:22:56.180515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.184809"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-22 14:22:56.184809"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.185722"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-22 14:22:56.185722"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:22:56.187786"], ["updated_at", "2014-05-22 14:22:56.187786"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["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_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.1ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.1ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:56.208768"], ["name", "writer"], ["updated_at", "2014-05-22 14:22:56.208768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.211322"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$CrZnMwa4naJKXerynCWB3.LUiQ4QnS2CTNXZKXHiXv0FX2VvmBgUS"], ["role_id", 1], ["updated_at", "2014-05-22 14:22:56.211322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:56.214111"], ["name", "tag1"], ["updated_at", "2014-05-22 14:22:56.214111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:56.217674"], ["name", "tag2"], ["updated_at", "2014-05-22 14:22:56.217674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.222639"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-22 14:22:56.222639"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.223873"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-22 14:22:56.223873"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.224716"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-22 14:22:56.224716"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:22:56.227621"], ["updated_at", "2014-05-22 14:22:56.227621"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:56.232783"], ["name", "writer"], ["updated_at", "2014-05-22 14:22:56.232783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.235819"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$yzGtsV1ICScbJ/Nx6x6yD.gqJ80Ib.zAZ38JKgaAKCXjAenXCDBxq"], ["role_id", 2], ["updated_at", "2014-05-22 14:22:56.235819"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.239203"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-22 14:22:56.239203"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.240164"], ["post_id", 2], ["tag_id", 2], ["updated_at", "2014-05-22 14:22:56.240164"]] 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.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:22:56.242753"], ["updated_at", "2014-05-22 14:22:56.242753"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #4. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:56.248932"], ["name", "tag1"], ["updated_at", "2014-05-22 14:22:56.248932"]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.251612"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-22 14:22:56.251612"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_tags"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:56.259214"], ["name", "writer"], ["updated_at", "2014-05-22 14:22:56.259214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.261287"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$4GOjlWnw/aBhc8zYHcNzSuFx0cW5GmnRcMew7lVaBu0pMgzZTBagG"], ["role_id", 1], ["updated_at", "2014-05-22 14:22:56.261287"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:56.263821"], ["name", "tag1"], ["updated_at", "2014-05-22 14:22:56.263821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:56.265562"], ["name", "tag2"], ["updated_at", "2014-05-22 14:22:56.265562"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.270394"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-22 14:22:56.270394"], ["user_id", 1]] SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.271823"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-22 14:22:56.271823"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.273205"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-22 14:22:56.273205"]] Storytime::Version Load (3.9ms) 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", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:22:56.281950"], ["updated_at", "2014-05-22 14:22:56.281950"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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) UPDATE "storytime_posts" SET "content" = 'Post #5. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.1ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.2ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["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.2ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.9ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:56.303266"], ["name", "tag1"], ["updated_at", "2014-05-22 14:22:56.303266"]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.315059"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-22 14:22:56.315059"]] 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"]] 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"]] 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) UPDATE "storytime_posts" SET "content" = 'Post #5. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:56.333865"], ["title", "Site Title 1"], ["updated_at", "2014-05-22 14:22:56.333865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:56.338894"], ["name", "writer"], ["updated_at", "2014-05-22 14:22:56.338894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:22:56.342262"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$MWXiDVC2uLsX7heBitsNwuVjSRNdvfSy9nsXjEhTvYLz95p0FWYiO"], ["role_id", 1], ["updated_at", "2014-05-22 14:22:56.342262"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:22:56 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (65.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.8ms) Completed 200 OK in 1209ms (Views: 1191.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:22:57 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:22:57.610572"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:22:57.610572"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:22:57.612183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:22:57 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (11.7ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (19.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (22.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.5ms) Completed 200 OK in 55ms (Views: 50.4ms | ActiveRecord: 2.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-22 09:22:57 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (9.1ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (19.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (40.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (48.0ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 82ms (Views: 61.5ms | ActiveRecord: 1.8ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-22 09:22:57 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Create Page"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:22:57.822577"], ["published", "f"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-22 14:22:57.822577"], ["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::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-22 14:22:57.825838"], ["updated_at", "2014-05-22 14:22:57.825838"], ["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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:22:57.837500"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 34ms (ActiveRecord: 2.5ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-22 09:22:57 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' ORDER BY "storytime_pages"."id" ASC LIMIT 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.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"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (6.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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (9.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (20.6ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 26.6ms | ActiveRecord: 1.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:57.905930"], ["title", "Site Title 2"], ["updated_at", "2014-05-22 14:22:57.905930"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:22:57.911011"], ["name", "writer"], ["updated_at", "2014-05-22 14:22:57.911011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:22:57.913926"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$71hEqkSVUOco6ombkFq6.uOLolfe2aFmDsFbtEF.9yniBG.OZZptS"], ["role_id", 1], ["updated_at", "2014-05-22 14:22:57.913926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:00 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-22 09:23:00 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-22 09:23:00 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:01 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:01.171177"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:01.171177"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:01.173072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65071/ Completed 302 Found in 11ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:01 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (3.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 12.7ms | ActiveRecord: 1.2ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:01.302238"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:01.302238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:01.305472"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$kLdgg0DoxtB9k5RcSI1qAuF7e//F5vBr9cl24P2JB2qkp.PdU/E4u"], ["role_id", 2], ["updated_at", "2014-05-22 14:23:01.305472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:01.310078"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-22 14:23:01.310078"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:01.312166"], ["updated_at", "2014-05-22 14:23:01.312166"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #1. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:01.318935"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:01.323639"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:01.323639"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:01.325964"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$hhgtFuyPsd.Ry/OnE0Grc.eJ0LLWbg6Ndgqu7XJHI65lKBlvbwIv."], ["role_id", 3], ["updated_at", "2014-05-22 14:23:01.325964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:01.329425"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-22 14:23:01.329425"], ["user_id", 3]] 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::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:01.333045"], ["updated_at", "2014-05-22 14:23:01.333045"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.2ms) UPDATE "storytime_pages" SET "content" = 'Page #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 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::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" = 'page-2' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:01.339741"], ["slug", "page-2"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:01.344474"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:01.344474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:01.347337"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$oKcKBV7Be2xl7L5zJrh02OsGiQtYjTm6fwrlDCIWOkSYNP.7KrRk."], ["role_id", 4], ["updated_at", "2014-05-22 14:23:01.347337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:01.352908"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-22 14:23:01.352908"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:01.355320"], ["updated_at", "2014-05-22 14:23:01.355320"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 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::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" = 'page-3' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:01.360663"], ["slug", "page-3"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-22 09:23:01 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (6.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (7.9ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.9ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-22 09:23:01 -0500 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-1" for 127.0.0.1 at 2014-05-22 09:23:03 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-1' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) 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::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 10ms (ActiveRecord: 0.8ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:03.585885"], ["title", "Site Title 3"], ["updated_at", "2014-05-22 14:23:03.585885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:03.589725"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:03.589725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:03.591994"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$9/3xwL89qp.kqrkE5LEwVeRtgVYZbBeQlIsoyHGrfVK3LmEUNhGIy"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:03.591994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:03 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:03 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:03.608867"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:03.608867"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:03.610022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:03 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.4ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:03.641752"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:03.641752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:03.644445"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$aNiHjX1urHW8LtVq5oq5TeIEXuPSUl4Q4328SYpxzOBD1jpkdX/Ay"], ["role_id", 2], ["updated_at", "2014-05-22 14:23:03.644445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:03.648409"], ["published", "f"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-22 14:23:03.648409"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:03.650806"], ["updated_at", "2014-05-22 14:23:03.650806"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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" = 'page-4' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:03.653248"], ["slug", "page-4"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-4/edit" for 127.0.0.1 at 2014-05-22 09:23:03 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-4"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-4' ORDER BY "storytime_pages"."id" ASC LIMIT 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.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"]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (2.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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (9.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (16.4ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 21.5ms | ActiveRecord: 1.4ms) Started PATCH "/dashboard/pages/page-4" for 127.0.0.1 at 2014-05-22 09:23:03 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Update Page", "id"=>"page-4"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-4' ORDER BY "storytime_pages"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-22 14:23:03.697403"]] 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", 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) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-22 14:23:03.699632"], ["updated_at", "2014-05-22 14:23:03.699632"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] SQL (0.0ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:03.702373"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 13ms (ActiveRecord: 1.4ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-22 09:23:03 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' ORDER BY "storytime_pages"."id" ASC LIMIT 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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 "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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (17.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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.5ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (10.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (32.5ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 46ms (Views: 39.9ms | ActiveRecord: 1.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 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"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:03.820408"], ["title", "Site Title 4"], ["updated_at", "2014-05-22 14:23:03.820408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:03.826084"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:03.826084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:03.829501"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$1f4hK1raH2pt3hfxALVxfeT1vslR/IGbF.r/t6aLGgHYFrxiJ7ilK"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:03.829501"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:03 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:03 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:03.851860"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:03.851860"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:03.852250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:03 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.3ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 13.3ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:03.884710"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:03.884710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:03.886484"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$1.qLtsTbKErtlXMRM3Ac9eefa18AuSF5alSYTQvSBgEjF07WNNvNG"], ["role_id", 2], ["updated_at", "2014-05-22 14:23:03.886484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:03.889162"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-22 14:23:03.889162"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:03.890834"], ["updated_at", "2014-05-22 14:23:03.890834"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #5. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-5' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:03.893823"], ["slug", "page-5"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:03.896778"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:03.896778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:03.898312"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$PTUJJqEkfEyRHrnaTWnV2ulk.cGjcS0ht9qNUIfVC26CB.k3llQLi"], ["role_id", 3], ["updated_at", "2014-05-22 14:23:03.898312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:03.900918"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-22 14:23:03.900918"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:03.902476"], ["updated_at", "2014-05-22 14:23:03.902476"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-6' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:03.905327"], ["slug", "page-6"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:03.908338"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:03.908338"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:03.909933"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$bqOiO9HB1XqWnV3NbSfEO.nsG8naAg3OhTUCGqkTON65ixie6ZvRG"], ["role_id", 4], ["updated_at", "2014-05-22 14:23:03.909933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:03.912744"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-22 14:23:03.912744"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:03.914729"], ["updated_at", "2014-05-22 14:23:03.914729"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] Storytime::Version Load (3.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::Page"]] SQL (0.2ms) UPDATE "storytime_pages" SET "content" = 'Page #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 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::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" = 'page-7' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:03.931629"], ["slug", "page-7"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-22 09:23:03 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (5.7ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 11.6ms | ActiveRecord: 0.8ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:04.060438"], ["title", "Site Title 5"], ["updated_at", "2014-05-22 14:23:04.060438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:04.063996"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:04.063996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:04.066243"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$0ipzGxJHbiijYUCqT7SwReeTkXLNJNcVEPULR5.jU/ny0gvPIYTE."], ["role_id", 1], ["updated_at", "2014-05-22 14:23:04.066243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:04 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user17@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:04.083998"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:04.083998"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:04.084576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:04 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.4ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 13.5ms | ActiveRecord: 1.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-22 09:23:04 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (19.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (25.3ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 54ms (Views: 43.9ms | ActiveRecord: 1.3ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-22 09:23:04 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Create Post"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:04.202686"], ["excerpt", "It was a dark and stormy night..."], ["published", "f"], ["title", "The Story"], ["updated_at", "2014-05-22 14:23:04.202686"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-22 14:23:04.205060"], ["updated_at", "2014-05-22 14:23:04.205060"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 11ms (ActiveRecord: 1.0ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-22 09:23:04 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.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::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (3.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", 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]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (21.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (31.2ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 47ms (Views: 42.4ms | ActiveRecord: 1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:04.303104"], ["title", "Site Title 6"], ["updated_at", "2014-05-22 14:23:04.303104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:04.306668"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:04.306668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:04.309249"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$YLrNwtK.awy3cPawEvX1xO4L7HAe4i0zw2Ap.vYknojpbXlbU5viW"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:04.309249"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:04 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:04.427429"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:04.427429"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:04.428364"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65071/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:04 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.6ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:04.509683"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:04.509683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:04.511629"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$/Mo77xLyLc3ho9qpwDMDfuY4EU05wm32Moxu1T.pMAp1O1XIqU08e"], ["role_id", 2], ["updated_at", "2014-05-22 14:23:04.511629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:04.513304"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-22 14:23:04.513304"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:04.514992"], ["updated_at", "2014-05-22 14:23:04.514992"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:04.519875"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:04.519875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:04.521952"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$xsnsFthX7y6Yt1FEW8w1k.R8H/73wbdSeui0zqwRX7.IGVBicXoK6"], ["role_id", 3], ["updated_at", "2014-05-22 14:23:04.521952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:04.523786"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-22 14:23:04.523786"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:04.525634"], ["updated_at", "2014-05-22 14:23:04.525634"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:04.530286"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:04.530286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:04.532125"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$h.LGT9eBQBLBhTgMxFu1jOB08sKGEzvHttvru3ewsp5s7p5.PCq.G"], ["role_id", 4], ["updated_at", "2014-05-22 14:23:04.532125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:04.533699"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "t"], ["title", "Post #8"], ["updated_at", "2014-05-22 14:23:04.533699"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:04.535372"], ["updated_at", "2014-05-22 14:23:04.535372"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #8. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-22 09:23:04 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.5ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 11.4ms | ActiveRecord: 0.6ms) Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-22 09:23:05 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.7ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:05.516673"], ["title", "Site Title 7"], ["updated_at", "2014-05-22 14:23:05.516673"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:05.519831"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:05.519831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.521758"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$i62A/gsWJdKpKoMtLgafWe2C2JAZMeQELWJIdy.KPyfhkC37ifJbW"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:05.521758"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:05 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user22@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:05.540350"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:05.540350"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:05.541671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:05 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:05.569559"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:05.569559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.571399"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$.ULCBDdzyxy4b96CL6ajjO9/nG.heWX9sELV8bmgc24NtPsmFn1iK"], ["role_id", 2], ["updated_at", "2014-05-22 14:23:05.571399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.573192"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "f"], ["title", "Post #9"], ["updated_at", "2014-05-22 14:23:05.573192"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:05.574969"], ["updated_at", "2014-05-22 14:23:05.574969"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-22 09:23:05 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.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::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (1.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", 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.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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (11.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (15.2ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 20.5ms | ActiveRecord: 1.2ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-22 09:23:05 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #9. It was a dark and stormy night.", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] 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", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["title", "The Story"], ["updated_at", "2014-05-22 14:23:05.613463"]] 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", 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-22 14:23:05.615513"], ["updated_at", "2014-05-22 14:23:05.615513"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-22 09:23:05 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.0ms) 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::Post"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (3.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.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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (10.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (15.8ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 20.0ms | ActiveRecord: 1.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:05.683986"], ["title", "Site Title 8"], ["updated_at", "2014-05-22 14:23:05.683986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:05.687506"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:05.687506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.689515"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$iPBrf.B0dJDv3nHzw1/4KuPI6v8nZYQbH0WNmbeJPDns49.DgYOHK"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:05.689515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:05 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (11.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user24@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:05.714825"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:05.714825"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:05.715192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:05 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.2ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:05.743782"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:05.743782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.745594"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$0svmP8KsI7wTvAMey/USEOfiheDkSOD0FUZDV5H7MbCnakk7hwn.u"], ["role_id", 2], ["updated_at", "2014-05-22 14:23:05.745594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.747279"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-22 14:23:05.747279"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:05.749022"], ["updated_at", "2014-05-22 14:23:05.749022"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #10. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:05.752840"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:05.752840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.754447"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$i6xUyNMs4C59msPIbpBQe.niWBl5adOHx8Qr1EhZUHIGAH.vCp3vK"], ["role_id", 3], ["updated_at", "2014-05-22 14:23:05.754447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.756013"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "t"], ["title", "Post #11"], ["updated_at", "2014-05-22 14:23:05.756013"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:05.757609"], ["updated_at", "2014-05-22 14:23:05.757609"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #11. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:05.761360"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:05.761360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.762884"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$MUPedWi7oW.DhX35RrB7juBUEh4t8Ys19/r0wBqpTVUdRasD4uECa"], ["role_id", 4], ["updated_at", "2014-05-22 14:23:05.762884"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.764345"], ["excerpt", "Post #12. It was a dark and stormy night."], ["published", "t"], ["title", "Post #12"], ["updated_at", "2014-05-22 14:23:05.764345"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #12. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:05.765932"], ["updated_at", "2014-05-22 14:23:05.765932"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #12. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-22 09:23:05 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.4ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 10.3ms | ActiveRecord: 0.7ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:05.833477"], ["title", "Site Title 9"], ["updated_at", "2014-05-22 14:23:05.833477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:05.837221"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:05.837221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.839382"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$Z4JgDDsd.HqKPiFRyDqeGOLaVQhf9zwXnP.oCY4..gWmT317r0lkC"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:05.839382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.842610"], ["excerpt", "Post #13. It was a dark and stormy night."], ["published", "t"], ["title", "Post #13"], ["updated_at", "2014-05-22 14:23:05.842610"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #13. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:05.845150"], ["updated_at", "2014-05-22 14:23:05.845150"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #13. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:05.849987"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:05.849987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.852144"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$VSSQWworhTlzB0w/fc2Q7.u8EAxkLm3ivQ0rjtTCqrGfOWa.JR3ui"], ["role_id", 2], ["updated_at", "2014-05-22 14:23:05.852144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.854438"], ["excerpt", "Post #14. It was a dark and stormy night."], ["published", "t"], ["title", "Post #14"], ["updated_at", "2014-05-22 14:23:05.854438"], ["user_id", 2]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #14. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:05.856193"], ["updated_at", "2014-05-22 14:23:05.856193"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #14. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:05.860272"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:05.860272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.861882"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$X0ozvpdWF5yr16aRbFYxQu26v6/WSguq2cWMkgRZbCEZkDjkbluYW"], ["role_id", 3], ["updated_at", "2014-05-22 14:23:05.861882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:05.863406"], ["excerpt", "Post #15. It was a dark and stormy night."], ["published", "t"], ["title", "Post #15"], ["updated_at", "2014-05-22 14:23:05.863406"], ["user_id", 3]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #15. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:05.865003"], ["updated_at", "2014-05-22 14:23:05.865003"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #15. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-22 09:23:05 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 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]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.3ms) 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", 2]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.0ms) 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (0.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (8.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.6ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.002798"], ["title", "Site Title 10"], ["updated_at", "2014-05-22 14:23:06.002798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.006513"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.006513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.008648"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$vEcHjxYAHfL5ggEl6NtU7OeOpBVcn49WYSGmUyY6hKV/YHch/2.kS"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.008648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.010395"], ["excerpt", "Post #16. It was a dark and stormy night."], ["published", "t"], ["title", "Post #16"], ["updated_at", "2014-05-22 14:23:06.010395"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #16. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:06.013640"], ["updated_at", "2014-05-22 14:23:06.013640"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #16. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} 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"."published" = 't' AND "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.4ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.052950"], ["title", "Site Title 11"], ["updated_at", "2014-05-22 14:23:06.052950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.056733"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.056733"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.059361"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$K.yq3wHVDcFjWEOVkEEYl.vzgPJqqsfm8aLsI59AmqEz1ByrOearW"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.059361"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-8' 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" = 'page-8') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.064236"], ["published", "t"], ["slug", "page-8"], ["title", "Page #8"], ["updated_at", "2014-05-22 14:23:06.064236"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:06.066251"], ["updated_at", "2014-05-22 14:23:06.066251"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #8. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-8' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.070041"], ["slug", "page-8"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-8" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-8"} 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"."published" = 't' AND "storytime_pages"."slug" = 'page-8' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 12.6ms | ActiveRecord: 0.4ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.118358"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.118358"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.120643"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$Au6X3/Kp/bRWJHtw4N2aHuzNvVKjietJ1Md0kbgdHrmhy7FTPL.uW"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.120643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.123368"], ["excerpt", "Post #17. It was a dark and stormy night."], ["published", "f"], ["title", "Post #17"], ["updated_at", "2014-05-22 14:23:06.123368"], ["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", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-22 14:23:06.127433"], ["updated_at", "2014-05-22 14:23:06.127433"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions" 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" ORDER BY "storytime_versions"."id" DESC LIMIT 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"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.137280"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.137280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.139669"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$1BOWIDcthBBghDxvJxN9heV7j9.HCAx4jSS1jvKtQG0Pk6VL.f6Du"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.139669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.142417"], ["excerpt", "Post #18. It was a dark and stormy night."], ["published", "f"], ["title", "Post #18"], ["updated_at", "2014-05-22 14:23:06.142417"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-22 14:23:06.145261"], ["updated_at", "2014-05-22 14:23:06.145261"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."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"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.152714"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.152714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.154877"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$ZVbBgkmOAIAnm7ujsGWLne6CuKvxgXtLJufuKPtUeDq7pKeFaUxCK"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.154877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.157978"], ["excerpt", "Post #19. It was a dark and stormy night."], ["published", "f"], ["title", "Post #19"], ["updated_at", "2014-05-22 14:23:06.157978"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-22 14:23:06.160240"], ["updated_at", "2014-05-22 14:23:06.160240"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_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.1ms) UPDATE "storytime_posts" SET "content" = 'Testing 123', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.167164"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.167164"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.169323"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$F4hT1zaN8QX3RpBSwVjx9Od7/cgBCF2cAdvijL0WwZYkcrzeyV1/a"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.169323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.171754"], ["excerpt", "Post #20. It was a dark and stormy night."], ["published", "t"], ["title", "Post #20"], ["updated_at", "2014-05-22 14:23:06.171754"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #17. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:06.173716"], ["updated_at", "2014-05-22 14:23:06.173716"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #17. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" ORDER BY "storytime_versions"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 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", "New Content"], ["created_at", "2014-05-22 14:23:06.178351"], ["updated_at", "2014-05-22 14:23:06.178351"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #17. It was a dark and stormy night. The End.' WHERE "storytime_posts"."id" = 1 SQL (0.1ms) UPDATE "storytime_versions" SET "updated_at" = '2014-05-22 14:23:06.185671' WHERE "storytime_versions"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.190940"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.190940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user37@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.193172"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$RyJlMdQXbqWn.0o1Zq7l4uaocfH9NYlL1owfDVm/WZNpzJmo2U6O2"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.193172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.195133"], ["excerpt", "Post #21. It was a dark and stormy night."], ["published", "t"], ["title", "Post #21"], ["updated_at", "2014-05-22 14:23:06.195133"], ["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.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-22 14:23:06.198091"], ["updated_at", "2014-05-22 14:23:06.198091"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Testing 123', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "New Content"], ["created_at", "2014-05-22 14:23:06.202349"], ["updated_at", "2014-05-22 14:23:06.202349"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.209977"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.209977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.212410"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$7MqoST1lzHrWHg11jxc9beQmBvcIyNZMg9qoaC5HrUn6Tg3see.3G"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.212410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.215088"], ["excerpt", "Post #22. It was a dark and stormy night."], ["published", "f"], ["title", "Post #22"], ["updated_at", "2014-05-22 14:23:06.215088"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-22 14:23:06.218212"], ["updated_at", "2014-05-22 14:23:06.218212"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "excerpt" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["excerpt", "New Excerpt"], ["updated_at", "2014-05-22 14:23:06.220811"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.228121"], ["name", "admin"], ["updated_at", "2014-05-22 14:23:06.228121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.232704"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 14:23:06.232704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 14:23:06.241326"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.241326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.245606"], ["name", "Publish Others' Posts/Pages"], ["updated_at", "2014-05-22 14:23:06.245606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 14:23:06.247112"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.247112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.248340"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 14:23:06.248340"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 14:23:06.249572"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.249572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.250650"], ["name", "Manage Users"], ["updated_at", "2014-05-22 14:23:06.250650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 14:23:06.252317"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.252317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user39@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.254125"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$24GNgWx1k83IyRSIKFP.tOsTz1IWW2yH4WlBQNU9Mju0EZthKQUIm"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.254125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user39@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user39@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:06.269265"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:06.269265"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:06.269676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://www.example.com/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (14.4ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 32ms (Views: 25.3ms | ActiveRecord: 1.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (16.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (17.1ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 22.7ms | ActiveRecord: 0.7ms) Started POST "/dashboard/sites" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.367100"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site"], ["updated_at", "2014-05-22 14:23:06.367100"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/sites/1/edit Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.7ms) Storytime::Role Load (0.1ms) 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (17.0ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 23.2ms | ActiveRecord: 1.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.431175"], ["name", "admin"], ["updated_at", "2014-05-22 14:23:06.431175"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.433220"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 14:23:06.433220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 14:23:06.435244"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.435244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.437345"], ["name", "Publish Others' Posts/Pages"], ["updated_at", "2014-05-22 14:23:06.437345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 14:23:06.438986"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.438986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.440402"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 14:23:06.440402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 14:23:06.441810"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.441810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.443166"], ["name", "Manage Users"], ["updated_at", "2014-05-22 14:23:06.443166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 14:23:06.444746"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.444746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.446736"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$8AvcQJkbs1jGIE7vg6yJbOeNETuEJf2FBbnE6bbvws2UVoRdZUSFu"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.446736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.448155"], ["title", "Site Title 12"], ["updated_at", "2014-05-22 14:23:06.448155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user40@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:06.462249"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:06.462249"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:06.462650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 1.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12.1ms) Storytime::Role Load (0.1ms) 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (18.0ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' 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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 31ms (Views: 25.9ms | ActiveRecord: 1.2ms) Started PATCH "/dashboard/sites/1" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Storytime::Dashboard::SitesController#update as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site's New Name", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Update Site", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_sites" SET "footer" = ?, "ga_tracking_id" = ?, "header" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_sites"."id" = 1 [["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site's New Name"], ["updated_at", "2014-05-22 14:23:06.532781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (11.0ms) Storytime::Role Load (0.1ms) 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (16.5ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 22.4ms | ActiveRecord: 1.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.586205"], ["name", "admin"], ["updated_at", "2014-05-22 14:23:06.586205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.587891"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 14:23:06.587891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 14:23:06.589515"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.589515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.590669"], ["name", "Publish Others' Posts/Pages"], ["updated_at", "2014-05-22 14:23:06.590669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 14:23:06.591874"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.591874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.593921"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 14:23:06.593921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 14:23:06.595704"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.595704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.597188"], ["name", "Manage Users"], ["updated_at", "2014-05-22 14:23:06.597188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 14:23:06.599373"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.599373"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.601507"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$EtZogdagtyLqT.wJnEi0EeHguz0gu960ika0r0ZxNpZBpXRnZBx0e"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.601507"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.603437"], ["title", "Site Title 13"], ["updated_at", "2014-05-22 14:23:06.603437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user41@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:06.618699"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:06.618699"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:06.619140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 1.0ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.9ms) Storytime::Role Load (0.1ms) 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" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (15.6ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 22.7ms | ActiveRecord: 1.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.706818"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.706818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user42@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.709040"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$GtBeWYAfeOJZHuEdTXRuC..DV9hvm0LO0JgZUzjh1zT4yHKRSUK9."], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.709040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-9' 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" = 'page-9') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.712289"], ["published", "t"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-22 14:23:06.712289"], ["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::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:06.715311"], ["updated_at", "2014-05-22 14:23:06.715311"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #9. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-9' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.720059"], ["slug", "page-9"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.755280"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.755280"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user43@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.757881"], ["email", "user43@example.com"], ["encrypted_password", "$2a$04$6y9j.PRXz2pDQuOQeRJOeeEdrCO/L1KYwfsJp5yWpx7naq3bVB82q"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.757881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.778498"], ["title", "Site Title 14"], ["updated_at", "2014-05-22 14:23:06.778498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.782070"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.782070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user44@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.784377"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$p649WfwjE.0CALQfKTGQfOVszXKVaeu6zeGi4NW5CecOS1ijuoc1O"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.784377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.804875"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.804875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user45@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.807207"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$Hye0ovEqcW15eZb/vMQ1CuK0hL7Lq7gS2OUhVYkBVQ7bdhssvGtvS"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.807207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.809462"], ["excerpt", "Post #23. It was a dark and stormy night."], ["published", "t"], ["title", "Post #23"], ["updated_at", "2014-05-22 14:23:06.809462"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #18. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:06.811786"], ["updated_at", "2014-05-22 14:23:06.811786"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #18. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.816890"], ["name", "tag1"], ["updated_at", "2014-05-22 14:23:06.816890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.819534"], ["name", "tag2"], ["updated_at", "2014-05-22 14:23:06.819534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.821655"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-22 14:23:06.821655"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.822960"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-22 14:23:06.822960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.838169"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.838169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user46@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.840379"], ["email", "user46@example.com"], ["encrypted_password", "$2a$04$JMGvZEfTvDuZon1ZAb4fWOfS2rycyeGT.IimYoFfpNmfdKkBqH4Zy"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.840379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.843299"], ["name", "tag1"], ["updated_at", "2014-05-22 14:23:06.843299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.845155"], ["name", "tag2"], ["updated_at", "2014-05-22 14:23:06.845155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.848423"], ["excerpt", "Post #24. It was a dark and stormy night."], ["published", "t"], ["title", "Post #24"], ["updated_at", "2014-05-22 14:23:06.848423"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.849280"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-22 14:23:06.849280"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.850028"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-22 14:23:06.850028"]] 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.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #19. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:06.851943"], ["updated_at", "2014-05-22 14:23:06.851943"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #19. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.856242"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.856242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user47@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.857967"], ["email", "user47@example.com"], ["encrypted_password", "$2a$04$BeFSS1aox1uA4tm24jUUP.FTIidVj6A7O7uel0kUw69Kj.d49r2cm"], ["role_id", 2], ["updated_at", "2014-05-22 14:23:06.857967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.3ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.862006"], ["excerpt", "Post #25. It was a dark and stormy night."], ["published", "t"], ["title", "Post #25"], ["updated_at", "2014-05-22 14:23:06.862006"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.862894"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-22 14:23:06.862894"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #20. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:06.864793"], ["updated_at", "2014-05-22 14:23:06.864793"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #20. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 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" WHERE "storytime_tags"."name" = 'tag1' GROUP BY storytime_taggings.tag_id LIMIT 1 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" WHERE "storytime_tags"."name" = 'tag2' GROUP BY storytime_taggings.tag_id LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.872851"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.872851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user48@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.875344"], ["email", "user48@example.com"], ["encrypted_password", "$2a$04$ePNGhFVCFMgMXKWVwq/Wk.ucYMp4adUdKAM.jOBAm9Sm8bFIolmJ2"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.875344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.878919"], ["name", "tag1"], ["updated_at", "2014-05-22 14:23:06.878919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.881194"], ["name", "tag2"], ["updated_at", "2014-05-22 14:23:06.881194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.884545"], ["excerpt", "Post #26. It was a dark and stormy night."], ["published", "t"], ["title", "Post #26"], ["updated_at", "2014-05-22 14:23:06.884545"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.885514"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-22 14:23:06.885514"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.886302"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-22 14:23:06.886302"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #21. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:06.888326"], ["updated_at", "2014-05-22 14:23:06.888326"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #21. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.892751"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.892751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user49@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.894549"], ["email", "user49@example.com"], ["encrypted_password", "$2a$04$s5dWYmeyPetNssc7uptaKOD6RbItCsWAYNq0lGy6hPgbAv3gHpWSi"], ["role_id", 2], ["updated_at", "2014-05-22 14:23:06.894549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.897795"], ["excerpt", "Post #27. It was a dark and stormy night."], ["published", "t"], ["title", "Post #27"], ["updated_at", "2014-05-22 14:23:06.897795"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.898593"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-22 14:23:06.898593"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #22. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 14:23:06.900327"], ["updated_at", "2014-05-22 14:23:06.900327"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #22. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.2ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.0ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.0ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.912740"], ["title", "Site Title 15"], ["updated_at", "2014-05-22 14:23:06.912740"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.915922"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.915922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user50@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.918333"], ["email", "user50@example.com"], ["encrypted_password", "$2a$04$cwCsYq/cZzGXzpcz8wWL.uJx0bD4oXWUuMX75puRDvzDtE1eh5HY2"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:06.918333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user50@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user50@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:06.937918"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:06.937918"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:06.938354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.965030"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.965030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user51@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.966906"], ["email", "user51@example.com"], ["encrypted_password", "$2a$04$z/fRhHkQ4twYFmchvlIWc.BaF70eEfo4tAN8Un5oKtmdhK9TIKLUK"], ["role_id", 2], ["updated_at", "2014-05-22 14:23:06.966906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.974755"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-22 14:23:06.974755"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:06.980702"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:06.980702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user52@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.982604"], ["email", "user52@example.com"], ["encrypted_password", "$2a$04$NTZ55mZJS2TiAaiVLzS12eGQtMoMZ2bKHWxAYz.ib5u9UYWt/ywwG"], ["role_id", 3], ["updated_at", "2014-05-22 14:23:06.982604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:06.986250"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-22 14:23:06.986250"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-22 09:23:06 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (3.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (5.0ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 19.7ms | ActiveRecord: 0.8ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:07.033459"], ["title", "Site Title 16"], ["updated_at", "2014-05-22 14:23:07.033459"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:07.036931"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:07.036931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user53@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:07.038938"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$w5d5lkSRqUD7REFrJ1mO9O5OaaSV3VxyV6Cx.twOwHY/5onOb2Eua"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:07.038938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:07 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-22 09:23:07 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-22 09:23:07 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user53@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user53@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:07.161120"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:07.161120"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:07.162062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65071/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:07 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 8.9ms | ActiveRecord: 0.9ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-22 09:23:07 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-22 09:23:07 -0500  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:07.238733"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:07.238733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user54@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:07.240845"], ["email", "user54@example.com"], ["encrypted_password", "$2a$04$bO5gtsEEcmn57O0JxlCM2.4SmLE4puGnbi04D7R78ZZl3ppsjslC."], ["role_id", 2], ["updated_at", "2014-05-22 14:23:07.240845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:07.245402"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-22 14:23:07.245402"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-22 09:23:07 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (15.0ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 22.0ms | ActiveRecord: 1.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-22 09:23:07 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-22 09:23:07 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-22 09:23:08 -0500  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:08.656324"], ["title", "Site Title 17"], ["updated_at", "2014-05-22 14:23:08.656324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:08.659618"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:08.659618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user55@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:08.661542"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$ZqXUCOJxT4UoIgCvIsQYIOuH4jKbBiz/jHYYPuolcKkhqx17fdCQ6"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:08.661542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:08 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-22 09:23:08 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-22 09:23:08 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user55@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user55@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:08.775819"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:08.775819"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:08.776235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65071/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:08 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.9ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-22 09:23:08 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-22 09:23:08 -0500  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:08.853668"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:08.853668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user56@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:08.855831"], ["email", "user56@example.com"], ["encrypted_password", "$2a$04$xQ1ZqW3uJ7.X71kDtLRAtOpjJuIgVy9cj4482skEJytYbO.cITcpK"], ["role_id", 2], ["updated_at", "2014-05-22 14:23:08.855831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:08.860349"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-22 14:23:08.860349"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-22 09:23:08 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.3ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 14.0ms | ActiveRecord: 1.0ms) Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-22 09:23:08 -0500 Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-22 09:23:08 -0500 Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-22 09:23:09 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 5ms (ActiveRecord: 0.5ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:09.883746"], ["title", "Site Title 18"], ["updated_at", "2014-05-22 14:23:09.883746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:09.886940"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:09.886940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:09.888961"], ["email", "user57@example.com"], ["encrypted_password", "$2a$04$/TnmrQTR6VkKyFEuHhaQkuBD6yk/P90ht3WWRoFJ9e3bC9FnejacO"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:09.888961"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:09 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-22 09:23:09 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-22 09:23:09 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:10 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user57@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:10.005150"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:10.005150"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:10.005606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65071/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:10 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 22ms (Views: 18.4ms | ActiveRecord: 1.0ms) Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-22 09:23:10 -0500 Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-22 09:23:10 -0500 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-22 09:23:10 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.2ms) Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.6ms) Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-22 09:23:10 -0500 Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-22 09:23:10 -0500 Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-22 09:23:10 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 14:23:10.207538"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-22 14:23:10.207538"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.8ms) Completed 200 OK in 27ms (Views: 13.7ms | ActiveRecord: 0.7ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.126286"], ["name", "admin"], ["updated_at", "2014-05-22 14:23:11.126286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.128189"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 14:23:11.128189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 14:23:11.129994"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:11.129994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.131739"], ["name", "Publish Others' Posts/Pages"], ["updated_at", "2014-05-22 14:23:11.131739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 14:23:11.134007"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:11.134007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.135376"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 14:23:11.135376"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 14:23:11.136714"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:11.136714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.137839"], ["name", "Manage Users"], ["updated_at", "2014-05-22 14:23:11.137839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 14:23:11.139061"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:11.139061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user58@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:11.140758"], ["email", "user58@example.com"], ["encrypted_password", "$2a$04$N3P7VH05dFDExd9lqPFpR.Sg2zpfZZXVsJdBfo6I348fXNVAeduWS"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:11.140758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.142644"], ["title", "Site Title 19"], ["updated_at", "2014-05-22 14:23:11.142644"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:11 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user58@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user58@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:11.158000"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:11.158000"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:11.159042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:11 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.2ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.190578"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:11.190578"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user59@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:11.193127"], ["email", "user59@example.com"], ["encrypted_password", "$2a$04$IIDiitNHMF785ffn..3dZOp0ulggwcJ5XpquZEhhD46dOJvNIyBTO"], ["role_id", 2], ["updated_at", "2014-05-22 14:23:11.193127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users/2/edit" for 127.0.0.1 at 2014-05-22 09:23:11 -0500 Processing by Storytime::Dashboard::UsersController#edit as HTML Parameters: {"id"=>"2"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' 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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 15.2ms | ActiveRecord: 0.9ms) Started PATCH "/dashboard/users/2" for 127.0.0.1 at 2014-05-22 09:23:11 -0500 Processing by Storytime::Dashboard::UsersController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"new_email@example.com", "role_id"=>"2"}, "commit"=>"Update User", "id"=>"2"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'new_email@example.com' AND "storytime_users"."id" != 2) LIMIT 1 SQL (0.1ms) UPDATE "storytime_users" SET "email" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 2 [["email", "new_email@example.com"], ["updated_at", "2014-05-22 14:23:11.233835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/users Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-22 09:23:11 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (2.9ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' 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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 12.6ms | ActiveRecord: 0.8ms)  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.281513"], ["name", "admin"], ["updated_at", "2014-05-22 14:23:11.281513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.283076"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 14:23:11.283076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 14:23:11.284560"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:11.284560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.285788"], ["name", "Publish Others' Posts/Pages"], ["updated_at", "2014-05-22 14:23:11.285788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 14:23:11.287155"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:11.287155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.289325"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 14:23:11.289325"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 14:23:11.291120"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:11.291120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.292441"], ["name", "Manage Users"], ["updated_at", "2014-05-22 14:23:11.292441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 14:23:11.294589"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:11.294589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user60@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:11.296495"], ["email", "user60@example.com"], ["encrypted_password", "$2a$04$g9C461WxeOqdH2I5kd1i.ushxsqzgHiHSl5iaRqmgRze37NAvRozi"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:11.296495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.297963"], ["title", "Site Title 20"], ["updated_at", "2014-05-22 14:23:11.297963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:11 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-22 09:23:11 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-22 09:23:11 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user60@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user60@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:11.413784"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:11.413784"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:11.414840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65071/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:11 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.9ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-22 09:23:11 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-22 09:23:11 -0500  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.493785"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:11.493785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user61@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:11.495897"], ["email", "user61@example.com"], ["encrypted_password", "$2a$04$dCL4ViqoLGy4irnVyGLwXun9qvVxcU8RarvnSAvtUxQHbMhKAypqu"], ["role_id", 2], ["updated_at", "2014-05-22 14:23:11.495897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.498693"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:11.498693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user62@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:11.500206"], ["email", "user62@example.com"], ["encrypted_password", "$2a$04$sidATY4ImkB4wyeWO2k5Tu1.zpuUGU38EmDksxxAYtwBIkgFL/bBG"], ["role_id", 3], ["updated_at", "2014-05-22 14:23:11.500206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:11.503946"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:11.503946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user63@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:11.506018"], ["email", "user63@example.com"], ["encrypted_password", "$2a$04$fDidbqZcs1jktDpuLVwcX.1mdqf4Yp/UVxOtuRkRekq5PSeDV9dJG"], ["role_id", 4], ["updated_at", "2014-05-22 14:23:11.506018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-22 09:23:11 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 2]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (4.4ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' 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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.7ms | ActiveRecord: 0.9ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-22 09:23:11 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-22 09:23:11 -0500 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" DESC LIMIT 1 Started DELETE "/dashboard/users/4" for 127.0.0.1 at 2014-05-22 09:23:12 -0500 Processing by Storytime::Dashboard::UsersController#destroy as JS Parameters: {"id"=>"4"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 4]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_users" WHERE "storytime_users"."id" = ? [["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 4]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:12.508318"], ["name", "admin"], ["updated_at", "2014-05-22 14:23:12.508318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:12.509880"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 14:23:12.509880"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 14:23:12.511484"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:12.511484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:12.512691"], ["name", "Publish Others' Posts/Pages"], ["updated_at", "2014-05-22 14:23:12.512691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 14:23:12.513926"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:12.513926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:12.515428"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 14:23:12.515428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 14:23:12.516801"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:12.516801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:12.517896"], ["name", "Manage Users"], ["updated_at", "2014-05-22 14:23:12.517896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 14:23:12.519093"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:12.519093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user64@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:12.520780"], ["email", "user64@example.com"], ["encrypted_password", "$2a$04$qARuPad.YIW8SN8FA03A4.QNI9uN/JWHCd2m53mVn1PSbgQIw.19G"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:12.520780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:12.522159"], ["title", "Site Title 21"], ["updated_at", "2014-05-22 14:23:12.522159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:12 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:12 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user64@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user64@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:12.536834"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:12.536834"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:12.537806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:12 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.9ms) Started GET "/dashboard/users/new" for 127.0.0.1 at 2014-05-22 09:23:12 -0500 Processing by Storytime::Dashboard::UsersController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' 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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 13.6ms | ActiveRecord: 0.7ms) Started POST "/dashboard/users" for 127.0.0.1 at 2014-05-22 09:23:12 -0500 Processing by Storytime::Dashboard::UsersController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"new_user@example.com", "role_id"=>"1", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Create User"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'new_user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:12.596091"], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$6AVZtY2sc1rCnXWCbmTfuO7xg06o.JyRrMqKw./ZiFKPF.x5xUee."], ["role_id", 1], ["updated_at", "2014-05-22 14:23:12.596091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/users Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-22 09:23:12 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (2.7ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' 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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 9.3ms | ActiveRecord: 0.8ms)  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:12.661850"], ["name", "admin"], ["updated_at", "2014-05-22 14:23:12.661850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:12.663539"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 14:23:12.663539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 14:23:12.665132"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:12.665132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:12.666258"], ["name", "Publish Others' Posts/Pages"], ["updated_at", "2014-05-22 14:23:12.666258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 14:23:12.667421"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:12.667421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:12.669257"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 14:23:12.669257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 14:23:12.671649"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:12.671649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:12.673580"], ["name", "Manage Users"], ["updated_at", "2014-05-22 14:23:12.673580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 14:23:12.675498"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:12.675498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user65@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:12.677617"], ["email", "user65@example.com"], ["encrypted_password", "$2a$04$Sohf1FNyOiJPyOKlU4pvBuHxoLop8CozX7.cpi1j8SRCMtMi.woWK"], ["role_id", 1], ["updated_at", "2014-05-22 14:23:12.677617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:12.679334"], ["title", "Site Title 22"], ["updated_at", "2014-05-22 14:23:12.679334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:12 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 09:23:12 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user65@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user65@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 14:23:12.695420"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 14:23:12.695420"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 14:23:12.695874"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 09:23:12 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:12.725113"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:12.725113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user66@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:12.726926"], ["email", "user66@example.com"], ["encrypted_password", "$2a$04$kHYaKuonxAEGDzCwmNz5UuAybLP02e0nVOzBeHljWyJPCsiWLtiTS"], ["role_id", 2], ["updated_at", "2014-05-22 14:23:12.726926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:12.729778"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:12.729778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user67@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:12.731272"], ["email", "user67@example.com"], ["encrypted_password", "$2a$04$/2Z5h9crkQ1FKm06gy31s.CwjDOyCHbnRxyGu/Eum98dwKeyzLfnK"], ["role_id", 3], ["updated_at", "2014-05-22 14:23:12.731272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 14:23:12.733895"], ["name", "writer"], ["updated_at", "2014-05-22 14:23:12.733895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user68@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 14:23:12.735461"], ["email", "user68@example.com"], ["encrypted_password", "$2a$04$XDQ.uTwK5SXD6uDfjwHT8.lNT9JfrCIqGf7ch8ppXo5aznGEwK6pW"], ["role_id", 4], ["updated_at", "2014-05-22 14:23:12.735461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-22 09:23:12 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 2]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (4.4ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' 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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 12.2ms | ActiveRecord: 0.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users"  (1.8ms) rollback transaction Storytime::Site Load (0.6ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:12:32.861298"], ["title", "Site Title 1"], ["updated_at", "2014-05-22 18:12:32.861298"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:12:32.882729"], ["name", "writer"], ["updated_at", "2014-05-22 18:12:32.882729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.6ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:12:32.905208"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$QNqEny2DBkOXxIK1VsCT/OaJWkmno7q3UWWTKnbt32TMk4za1ecfq"], ["role_id", 1], ["updated_at", "2014-05-22 18:12:32.905208"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Page Exists (0.5ms) 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" = 'page-1' LIMIT 1 Storytime::Page Exists (0.5ms) 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" = 'page-1') LIMIT 1 SQL (0.9ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:12:33.031675"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-22 18:12:33.031675"], ["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.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:12:33.048817"], ["updated_at", "2014-05-22 18:12:33.048817"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #1. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (1.4ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:12:33.064247"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-1" for 127.0.0.1 at 2014-05-22 13:12:33 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-1"} 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"."published" = 't' AND "storytime_pages"."slug" = 'page-1' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (13.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 17656ms (Views: 139.7ms | ActiveRecord: 0.4ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:12:50.764784"], ["name", "admin"], ["updated_at", "2014-05-22 18:12:50.764784"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:12:50.768885"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:12:50.768885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:12:50.777702"], ["role_id", 1], ["updated_at", "2014-05-22 18:12:50.777702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:12:50.783385"], ["name", "Publish Others' Posts/Pages"], ["updated_at", "2014-05-22 18:12:50.783385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:12:50.785423"], ["role_id", 1], ["updated_at", "2014-05-22 18:12:50.785423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:12:50.786728"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:12:50.786728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:12:50.788086"], ["role_id", 1], ["updated_at", "2014-05-22 18:12:50.788086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:12:50.789123"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:12:50.789123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:12:50.790238"], ["role_id", 1], ["updated_at", "2014-05-22 18:12:50.790238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:12:50.791987"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$ktT0oqvqxRRe5zQTGUCVfuORh1Jl.vFnsowVJ/0ZZr85A1cP6gXfm"], ["role_id", 1], ["updated_at", "2014-05-22 18:12:50.791987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:12:50.793457"], ["title", "Site Title 2"], ["updated_at", "2014-05-22 18:12:50.793457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:12:53 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (30.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 42.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-22 13:12:53 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-22 13:12:53 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:12:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:12:54.149372"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:12:54.149372"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:12:54.150785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52765/ Completed 302 Found in 20ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:12:54 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 404 Not Found in 23408ms  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:19.644319"], ["name", "admin"], ["updated_at", "2014-05-22 18:13:19.644319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:19.645987"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:13:19.645987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:13:19.647602"], ["role_id", 1], ["updated_at", "2014-05-22 18:13:19.647602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:19.648744"], ["name", "Publish Others' Posts/Pages"], ["updated_at", "2014-05-22 18:13:19.648744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:13:19.649895"], ["role_id", 1], ["updated_at", "2014-05-22 18:13:19.649895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:19.650918"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:13:19.650918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:13:19.652717"], ["role_id", 1], ["updated_at", "2014-05-22 18:13:19.652717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:19.654568"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:13:19.654568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:13:19.656356"], ["role_id", 1], ["updated_at", "2014-05-22 18:13:19.656356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:13:19.658450"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$URDvTO5O55T.AZgnBJrpcO9NvaU1rAEJHJaK8eGKV.PS.Igp2PEw."], ["role_id", 1], ["updated_at", "2014-05-22 18:13:19.658450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:19.660201"], ["title", "Site Title 3"], ["updated_at", "2014-05-22 18:13:19.660201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:13:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:13:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:13:19.771806"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:13:19.771806"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:13:19.772234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52765/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:13:19 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 404 Not Found in 1877ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:23.710417"], ["name", "admin"], ["updated_at", "2014-05-22 18:13:23.710417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:23.712023"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:13:23.712023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:13:23.713481"], ["role_id", 1], ["updated_at", "2014-05-22 18:13:23.713481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:23.714635"], ["name", "Publish Others' Posts/Pages"], ["updated_at", "2014-05-22 18:13:23.714635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:13:23.715828"], ["role_id", 1], ["updated_at", "2014-05-22 18:13:23.715828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:23.717567"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:13:23.717567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:13:23.718911"], ["role_id", 1], ["updated_at", "2014-05-22 18:13:23.718911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:23.719958"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:13:23.719958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:13:23.721068"], ["role_id", 1], ["updated_at", "2014-05-22 18:13:23.721068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:13:23.734343"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$cu0vLdD4FHGisUBnWthUS.4VNBWZfXIhV0eN6tzpOHfBLyp7CePnm"], ["role_id", 1], ["updated_at", "2014-05-22 18:13:23.734343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:23.736002"], ["title", "Site Title 4"], ["updated_at", "2014-05-22 18:13:23.736002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:13:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:13:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:13:23.863440"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:13:23.863440"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:13:23.864115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52765/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:13:23 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 404 Not Found in 1472ms  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:27.402318"], ["name", "admin"], ["updated_at", "2014-05-22 18:13:27.402318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:27.403936"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:13:27.403936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:13:27.405464"], ["role_id", 1], ["updated_at", "2014-05-22 18:13:27.405464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:27.406605"], ["name", "Publish Others' Posts/Pages"], ["updated_at", "2014-05-22 18:13:27.406605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:13:27.407805"], ["role_id", 1], ["updated_at", "2014-05-22 18:13:27.407805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:27.409198"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:13:27.409198"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:13:27.411854"], ["role_id", 1], ["updated_at", "2014-05-22 18:13:27.411854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:27.413617"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:13:27.413617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:13:27.415432"], ["role_id", 1], ["updated_at", "2014-05-22 18:13:27.415432"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:13:27.417497"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$8G1vCP0wgnamaO4IsqZE2uclOhKWeSgtdDoz7h6.o/Kf3XrKSyXY2"], ["role_id", 1], ["updated_at", "2014-05-22 18:13:27.417497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:13:27.419063"], ["title", "Site Title 5"], ["updated_at", "2014-05-22 18:13:27.419063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:13:27 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:13:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:13:27.530500"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:13:27.530500"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:13:27.530919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52765/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:13:27 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 404 Not Found in 16429ms  (2.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:01.437007"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:01.437007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:01.446991"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:01.446991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:01.461504"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:01.461504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:01.466382"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:01.466382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:01.468294"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:01.468294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:01.470157"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:01.470157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:01.472067"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:01.472067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:01.473675"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:01.473675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:01.475457"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:01.475457"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.5ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:01.495183"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$VZfJazkyooePSvccrzxdeOZnG4KfAPIxul9eYNBlCDGNT.M8cMZAW"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:01.495183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:01 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (32.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.8ms) Completed 200 OK in 320ms (Views: 297.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:01 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:01.871476"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:01.871476"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:01.872469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 20ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:01 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://www.example.com/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.6ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-22 13:26:01 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 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", 1]] Storytime::Page Load (0.5ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (17.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (19.3ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 63ms (Views: 33.3ms | ActiveRecord: 1.4ms)  (0.5ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-22 13:26:01 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (8.4ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 13.8ms | ActiveRecord: 0.6ms) Started POST "/dashboard/sites" for 127.0.0.1 at 2014-05-22 13:26:01 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:01.998660"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site"], ["updated_at", "2014-05-22 18:26:01.998660"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/sites/1/edit Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-22 13:26:02 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.0ms) Storytime::Role Load (0.1ms) 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (18.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 25.6ms | ActiveRecord: 1.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.053886"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:02.053886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.055666"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.055666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.057423"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.057423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.058722"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.058722"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.060648"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.060648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.062066"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:02.062066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:02.063403"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.063403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.064566"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:02.064566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:02.065874"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.065874"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.067598"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$isN7rKWkrLq1kTceEeRwM.gluByBcL9b8QqdZtA0x4P12UQsgqs3q"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.067598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.069208"], ["title", "Site Title 1"], ["updated_at", "2014-05-22 18:26:02.069208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:02 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:02 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:02.085856"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:02.085856"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:02.086333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:02 -0500 Processing by Storytime::PostsController#index as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.7ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (18.5ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.3ms) Completed 200 OK in 38ms (Views: 34.2ms | ActiveRecord: 2.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-22 13:26:02 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) 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"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.1ms) Storytime::Role Load (0.1ms) 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (12.0ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 17.9ms | ActiveRecord: 0.8ms) Started PATCH "/dashboard/sites/1" for 127.0.0.1 at 2014-05-22 13:26:02 -0500 Processing by Storytime::Dashboard::SitesController#update as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site's New Name", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Update Site", "id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) 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"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_sites" SET "footer" = ?, "ga_tracking_id" = ?, "header" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_sites"."id" = 1 [["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site's New Name"], ["updated_at", "2014-05-22 18:26:02.175152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.1ms) Storytime::Role Load (0.1ms) 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (12.5ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 21.0ms | ActiveRecord: 1.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.261742"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:02.261742"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.263549"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.263549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.265304"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.265304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.266603"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.266603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.268526"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.268526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.269816"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:02.269816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:02.271123"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.271123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.272232"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:02.272232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:02.273346"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.273346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.274939"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$5aJSUuPlpVp4Df0j0Z2.b.3cjesyP4mk0IUrvPPhAgjYN5H0xi4Om"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.274939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.276261"], ["title", "Site Title 2"], ["updated_at", "2014-05-22 18:26:02.276261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:02 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:02 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:02.289971"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:02.289971"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:02.290379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:02 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.8ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-22 13:26:02 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-22 13:26:02 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) 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"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.8ms) Storytime::Role Load (0.1ms) 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (13.5ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 19.2ms | ActiveRecord: 0.8ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.365250"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.365250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.367598"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$qS/gK6iVGF1Xzc/M.PdAN.4AYWRiZBlC/agRPIKMUh8suhW4o9cU2"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.367598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.377014"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-22 18:26:02.377014"], ["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::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-22 18:26:02.386773"], ["updated_at", "2014-05-22 18:26:02.386773"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Testing 123', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "New Content"], ["created_at", "2014-05-22 18:26:02.390958"], ["updated_at", "2014-05-22 18:26:02.390958"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_versions"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.397336"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.397336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.399274"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$bYQNiYRNa8OWiH49DsMo5.71sWOQpM.k5gaIEw0ZAA3Hi2TrNJHMe"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.399274"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.401519"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "f"], ["title", "Post #2"], ["updated_at", "2014-05-22 18:26:02.401519"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-22 18:26:02.403167"], ["updated_at", "2014-05-22 18:26:02.403167"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_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.1ms) UPDATE "storytime_posts" SET "content" = 'Testing 123', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.410433"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.410433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.412329"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$G6uhR87IbeYO5niD1uVLLOOwx05mzq9zBoNWAPLE4gCKVgC5DX/d2"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.412329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.414604"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "f"], ["title", "Post #3"], ["updated_at", "2014-05-22 18:26:02.414604"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-22 18:26:02.416281"], ["updated_at", "2014-05-22 18:26:02.416281"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions" 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"]] Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" ORDER BY "storytime_versions"."id" DESC LIMIT 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"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.427123"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.427123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.429431"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$.vrv1zw3.IdNEMpXNnQRDe3cXRKhIQ7Fz5aotKBp4ST2ppvPULRF6"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.429431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.431416"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "f"], ["title", "Post #4"], ["updated_at", "2014-05-22 18:26:02.431416"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-22 18:26:02.433699"], ["updated_at", "2014-05-22 18:26:02.433699"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "excerpt" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["excerpt", "New Excerpt"], ["updated_at", "2014-05-22 18:26:02.435672"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.441300"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.441300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.443330"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$IQj2zhAJrnXd.iM.XbBKr.evv079B.YnxYOFhO1N.ojW48tDkdj.6"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.443330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.446437"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-22 18:26:02.446437"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:02.448676"], ["updated_at", "2014-05-22 18:26:02.448676"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #1. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" ORDER BY "storytime_versions"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "New Content"], ["created_at", "2014-05-22 18:26:02.452654"], ["updated_at", "2014-05-22 18:26:02.452654"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) UPDATE "storytime_posts" SET "content" = 'Post #1. It was a dark and stormy night. The End.' WHERE "storytime_posts"."id" = 1 SQL (0.1ms) UPDATE "storytime_versions" SET "updated_at" = '2014-05-22 18:26:02.456964' WHERE "storytime_versions"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.460942"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.460942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.462943"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$7tyjBqVgW4UuzpbBb/Qmo.rWmLp1k.yH/n687Qm7YrmfdYY95Lj5G"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.462943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.465255"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "f"], ["title", "Post #6"], ["updated_at", "2014-05-22 18:26:02.465255"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-22 18:26:02.466992"], ["updated_at", "2014-05-22 18:26:02.466992"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.474434"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.474434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.476415"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$6/lzbNVjQQIyP945xoqsFuBtdwWfw1ifqcJky/U6snllvs1gj4mbq"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.476415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Page Exists (0.5ms) 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" = 'page-1' LIMIT 1 Storytime::Page Exists (0.5ms) 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" = 'page-1') LIMIT 1 SQL (0.7ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.488756"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-22 18:26:02.488756"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:02.493173"], ["updated_at", "2014-05-22 18:26:02.493173"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #1. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (1.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.502847"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.508406"], ["title", "Site Title 3"], ["updated_at", "2014-05-22 18:26:02.508406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.511888"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.511888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.513861"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$nJCkYcgt4LMESr5W2Za4gOIN9Bk6oKvjeDc7X.xeaeRHJ0R9DQnXu"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.513861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.517359"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-22 18:26:02.517359"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:02.519239"], ["updated_at", "2014-05-22 18:26:02.519239"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.522441"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-2" for 127.0.0.1 at 2014-05-22 13:26:02 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-2"} 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"."published" = 't' AND "storytime_pages"."slug" = 'page-2' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.558188"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:02.558188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.560028"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.560028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.561591"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.561591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.562687"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.562687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.564297"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.564297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.565754"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:02.565754"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:02.567195"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.567195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.568376"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:02.568376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:02.569713"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.569713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.571612"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$Wd603BUvJjr2gzGzluR7lO855IAuBzrLyk2N1Q2pAjmq/Oo0TfMJi"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.571612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.574632"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.574632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.581250"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:02.581250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.582771"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.582771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.584255"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.584255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.585804"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.585804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.588581"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.588581"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.590778"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:02.590778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:02.592541"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.592541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.593675"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:02.593675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:02.594865"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.594865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.596555"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$F5kysVHTFyvsagTmA/.Iue6HbMrwaMz3BMRMlKMzQJ216clUom/ee"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.596555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.599371"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.599371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Action Exists (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", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.605605"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:02.605605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.607179"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.607179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.608647"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.608647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.609696"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.609696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.610800"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.610800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.611773"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:02.611773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:02.613394"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.613394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.614985"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:02.614985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:02.616556"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.616556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.618554"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$1G0EkIqVEp.l./RvScb5RONRDctyzVoG1eE4dQSbR/aqlFcpRY4u6"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.618554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.621820"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.621820"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.628446"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:02.628446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.630160"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.630160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.631906"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.631906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.633256"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.633256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.635011"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.635011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.636427"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:02.636427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:02.637795"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.637795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.638879"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:02.638879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:02.639987"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.639987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.641760"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$0IE2xnBPGOwp9u/1c6ubkerz36MDv4DDVOFGSYmPotaxbDkLTwDL6"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.641760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.648369"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:02.648369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.649827"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.649827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.651206"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.651206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.652250"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.652250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.653465"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.653465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.654466"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:02.654466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:02.655966"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.655966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.657222"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:02.657222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:02.658483"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.658483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.660127"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$jT2vgbI.Bt06cv.e0k0QkOGsdao1ZseiIinuxupFJ2BGcMhbNh.J."], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.660127"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.666523"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:02.666523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.668188"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.668188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.669846"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.669846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.671107"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.671107"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.672821"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.672821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.674245"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:02.674245"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:02.676139"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.676139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.677453"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:02.677453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:02.678780"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.678780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.680504"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$JosDwnf.5thfDtrMFJFvYecFAihpaX0GJu61SGYklpkTh4OsIlwGe"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.680504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.686145"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:02.686145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.687807"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.687807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.689292"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.689292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.690376"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.690376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.691495"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.691495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.692559"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:02.692559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:02.695205"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.695205"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.697229"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:02.697229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:02.699321"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.699321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.701406"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$1DLk.2lTkrhp8UdMGvtDXO/j4O.TQHsVtejYgE69Fh6ABmxkARIbS"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.701406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.707958"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:02.707958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.709729"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.709729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.711580"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.711580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.712913"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.712913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.714787"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.714787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.716087"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:02.716087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:02.717380"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.717380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.718533"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:02.718533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:02.719775"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.719775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.721400"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$c./nvk1q5bCRDvgQStadueddHcbOJxooeXqNx7yZNzK3q8KUfp/n2"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.721400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.727007"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:02.727007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.728466"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.728466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.729898"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.729898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.730943"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.730943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.732042"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.732042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.734312"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$rh.IAHWCzJJ64E5WiHkiTudoEE4KLFMj6soLEEwzLA1UPInYHTqCi"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.734312"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.738343"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.738343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Action Exists (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", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.745192"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:02.745192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.746715"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.746715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.748153"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.748153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.749203"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.749203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.750308"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.750308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.752774"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$GjRFMkKbtVcy4QwhsQ9poOpnkok0KuizJrmf93foGzVb04kMZB1zS"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.752774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.756720"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.756720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Action Exists (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", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.763582"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:02.763582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.765014"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.765014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.811797"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.811797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.813140"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.813140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.814364"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.814364"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.816159"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$C6SC7NfEexkSLUtw45bCMu.xyfcR9/9asZWtauSXLaU1.n7yuw952"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.816159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.819137"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.819137"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.826147"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:02.826147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.828580"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.828580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.831141"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.831141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.834308"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.834308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.836348"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.836348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.838884"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$ep/GZ6JBIvY5lrCyl/O/FuAbgkJiwgxuOY2OtjbevIaIEKoE7EnV."], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.838884"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.845569"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:02.845569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.847061"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.847061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.848533"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.848533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.849614"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.849614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.850893"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.850893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.4ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.853061"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$bd56MoY80w7bymaikhy2n.P2IL/Q0FXq22AIYbmYjMRJNy6i0l3J6"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.853061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.859219"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:02.859219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.860854"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.860854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.862439"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.862439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.863556"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.863556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.864731"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.864731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.866946"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$S7FWPj75xyadmGyCIQ4GrOYj13So2tdLH3hxv6XoB9YRvlMocGDEa"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.866946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.873497"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:02.873497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.875156"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.875156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.876628"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.876628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.877689"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.877689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.878881"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.878881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.881216"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$wAMgLeZf9up0.vXeBA/EXe3cfuAL3bxVdO4nZ/PHHCE8J0f70kUzu"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.881216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.886766"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:02.886766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.888412"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.888412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.889987"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.889987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.891139"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.891139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:02.892362"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.892362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.894340"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$4IYz5dDn48bu1pymy7vdrOouM0NOvIGXU0pboHcyiArlt2j/p4cGq"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.894340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.900730"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.900730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.902311"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.902311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.904086"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.904086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.905909"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$Sc1ae5PnukGnDBDoWrrddust6od1.tm7CpePlw7JigSDrr6zRQ/Z2"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.905909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.909189"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.909189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.915513"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.915513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.917071"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.917071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.918553"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.918553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.920389"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$zo9tIdEKUMBKXCajesLSUObANkW2Tglcfks7loODagY3K3/B/8WAa"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.920389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.923726"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.923726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.931008"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.931008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.932805"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.932805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.934552"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.934552"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.936428"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$MKsVBKHDwHq9U39fIWS0ke8zzTTdUMReVttPIZADIPUqhCmo0gW6u"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.936428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.940419"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.940419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.945989"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.945989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.947666"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.947666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.949501"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.949501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.951317"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$SUqwOjfDQAKV9JB0tt8vaOtOoO4DlzsQYeOvtHIyGoQ33CeVDBQXa"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.951317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.958836"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.958836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.960429"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.960429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.961929"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.961929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.963726"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$DpU82kwqh/4TXL4CgCsHt.8w20l4q.EAfyurjZz4U2gNZxE2FtqFi"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.963726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.969924"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.969924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.971846"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.971846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.974091"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.974091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user42@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.975941"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$SdkyNZ3/4w.AGm7k76oRdugwAgHLdSLH5izskMF7KYIdt6PRJac0W"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.975941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.982202"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.982202"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.983719"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.983719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.985162"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.985162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user43@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.986872"], ["email", "user43@example.com"], ["encrypted_password", "$2a$04$9.Tj.nqDpZyUJbShvMRhrOGnFaVIV/O/xBV1wicU1zIL.RKw3JOIW"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.986872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.992707"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:02.992707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:02.994282"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:02.994282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:02.996261"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.996261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user44@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:02.998319"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$TMr75brlMtYqH1f2M8vZBeKgYRdTCCSrrDVr4svZV7Wzp9YPg2hZS"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:02.998319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.003705"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:03.003705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.005702"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:03.005702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:03.007379"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.007379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.008508"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:03.008508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:03.009700"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.009700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.010761"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:03.010761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:03.011887"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.011887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.013071"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:03.013071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:03.014368"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.014368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user45@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:03.016328"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$5aopUUTTWSOqf3H943UzOOzG2LlvEKOFtuatDDXUwIjXxhks0WzHG"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.016328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.018268"], ["title", "Site Title 4"], ["updated_at", "2014-05-22 18:26:03.018268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user45@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user45@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:03.032576"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:03.032576"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:03.032953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.061692"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:03.061692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user46@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:03.063428"], ["email", "user46@example.com"], ["encrypted_password", "$2a$04$yK8FjrCJFKdmCVl2N1zrs.VlG6gBR/Q8EK.aHE6KjzpZIk6S7Ikye"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:03.063428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:03.065044"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "f"], ["title", "Post #7"], ["updated_at", "2014-05-22 18:26:03.065044"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:03.066857"], ["updated_at", "2014-05-22 18:26:03.066857"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' 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", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.5ms) 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::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (2.2ms) 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 (1.7ms) 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]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (9.3ms) Storytime::Media Load (0.8ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.6ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (21.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (42.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (51.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 68ms (Views: 57.2ms | ActiveRecord: 4.7ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #7. It was a dark and stormy night.", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' 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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' 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", 1]]  (0.0ms) SAVEPOINT active_record_1 Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] 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", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["title", "The Story"], ["updated_at", "2014-05-22 18:26:03.158557"]] 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", 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-22 18:26:03.161126"], ["updated_at", "2014-05-22 18:26:03.161126"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 14ms (ActiveRecord: 1.0ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' 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", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.7ms) 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::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (9.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", 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.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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' 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" = 2 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (14.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (26.3ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 39ms (Views: 31.6ms | ActiveRecord: 1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 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"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.254525"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:03.254525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.256271"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:03.256271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:03.257876"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.257876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.259060"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:03.259060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:03.260321"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.260321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.261451"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:03.261451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:03.264219"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.264219"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.266228"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:03.266228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:03.268586"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.268586"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user47@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:03.270932"], ["email", "user47@example.com"], ["encrypted_password", "$2a$04$M.XyM78MpTMIaxA1.M7yYOKYcWsCjpLNyP3UTPABrH2LCoySw.JNq"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.270932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.272699"], ["title", "Site Title 5"], ["updated_at", "2014-05-22 18:26:03.272699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user47@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user47@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:03.286986"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:03.286986"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:03.287406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (1.6ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (10.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (12.9ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (13.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 38ms (Views: 28.3ms | ActiveRecord: 1.2ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 1]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:03.368314"], ["excerpt", "It was a dark and stormy night..."], ["published", "f"], ["title", "The Story"], ["updated_at", "2014-05-22 18:26:03.368314"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-22 18:26:03.370215"], ["updated_at", "2014-05-22 18:26:03.370215"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 11ms (ActiveRecord: 1.0ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.4ms) 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::Post"]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (2.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", 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.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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (11.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (16.1ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 20.9ms | ActiveRecord: 1.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.437602"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:03.437602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.439290"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:03.439290"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:03.440773"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.440773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.441991"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:03.441991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:03.443298"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.443298"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.445579"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:03.445579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:03.447555"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.447555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.449142"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:03.449142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:03.450838"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.450838"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user48@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:03.452548"], ["email", "user48@example.com"], ["encrypted_password", "$2a$04$xQwspNo94DU7uA8O0499ie7tFVabkZzHHglPh6cd8lNS5AMewVxdm"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.452548"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.454050"], ["title", "Site Title 6"], ["updated_at", "2014-05-22 18:26:03.454050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user48@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user48@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:03.470153"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:03.470153"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:03.470606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.500842"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:03.500842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user49@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:03.502657"], ["email", "user49@example.com"], ["encrypted_password", "$2a$04$YuVejKMhBJmHN3ZAB/2veOcitygujn.DyDes9bdBVEW4dX8uVmXEK"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:03.502657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:03.504334"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "t"], ["title", "Post #8"], ["updated_at", "2014-05-22 18:26:03.504334"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:03.506093"], ["updated_at", "2014-05-22 18:26:03.506093"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.510018"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:03.510018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user50@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:03.511713"], ["email", "user50@example.com"], ["encrypted_password", "$2a$04$yd5plLfMMuGEn9BXfyML2uYpK8YNLY32caBWvwzH6CSF3U9YkYgSa"], ["role_id", 3], ["updated_at", "2014-05-22 18:26:03.511713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:03.513325"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-22 18:26:03.513325"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:03.514983"], ["updated_at", "2014-05-22 18:26:03.514983"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #4. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.518936"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:03.518936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user51@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:03.520598"], ["email", "user51@example.com"], ["encrypted_password", "$2a$04$HXlhWW24J3UgpxMvswRpEOEbI.p7qaFM9VEFZfYY7eLbG4C0TfALy"], ["role_id", 4], ["updated_at", "2014-05-22 18:26:03.520598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:03.522189"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-22 18:26:03.522189"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:03.523871"], ["updated_at", "2014-05-22 18:26:03.523871"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #5. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-22 13:26:03 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.4ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 11.9ms | ActiveRecord: 0.8ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.594206"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:03.594206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.595868"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:03.595868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:03.597555"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.597555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.598744"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:03.598744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:03.603950"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.603950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.608179"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:03.608179"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:03.614413"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.614413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.616475"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:03.616475"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:03.618113"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.618113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user52@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:03.620125"], ["email", "user52@example.com"], ["encrypted_password", "$2a$04$61SbYt/ASQboR09S.qXQv.IHZmro7Ngv/lQxUTFR9e2/0JSRMMW3u"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:03.620125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:03.622292"], ["title", "Site Title 7"], ["updated_at", "2014-05-22 18:26:03.622292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:06 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-22 13:26:06 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-22 13:26:06 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user52@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user52@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:06.386440"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:06.386440"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:06.387583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52884/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:06 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.5ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (11.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 1.3ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:06.480976"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:06.480976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user53@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:06.482991"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$lqjCvFzsaZ4pHcbkOcEdJexXsr3m12t4vWSu0YDyCditNeoYM1wSe"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:06.482991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:06.484883"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "t"], ["title", "Post #11"], ["updated_at", "2014-05-22 18:26:06.484883"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:06.486813"], ["updated_at", "2014-05-22 18:26:06.486813"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:06.490882"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:06.490882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user54@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:06.492542"], ["email", "user54@example.com"], ["encrypted_password", "$2a$04$ey9i5UdkVLjBLx8Nzes5peDG0HcPbZdZOqXAsmC3CidrZX5A7nc4O"], ["role_id", 3], ["updated_at", "2014-05-22 18:26:06.492542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:06.494136"], ["excerpt", "Post #12. It was a dark and stormy night."], ["published", "t"], ["title", "Post #12"], ["updated_at", "2014-05-22 18:26:06.494136"], ["user_id", 3]] 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"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:06.496304"], ["updated_at", "2014-05-22 18:26:06.496304"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:06.501377"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:06.501377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user55@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:06.503368"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$RFFv/M559IfiqQGVG5bZgemdDGYYyqg/WIFXoeliUV7pHsxOCBwjO"], ["role_id", 4], ["updated_at", "2014-05-22 18:26:06.503368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:06.505274"], ["excerpt", "Post #13. It was a dark and stormy night."], ["published", "t"], ["title", "Post #13"], ["updated_at", "2014-05-22 18:26:06.505274"], ["user_id", 4]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:06.507216"], ["updated_at", "2014-05-22 18:26:06.507216"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #8. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-22 13:26:06 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 10.9ms | ActiveRecord: 0.8ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-22 13:26:06 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' 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", 1]]  (0.1ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 15ms (ActiveRecord: 1.3ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.537861"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:07.537861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.539498"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:07.539498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:07.541197"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.541197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.542353"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:07.542353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:07.543720"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.543720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.545762"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:07.545762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:07.547223"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.547223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.548304"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:07.548304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:07.549503"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.549503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user56@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:07.551296"], ["email", "user56@example.com"], ["encrypted_password", "$2a$04$X.ueA0g3WQqB2gvc.AFdLOcaKOVD3WGtiAV8d4Vp0fDJ1DaDJyjFK"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.551296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.553036"], ["title", "Site Title 8"], ["updated_at", "2014-05-22 18:26:07.553036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user56@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user56@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:07.568110"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:07.568110"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:07.569158"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 1.0ms) Started GET "/dashboard/users/new" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Storytime::Dashboard::UsersController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/new.html.erb within layouts/storytime/dashboard (7.8ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' 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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 17.2ms | ActiveRecord: 0.7ms) Started POST "/dashboard/users" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Storytime::Dashboard::UsersController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"new_user@example.com", "role_id"=>"1", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Create User"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]]  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'new_user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:07.645427"], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$5emPgjxkSC7dxj4O8S52Gu1h55khT08U5HFFPwfAaUrRnj/cmgpV6"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.645427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/users Completed 302 Found in 13ms (ActiveRecord: 0.8ms) Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (6.0ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' 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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 12.7ms | ActiveRecord: 0.7ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.707127"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:07.707127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.708883"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:07.708883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:07.710667"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.710667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.711916"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:07.711916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:07.714267"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.714267"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.716615"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:07.716615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:07.718731"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.718731"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.720622"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:07.720622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:07.722751"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.722751"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:07.725390"], ["email", "user57@example.com"], ["encrypted_password", "$2a$04$mXFC9g63zGWERIlOlhVou.jUWVDyrHaHFkR4nYLgJbu9f/pGqr.jC"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.725390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.727255"], ["title", "Site Title 9"], ["updated_at", "2014-05-22 18:26:07.727255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user57@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:07.745115"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:07.745115"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:07.745619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.774585"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:07.774585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user58@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:07.776375"], ["email", "user58@example.com"], ["encrypted_password", "$2a$04$j91zkvM9L36EAIiMm0dJSuEaGjtBVtFUn0C6av5U.l91CiUQC5F32"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:07.776375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users/2/edit" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Storytime::Dashboard::UsersController#edit as HTML Parameters: {"id"=>"2"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/edit.html.erb within layouts/storytime/dashboard (6.6ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' 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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 14.1ms | ActiveRecord: 0.7ms) Started PATCH "/dashboard/users/2" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Storytime::Dashboard::UsersController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"new_email@example.com", "role_id"=>"2"}, "commit"=>"Update User", "id"=>"2"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'new_email@example.com' AND "storytime_users"."id" != 2) LIMIT 1 SQL (0.1ms) UPDATE "storytime_users" SET "email" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 2 [["email", "new_email@example.com"], ["updated_at", "2014-05-22 18:26:07.807917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/users Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (3.3ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' 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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 9.8ms | ActiveRecord: 0.7ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.854106"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:07.854106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.855751"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:07.855751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:07.857417"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.857417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.858689"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:07.858689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:07.859937"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.859937"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.862130"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:07.862130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:07.864111"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.864111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.865869"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:07.865869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:07.867506"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.867506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user59@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:07.869234"], ["email", "user59@example.com"], ["encrypted_password", "$2a$04$qm0u8JV90/Pl7fySNfS8JuufGxMuNnrslFRoPpbxes6Ez8EcmujJm"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:07.869234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.870689"], ["title", "Site Title 10"], ["updated_at", "2014-05-22 18:26:07.870689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user59@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user59@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:07.887676"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:07.887676"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:07.888104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (10.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.929454"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:07.929454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user60@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:07.931255"], ["email", "user60@example.com"], ["encrypted_password", "$2a$04$PC5H9jbb1G30YRmpG1PDRebuOG7a/kHaLKPQWueHZFbxL3s8ZE3b2"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:07.931255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.934103"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:07.934103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user61@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:07.935780"], ["email", "user61@example.com"], ["encrypted_password", "$2a$04$ed2QwdtnoDflauTO5Ve0budSHkRIxFTHESN4lop9SEAMopK61ElRS"], ["role_id", 3], ["updated_at", "2014-05-22 18:26:07.935780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:07.938629"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:07.938629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user62@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:07.940208"], ["email", "user62@example.com"], ["encrypted_password", "$2a$04$.L/SepobXTu248SgTtBuD.pr29dWtAdrGCrKBq5EECEGpofF3iA8y"], ["role_id", 4], ["updated_at", "2014-05-22 18:26:07.940208"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-22 13:26:07 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 2]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (5.4ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' 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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.9ms | ActiveRecord: 0.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users"  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:08.038417"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:08.038417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:08.040147"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:08.040147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:08.041729"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:08.041729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:08.042924"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:08.042924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:08.044087"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:08.044087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:08.046403"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:08.046403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:08.048386"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:08.048386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:08.049904"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:08.049904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:08.051833"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:08.051833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user63@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:08.053649"], ["email", "user63@example.com"], ["encrypted_password", "$2a$04$CtXgZnsIQnJOHlnJotyVXOL0amXdMj1VQk4yzeQTmjQLfccGBpIUG"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:08.053649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:08.055105"], ["title", "Site Title 11"], ["updated_at", "2014-05-22 18:26:08.055105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:08 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user63@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user63@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:08.165548"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:08.165548"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:08.166431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52884/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:08 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:08.246188"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:08.246188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user64@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:08.248228"], ["email", "user64@example.com"], ["encrypted_password", "$2a$04$W6.ABFbRkMuhUGRVA26CC.E76.e7OxeRg/r8A2Kb1qwqj6sAnO27y"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:08.248228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:08.251018"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:08.251018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user65@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:08.252600"], ["email", "user65@example.com"], ["encrypted_password", "$2a$04$f/Vgvy6Rd/gyTa1RbfvTL.eJRAsOLFAH/O/yMEU2Y3odXtGkOv8zC"], ["role_id", 3], ["updated_at", "2014-05-22 18:26:08.252600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:08.255379"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:08.255379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user66@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:08.256956"], ["email", "user66@example.com"], ["encrypted_password", "$2a$04$l64Sb7HBhJOI9ccjvB1iP.eZtqT5P/kmlQfLsQOkvHRLD7yd.nDT."], ["role_id", 4], ["updated_at", "2014-05-22 18:26:08.256956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-22 13:26:08 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 2]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (5.3ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' 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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 12.2ms | ActiveRecord: 0.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" DESC LIMIT 1 Started DELETE "/dashboard/users/4" for 127.0.0.1 at 2014-05-22 13:26:09 -0500 Processing by Storytime::Dashboard::UsersController#destroy as JS Parameters: {"id"=>"4"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 4]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_users" WHERE "storytime_users"."id" = ? [["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.7ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 4]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:09.294440"], ["title", "Site Title 12"], ["updated_at", "2014-05-22 18:26:09.294440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:09.297930"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:09.297930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user67@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:09.299934"], ["email", "user67@example.com"], ["encrypted_password", "$2a$04$Xgs4Wdu8TTj/rZHHdMvrKOwv3mzt6ldnOWdvk.hLl/wcO.XwzCeni"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:09.299934"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:09.301697"], ["excerpt", "Post #14. It was a dark and stormy night."], ["published", "t"], ["title", "Post #14"], ["updated_at", "2014-05-22 18:26:09.301697"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:09.304820"], ["updated_at", "2014-05-22 18:26:09.304820"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #9. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:09.309915"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:09.309915"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user68@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:09.312175"], ["email", "user68@example.com"], ["encrypted_password", "$2a$04$mxPx3c9/kHr8hUreAY8huOC9.jyIpjz8pJNgFUHbNpircm049NcLu"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:09.312175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:09.313958"], ["excerpt", "Post #15. It was a dark and stormy night."], ["published", "t"], ["title", "Post #15"], ["updated_at", "2014-05-22 18:26:09.313958"], ["user_id", 2]] 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"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:09.315690"], ["updated_at", "2014-05-22 18:26:09.315690"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #10. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:09.320059"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:09.320059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user69@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:09.321980"], ["email", "user69@example.com"], ["encrypted_password", "$2a$04$SSBjpqY4JVOonOU3WkKOCuZDImL0Thm9ybwmxvdGeY9S1Sc./pIny"], ["role_id", 3], ["updated_at", "2014-05-22 18:26:09.321980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:09.323793"], ["excerpt", "Post #16. It was a dark and stormy night."], ["published", "t"], ["title", "Post #16"], ["updated_at", "2014-05-22 18:26:09.323793"], ["user_id", 3]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:09.325467"], ["updated_at", "2014-05-22 18:26:09.325467"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #11. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-22 13:26:09 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.4ms) 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", 2]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (0.6ms) 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (0.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.7ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:09.449800"], ["title", "Site Title 13"], ["updated_at", "2014-05-22 18:26:09.449800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:09.453813"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:09.453813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user70@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:09.455996"], ["email", "user70@example.com"], ["encrypted_password", "$2a$04$IPod/lVupniNvmIaMkblk.1NmtFnP5qifeFCPwUYULlpPpHsW/6fa"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:09.455996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:09.459272"], ["excerpt", "Post #17. It was a dark and stormy night."], ["published", "t"], ["title", "Post #17"], ["updated_at", "2014-05-22 18:26:09.459272"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #12. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:09.461904"], ["updated_at", "2014-05-22 18:26:09.461904"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #12. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-22 13:26:09 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} 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"."published" = 't' AND "storytime_posts"."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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.4ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:09.503285"], ["title", "Site Title 14"], ["updated_at", "2014-05-22 18:26:09.503285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:09.506789"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:09.506789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user71@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:09.508987"], ["email", "user71@example.com"], ["encrypted_password", "$2a$04$qCJNaOebWpTuoMSPl2o9OuSpTwkvR27Fp.utdWB7oS3Mjn0oEDq/e"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:09.508987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:09 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:09 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user71@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user71@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:09.636726"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:09.636726"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:09.637222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52884/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:09 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.2ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:09.718001"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:09.718001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user72@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:09.720399"], ["email", "user72@example.com"], ["encrypted_password", "$2a$04$bGk2FsykrlWUOOCuQzdUhOX3V3y8izul3YaVsKDuV30bWRhCnzMZS"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:09.720399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:09.729846"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-22 18:26:09.729846"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-22 13:26:09 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (6.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 14.6ms | ActiveRecord: 0.8ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-22 13:26:10 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 6ms (ActiveRecord: 0.7ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:10.733110"], ["title", "Site Title 15"], ["updated_at", "2014-05-22 18:26:10.733110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:10.736299"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:10.736299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user73@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:10.738302"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$SIw3ZqmZtG45OrTcxDWqWOIbOCQGrWzanZ04OvxzWwMRkftNuRsuC"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:10.738302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:10 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:10 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user73@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user73@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:10.771195"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:10.771195"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:10.775501"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:10 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.2ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (9.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 16.3ms | ActiveRecord: 1.2ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:10.827728"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:10.827728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user74@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:10.830016"], ["email", "user74@example.com"], ["encrypted_password", "$2a$04$FBBqrkVY8PmIavdl96GUMuLh5itd.oqjhbgMImqF7qcqhjLOzYkeu"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:10.830016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:10.834977"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-22 18:26:10.834977"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:10.840314"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:10.840314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user75@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:10.842630"], ["email", "user75@example.com"], ["encrypted_password", "$2a$04$LD0Uc0KXzd/sfFc9BO2Mxep/spQ1WbbsipSwnAm9bzMxCgS.jWrN6"], ["role_id", 3], ["updated_at", "2014-05-22 18:26:10.842630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:10.849245"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-22 18:26:10.849245"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-22 13:26:10 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.8ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (4.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (12.3ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 19.9ms | ActiveRecord: 0.9ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:10.897026"], ["title", "Site Title 16"], ["updated_at", "2014-05-22 18:26:10.897026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:10.900353"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:10.900353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user76@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:10.903566"], ["email", "user76@example.com"], ["encrypted_password", "$2a$04$JdzcEBUspLiXuxjgt77rv.kZt8hTXuHxo9zDHZiVyaAMRBshwBtDC"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:10.903566"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:10 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user76@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user76@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:11.020067"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:11.020067"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:11.021883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52884/ Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:11 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (3.4ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 14.7ms | ActiveRecord: 1.6ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-22 13:26:11 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (3.5ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.6ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-22 13:26:11 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:11.223816"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-22 18:26:11.223816"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (5.1ms) Completed 200 OK in 29ms (Views: 15.6ms | ActiveRecord: 0.6ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:12.172237"], ["title", "Site Title 17"], ["updated_at", "2014-05-22 18:26:12.172237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:12.176665"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:12.176665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user77@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:12.179171"], ["email", "user77@example.com"], ["encrypted_password", "$2a$04$1U5Kf6NpkXxN7Do0MLTYseRtDiYjLEPumqhpJ9MnOd74voMf86dui"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:12.179171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:12 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:12 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user77@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user77@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:12.304563"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:12.304563"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:12.304964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52884/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:12 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:12.386242"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:12.386242"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user78@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:12.388152"], ["email", "user78@example.com"], ["encrypted_password", "$2a$04$pnzWVV8V.1AksqFnij64zegdKDgHZoYX/K.1YJSEaEogHZw8oVjNq"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:12.388152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:12.393527"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-22 18:26:12.393527"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-22 13:26:12 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.0ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.3ms) Storytime::Media Load (0.4ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (3.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (8.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (20.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (22.8ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 36ms (Views: 29.1ms | ActiveRecord: 1.5ms) Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-22 13:26:13 -0500  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:13.947985"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:13.947985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user79@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:13.951294"], ["email", "user79@example.com"], ["encrypted_password", "$2a$04$nJlFMY0/6/5aTjVEdfb2HOJgmhrIdhQGhBYUs1qRQU97irVJ0lKsK"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:13.951294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:13.981063"], ["title", "Site Title 18"], ["updated_at", "2014-05-22 18:26:13.981063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:13.984662"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:13.984662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user80@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:13.986843"], ["email", "user80@example.com"], ["encrypted_password", "$2a$04$Pd1KZp9eBLmxgqYNDqhPJejPY2TUIc.bPJVuaq.iltEMpx1Wg27xK"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:13.986843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 4ms  (0.6ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.026954"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:14.026954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.028696"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.028696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.030486"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.030486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.031695"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.031695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.033223"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.033223"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.034904"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:14.034904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:14.036689"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.036689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.038021"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:14.038021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:14.039880"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.039880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user81@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.042453"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$pdL3XsQ.1wajusrA4R1D2uEoRvKhpbwEOrXHfqzw.LbiuxODGvtV2"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.042453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.046039"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.046039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Action Exists (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", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.053499"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:14.053499"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.055114"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.055114"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.056623"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.056623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.057772"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.057772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.059477"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.059477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.060679"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:14.060679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:14.063284"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.063284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.065105"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:14.065105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:14.066631"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.066631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user83@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.068533"], ["email", "user83@example.com"], ["encrypted_password", "$2a$04$Or00AKCtTL8AoOau18VSz.48klDbjmRKbh4QwaVraHtMXqWp1wqVO"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.068533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.071640"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.071640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.080412"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:14.080412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.081997"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.081997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.083594"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.083594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.084705"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.084705"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.086035"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.086035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.087835"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:14.087835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:14.089188"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.089188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.090301"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:14.090301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:14.091519"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.091519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user85@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.093465"], ["email", "user85@example.com"], ["encrypted_password", "$2a$04$MS/wpfmqINelNiaaNl4FMO05ITfX7kdGyeDOgtDf45/606Misebtm"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.093465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.099328"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.099328"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.108051"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:14.108051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.110667"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.110667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.113624"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.113624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.115918"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.115918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.118240"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.118240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.120516"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:14.120516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:14.122986"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.122986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.125174"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:14.125174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:14.127371"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.127371"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user87@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.129756"], ["email", "user87@example.com"], ["encrypted_password", "$2a$04$atb03wXDBiy2xcM9cAuZSuMWmqjQiR9.JI2tzfxkdS76OaKAx7zAu"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.129756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.137375"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:14.137375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.139043"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.139043"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.140633"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.140633"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.141796"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.141796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.143021"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.143021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.155669"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:14.155669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:14.157870"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.157870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.159238"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:14.159238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:14.160432"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.160432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user88@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.162051"], ["email", "user88@example.com"], ["encrypted_password", "$2a$04$ZAjM7zumD9o6V5KykfC7SOKwMq.6/Ps1jMSqMZkS/IFNETfTYKL.y"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.162051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.169075"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:14.169075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.170646"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.170646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.172137"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.172137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.173230"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.173230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.174437"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.174437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.176897"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:14.176897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:14.178755"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.178755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.180276"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:14.180276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:14.182290"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.182290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user89@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.184934"], ["email", "user89@example.com"], ["encrypted_password", "$2a$04$U7VKKuA8uNrbLux0iYVCuuPvm5LdbPhyYHa1rw02uJCg7Azz8zCpq"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.184934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.192768"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:14.192768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.194664"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.194664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.196377"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.196377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.197502"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.197502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.198663"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.198663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.201384"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:14.201384"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:14.202783"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.202783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.203912"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:14.203912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:14.205128"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.205128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user90@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.206928"], ["email", "user90@example.com"], ["encrypted_password", "$2a$04$RxHkvAoUTuQVd/nGQam.weBeJ1lRMGVl1ilF0JHlAQ3FI7.54bAOO"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.206928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.223229"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:14.223229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.226269"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.226269"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.230413"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.230413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.233271"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.233271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.236956"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.236956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.239800"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:14.239800"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:14.242765"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.242765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.244604"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:14.244604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:14.247002"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.247002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user91@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.255018"], ["email", "user91@example.com"], ["encrypted_password", "$2a$04$7LLjCCAGEANaaoWJQAeW8ur1GuPFJH1VRLDxBEnY.8Emp3qW8rLtS"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.255018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.261619"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:14.261619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.263733"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.263733"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.265848"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.265848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.267672"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.267672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.273688"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.273688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user92@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.277490"], ["email", "user92@example.com"], ["encrypted_password", "$2a$04$tXmP3Ojvpy8YPBbxR4nzpe/oALriGyzW8G/RqBIc5fmRxJCnmU3P6"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.277490"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.282955"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.282955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.293785"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:14.293785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.298153"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.298153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.301196"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.301196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.303359"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.303359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.305349"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.305349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user94@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.307271"], ["email", "user94@example.com"], ["encrypted_password", "$2a$04$G19u0.mbxOjrBuf7wwRZRuGLdhucmqCP6RLDT3NO/DgaOoZpUPGpS"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.307271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.310594"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.310594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.320108"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:14.320108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.321776"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.321776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.323360"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.323360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.324806"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.324806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.326364"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.326364"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user96@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.328709"], ["email", "user96@example.com"], ["encrypted_password", "$2a$04$qpzDUl7Inl9uV8URT0oiHujiJWoeXoQnyQ5465fY.kbX2Xk4f/i3W"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.328709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.331739"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.331739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.339854"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:14.339854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.342477"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.342477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.344766"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.344766"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.346465"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.346465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.347804"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.347804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user98@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.349874"], ["email", "user98@example.com"], ["encrypted_password", "$2a$04$0e3A0EyUt.cEQ6C9qcRIROzyFtp6SHH.ap99eVuYDRsaOgyj/V9BO"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.349874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.359946"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:14.359946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.361867"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.361867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.369554"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.369554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.371693"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.371693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.373770"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.373770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user99@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.376486"], ["email", "user99@example.com"], ["encrypted_password", "$2a$04$r43DrA.q2rlbGxZY0htthO7buQWYXIuSMGR0bZGErKW2Ng2diFF6."], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.376486"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.384417"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:14.384417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.386426"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.386426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.388247"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.388247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.389674"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.389674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.391677"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.391677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user100@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.393675"], ["email", "user100@example.com"], ["encrypted_password", "$2a$04$WBR29HflRxMCPwWXRdgbIOSVVGeTTfRM3ijYZIjydqdKxR36ZXgw6"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.393675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.400906"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:14.400906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.402992"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.402992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.405906"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.405906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.410154"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.410154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.413460"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.413460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user101@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.417339"], ["email", "user101@example.com"], ["encrypted_password", "$2a$04$JT4di.o5s5i6n1R1geM7kOZUthCZ873uR9kkkwwsh9bq4l5RAmXIi"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.417339"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.424813"], ["name", "editor"], ["updated_at", "2014-05-22 18:26:14.424813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.427042"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.427042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.429254"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.429254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.431517"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.431517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.433172"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.433172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user102@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.435196"], ["email", "user102@example.com"], ["encrypted_password", "$2a$04$daAwtQLUlDHLOdIHgkcWsOOazq0yBNdUCKrq71OVzdHL2MiDp7xki"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.435196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.441808"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.441808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.443494"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.443494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.445225"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.445225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user103@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.447298"], ["email", "user103@example.com"], ["encrypted_password", "$2a$04$tRdCf.p1mnK2XIxc/QxkuuRn.jHfggdIrTJDGUrX/2km8aDoHWB5u"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.447298"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.451336"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.451336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.459031"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.459031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.461290"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.461290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.463655"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.463655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user105@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.466606"], ["email", "user105@example.com"], ["encrypted_password", "$2a$04$wxSqd/60bIARUoIk4BLwQOJS.ieApZMYZz0PPq7EbxmUdoj8T12mS"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.466606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.469848"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.469848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.478091"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.478091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.479748"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.479748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.481425"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.481425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user107@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.483410"], ["email", "user107@example.com"], ["encrypted_password", "$2a$04$BAnQVg0RsQ94wDx3F7OgkuQCW10sdjSv59418lPyYDq28wqHCPhMq"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.483410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.487593"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.487593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.495578"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.495578"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.497749"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.497749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.499940"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.499940"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user109@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.502823"], ["email", "user109@example.com"], ["encrypted_password", "$2a$04$PculBCBllWSaTBEVVC7fZO3vRbZd4Y3Mt/uWH4x7e.pwWFUtm/CYa"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.502823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.511238"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.511238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.513340"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.513340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.515572"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.515572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user110@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.520152"], ["email", "user110@example.com"], ["encrypted_password", "$2a$04$nMXHS1SeonuXcuVxJK5RGuFiAFW70Ms15aFlSzm5TCKVpn/gQVZMW"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.520152"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.528608"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.528608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.530789"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.530789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.532961"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.532961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user111@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.536003"], ["email", "user111@example.com"], ["encrypted_password", "$2a$04$9mbckHc6Sqp0fWvUp/XFXeGl.ZjmtSliZXfjgmkLKrWVRQR5DRCMS"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.536003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.543506"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.543506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.545274"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.545274"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.547094"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.547094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user112@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.548936"], ["email", "user112@example.com"], ["encrypted_password", "$2a$04$YK0YlBuDEeQX/k9N5h196.R/gVx2i9VCCBsw6SpB7henBEktb1Qia"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.548936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.555905"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.555905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.557524"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.557524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.559069"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.559069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user113@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.560800"], ["email", "user113@example.com"], ["encrypted_password", "$2a$04$.ZqeyI.BuaVBNcVZhYwA2.P6.yyyxX38Cqn6dekvK85ewfP59QDw6"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.560800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.567143"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.567143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user114@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.569314"], ["email", "user114@example.com"], ["encrypted_password", "$2a$04$TVni.NmysJpfy8MkoannwuZGWYJQEO2TcFYMXXjUlSCVCCNOcg972"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.569314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.7ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.576978"], ["name", "tag1"], ["updated_at", "2014-05-22 18:26:14.576978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.579449"], ["name", "tag2"], ["updated_at", "2014-05-22 18:26:14.579449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.587298"], ["excerpt", "Post #42. It was a dark and stormy night."], ["published", "t"], ["title", "Post #42"], ["updated_at", "2014-05-22 18:26:14.587298"], ["user_id", 1]] SQL (0.5ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.588329"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-22 18:26:14.588329"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.589563"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-22 18:26:14.589563"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #37. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:14.591674"], ["updated_at", "2014-05-22 18:26:14.591674"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #37. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.596080"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.596080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user115@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.597896"], ["email", "user115@example.com"], ["encrypted_password", "$2a$04$/QNSMG5FSR/QBQKJ3EWnWuNFJa.4JVOPNQ.ckhuQSTTeE2jGBWDRC"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:14.597896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.601695"], ["excerpt", "Post #43. It was a dark and stormy night."], ["published", "t"], ["title", "Post #43"], ["updated_at", "2014-05-22 18:26:14.601695"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.602521"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-22 18:26:14.602521"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #38. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:14.605012"], ["updated_at", "2014-05-22 18:26:14.605012"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #38. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 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" WHERE "storytime_tags"."name" = 'tag1' GROUP BY storytime_taggings.tag_id LIMIT 1 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" WHERE "storytime_tags"."name" = 'tag2' GROUP BY storytime_taggings.tag_id LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.612693"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.612693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user116@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.615014"], ["email", "user116@example.com"], ["encrypted_password", "$2a$04$uDUom0RPt8Z6vTnCth8Okeas57qStVeQzkjeFR9kEAesQz3YbJnR6"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.615014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.0ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.617782"], ["name", "tag1"], ["updated_at", "2014-05-22 18:26:14.617782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.620803"], ["name", "tag2"], ["updated_at", "2014-05-22 18:26:14.620803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.626371"], ["excerpt", "Post #44. It was a dark and stormy night."], ["published", "t"], ["title", "Post #44"], ["updated_at", "2014-05-22 18:26:14.626371"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.627674"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-22 18:26:14.627674"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.628598"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-22 18:26:14.628598"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #39. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:14.630792"], ["updated_at", "2014-05-22 18:26:14.630792"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #39. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.635273"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.635273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user117@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.637278"], ["email", "user117@example.com"], ["encrypted_password", "$2a$04$DjuABJzu6CjIATDnFTne7OtC4edmgsE7PX1ifLnE.Kt2/XzGZ7Pwy"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:14.637278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.640634"], ["excerpt", "Post #45. It was a dark and stormy night."], ["published", "t"], ["title", "Post #45"], ["updated_at", "2014-05-22 18:26:14.640634"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.641528"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-22 18:26:14.641528"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #40. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:14.643352"], ["updated_at", "2014-05-22 18:26:14.643352"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #40. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.0ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.0ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.657330"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.657330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user118@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.659614"], ["email", "user118@example.com"], ["encrypted_password", "$2a$04$DWqK4RG4dk18r8K9U0DaC.fQGq9dAmAbiX6Ns2v4bgnk4DvCRkeHq"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.659614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.661617"], ["excerpt", "Post #46. It was a dark and stormy night."], ["published", "t"], ["title", "Post #46"], ["updated_at", "2014-05-22 18:26:14.661617"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #41. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:14.663447"], ["updated_at", "2014-05-22 18:26:14.663447"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #41. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.0ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.666931"], ["name", "tag1"], ["updated_at", "2014-05-22 18:26:14.666931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.668648"], ["name", "tag2"], ["updated_at", "2014-05-22 18:26:14.668648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.670072"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-22 18:26:14.670072"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.671102"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-22 18:26:14.671102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.677787"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:14.677787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.679595"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.679595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.681667"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.681667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.683172"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.683172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.685352"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.685352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.686905"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:14.686905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:14.688513"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.688513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.690399"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:14.690399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:14.691996"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.691996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user119@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.693984"], ["email", "user119@example.com"], ["encrypted_password", "$2a$04$qq.9/KvaRbsmBO8dDfUAVuw0r1n9AJwM9pO0/9AA6ALije8UQBx2m"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.693984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.695539"], ["title", "Site Title 19"], ["updated_at", "2014-05-22 18:26:14.695539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:14 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:14 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user119@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user119@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:14.710443"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:14.710443"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:14.711432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:14 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.742037"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:14.742037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user120@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.743954"], ["email", "user120@example.com"], ["encrypted_password", "$2a$04$Rpb6RQELM1mz8diNW3K79uTgAgjHxZToJQ8tExptJqEb6worKjs7y"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:14.743954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-27' 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" = 'page-27') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.746949"], ["published", "f"], ["slug", "page-27"], ["title", "Page #27"], ["updated_at", "2014-05-22 18:26:14.746949"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #27. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:14.748837"], ["updated_at", "2014-05-22 18:26:14.748837"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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" = 'page-27' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.751408"], ["slug", "page-27"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-27/edit" for 127.0.0.1 at 2014-05-22 13:26:14 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-27"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-27' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' 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", 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.5ms) 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"]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (1.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", 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_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (13.3ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 51ms (Views: 40.8ms | ActiveRecord: 1.7ms) Started PATCH "/dashboard/pages/page-27" for 127.0.0.1 at 2014-05-22 13:26:14 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Update Page", "id"=>"page-27"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-27' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' 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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' 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", 1]]  (0.0ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-22 18:26:14.830227"]] 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.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-22 18:26:14.833132"], ["updated_at", "2014-05-22 18:26:14.833132"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.835873"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 17ms (ActiveRecord: 1.6ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-22 13:26:14 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' 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", 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.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"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (4.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", 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_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (8.6ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 31ms (Views: 22.6ms | ActiveRecord: 1.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.921750"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:14.921750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.923743"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.923743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:14.925527"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.925527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.926866"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:14.926866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:14.928809"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.928809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.930807"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:14.930807"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:14.933112"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.933112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.935217"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:14.935217"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:14.936911"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.936911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user121@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:14.939227"], ["email", "user121@example.com"], ["encrypted_password", "$2a$04$8U31qOesAdcf/7Xq94B.Iutn6QS4.C4Bj7.cYFowjuo8WaebsaihG"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:14.939227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:14.940910"], ["title", "Site Title 20"], ["updated_at", "2014-05-22 18:26:14.940910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:14 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:14 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user121@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user121@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:14.967261"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:14.967261"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:14.967929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:14 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (9.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 16.9ms | ActiveRecord: 1.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-22 13:26:15 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (2.0ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (8.8ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 18.1ms | ActiveRecord: 1.4ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-22 13:26:15 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Create Page"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 1]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.051305"], ["published", "f"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-22 18:26:15.051305"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-22 18:26:15.053321"], ["updated_at", "2014-05-22 18:26:15.053321"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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.0ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.055731"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-22 13:26:15 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.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 "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (8.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::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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (10.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 41ms (Views: 31.1ms | ActiveRecord: 2.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.146142"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:15.146142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.147794"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:15.147794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:15.149398"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:15.149398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.150558"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:15.150558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:15.151835"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:15.151835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.153733"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:15.153733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:15.155266"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:15.155266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.156453"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:15.156453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:15.157694"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:15.157694"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user122@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.159388"], ["email", "user122@example.com"], ["encrypted_password", "$2a$04$GmyThDjNwL8mSBSl4.Pn6ewkK9IoNXzSIaNmwqPehZKBNy.uPsx7O"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:15.159388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.160817"], ["title", "Site Title 21"], ["updated_at", "2014-05-22 18:26:15.160817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user122@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user122@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:15.177480"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:15.177480"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:15.178009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:15 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.209387"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:15.209387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user123@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.211229"], ["email", "user123@example.com"], ["encrypted_password", "$2a$04$BPa5NHapeNjsOXSh52DSt.A4IYVhJl2dItd5SmFO.p17EFekht8Fa"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:15.211229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-28' 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" = 'page-28') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.214228"], ["published", "t"], ["slug", "page-28"], ["title", "Page #28"], ["updated_at", "2014-05-22 18:26:15.214228"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #28. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:15.216198"], ["updated_at", "2014-05-22 18:26:15.216198"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #28. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-28' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.219583"], ["slug", "page-28"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.222733"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:15.222733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user124@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.224483"], ["email", "user124@example.com"], ["encrypted_password", "$2a$04$Q6KFVmYhlsWBCqFq8SRtaeWKyAdNCXdlrQxtiVrd6ojMis56orXKu"], ["role_id", 3], ["updated_at", "2014-05-22 18:26:15.224483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-29' 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" = 'page-29') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.227519"], ["published", "t"], ["slug", "page-29"], ["title", "Page #29"], ["updated_at", "2014-05-22 18:26:15.227519"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #29. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:15.229307"], ["updated_at", "2014-05-22 18:26:15.229307"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #29. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-29' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.232447"], ["slug", "page-29"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.235604"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:15.235604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user125@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.237415"], ["email", "user125@example.com"], ["encrypted_password", "$2a$04$dwH/.yGOMdQ2AOF9HUqtROTp5sEXP06l.5nbNuDLRmjiFa8/Ko5wC"], ["role_id", 4], ["updated_at", "2014-05-22 18:26:15.237415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-30' 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" = 'page-30') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.240256"], ["published", "t"], ["slug", "page-30"], ["title", "Page #30"], ["updated_at", "2014-05-22 18:26:15.240256"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #30. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:15.242024"], ["updated_at", "2014-05-22 18:26:15.242024"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #30. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-30' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.245229"], ["slug", "page-30"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-22 13:26:15 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.8ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 12.4ms | ActiveRecord: 1.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.333667"], ["name", "admin"], ["updated_at", "2014-05-22 18:26:15.333667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.335399"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-22 18:26:15.335399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-22 18:26:15.337042"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:15.337042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.338186"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-22 18:26:15.338186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-22 18:26:15.339532"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:15.339532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.341336"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-22 18:26:15.341336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-22 18:26:15.342863"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:15.342863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.344257"], ["name", "Manage Users"], ["updated_at", "2014-05-22 18:26:15.344257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-22 18:26:15.345983"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:15.345983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user126@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.347957"], ["email", "user126@example.com"], ["encrypted_password", "$2a$04$mA0ex/SKspS5CjvEARlUWuDjB2bu6wKJJpvSKmm9Jcdj45SUZFYKa"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:15.347957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.350277"], ["title", "Site Title 22"], ["updated_at", "2014-05-22 18:26:15.350277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-22 13:26:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user126@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user126@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-22 18:26:15.477647"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-22 18:26:15.477647"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-22 18:26:15.479334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:52884/ Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-22 13:26:15 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 1.3ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.570383"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:15.570383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user127@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.572720"], ["email", "user127@example.com"], ["encrypted_password", "$2a$04$sSVIjPGaGyxe56ZdhOnZpO4yigVSK2vMgrcQG11pSOK/ZeeSbZbOG"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:15.572720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-31' 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" = 'page-31') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.578263"], ["published", "t"], ["slug", "page-31"], ["title", "Page #31"], ["updated_at", "2014-05-22 18:26:15.578263"], ["user_id", 2]] 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"]] SQL (0.3ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #31. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:15.582071"], ["updated_at", "2014-05-22 18:26:15.582071"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.2ms) UPDATE "storytime_pages" SET "content" = 'Page #31. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-31' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.592092"], ["slug", "page-31"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.596402"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:15.596402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user128@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.598496"], ["email", "user128@example.com"], ["encrypted_password", "$2a$04$Z6A/pje4he9XoHcOCuFuruakcPdY82Zy0OtFKKeoBuM2sF0ZBf5wu"], ["role_id", 3], ["updated_at", "2014-05-22 18:26:15.598496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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" = 'page-32' 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" = 'page-32') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.603511"], ["published", "t"], ["slug", "page-32"], ["title", "Page #32"], ["updated_at", "2014-05-22 18:26:15.603511"], ["user_id", 3]] 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::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #32. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:15.607350"], ["updated_at", "2014-05-22 18:26:15.607350"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #32. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-32' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.612693"], ["slug", "page-32"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:15.616501"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:15.616501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user129@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.618751"], ["email", "user129@example.com"], ["encrypted_password", "$2a$04$I/POClV75CQN6Gj1VlVOkONQYg75c/ZQ8DiYRw9lAhI6pBwSuc.he"], ["role_id", 4], ["updated_at", "2014-05-22 18:26:15.618751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-33' 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" = 'page-33') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.621952"], ["published", "t"], ["slug", "page-33"], ["title", "Page #33"], ["updated_at", "2014-05-22 18:26:15.621952"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #33. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:15.623735"], ["updated_at", "2014-05-22 18:26:15.623735"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #33. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 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::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" = 'page-33' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:15.627899"], ["slug", "page-33"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-22 13:26:15 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (7.5ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 17.2ms | ActiveRecord: 1.4ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-31" for 127.0.0.1 at 2014-05-22 13:26:16 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-31"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-31' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Others'' Posts/Pages' 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", 1]]  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["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 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 14ms (ActiveRecord: 1.4ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:16.651593"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:16.651593"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user130@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.655015"], ["email", "user130@example.com"], ["encrypted_password", "$2a$04$iPOGpaPkgOg4j7U062Phruy.TTEq3pgu/BMOavgFNeYD0U3MdVSuW"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:16.655015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:16.659959"], ["name", "tag1"], ["updated_at", "2014-05-22 18:26:16.659959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:16.662097"], ["name", "tag2"], ["updated_at", "2014-05-22 18:26:16.662097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.665332"], ["excerpt", "Post #47. It was a dark and stormy night."], ["published", "t"], ["title", "Post #47"], ["updated_at", "2014-05-22 18:26:16.665332"], ["user_id", 1]] SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.666280"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-22 18:26:16.666280"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.667353"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-22 18:26:16.667353"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #42. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:16.669663"], ["updated_at", "2014-05-22 18:26:16.669663"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #42. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:16.674067"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:16.674067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user131@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.675786"], ["email", "user131@example.com"], ["encrypted_password", "$2a$04$vplex9DVrSEGzbpYq.Zyd.DX9S0DFAwj1xosfhD8RWN0wQMykRhT6"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:16.675786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.679334"], ["excerpt", "Post #48. It was a dark and stormy night."], ["published", "t"], ["title", "Post #48"], ["updated_at", "2014-05-22 18:26:16.679334"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.680198"], ["post_id", 2], ["tag_id", 2], ["updated_at", "2014-05-22 18:26:16.680198"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #43. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:16.682066"], ["updated_at", "2014-05-22 18:26:16.682066"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #43. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.1ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:16.687845"], ["name", "tag1"], ["updated_at", "2014-05-22 18:26:16.687845"]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.689733"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-22 18:26:16.689733"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #42. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:16.698533"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:16.698533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user132@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.701402"], ["email", "user132@example.com"], ["encrypted_password", "$2a$04$GNKkcxE5fq2pegMp.TYGl.YA9Iq3Youyv9eD0F9RGqx4d1tMGGcaS"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:16.701402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:16.705175"], ["name", "tag1"], ["updated_at", "2014-05-22 18:26:16.705175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:16.707022"], ["name", "tag2"], ["updated_at", "2014-05-22 18:26:16.707022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.709843"], ["excerpt", "Post #49. It was a dark and stormy night."], ["published", "t"], ["title", "Post #49"], ["updated_at", "2014-05-22 18:26:16.709843"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.710678"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-22 18:26:16.710678"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.711428"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-22 18:26:16.711428"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #44. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:16.713573"], ["updated_at", "2014-05-22 18:26:16.713573"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #44. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.1ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:16.719874"], ["name", "tag1"], ["updated_at", "2014-05-22 18:26:16.719874"]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.721665"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-22 18:26:16.721665"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #44. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:16.730146"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:16.730146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user133@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.732765"], ["email", "user133@example.com"], ["encrypted_password", "$2a$04$Sr5FASq6XvZpz/vTqGal4uTKbjWlySlTOBWJmnx.kwAq3VkXWC0Wu"], ["role_id", 1], ["updated_at", "2014-05-22 18:26:16.732765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:16.736647"], ["name", "tag1"], ["updated_at", "2014-05-22 18:26:16.736647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:16.738815"], ["name", "tag2"], ["updated_at", "2014-05-22 18:26:16.738815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.741866"], ["excerpt", "Post #50. It was a dark and stormy night."], ["published", "t"], ["title", "Post #50"], ["updated_at", "2014-05-22 18:26:16.741866"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.742713"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-22 18:26:16.742713"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.743441"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-22 18:26:16.743441"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #45. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:16.745339"], ["updated_at", "2014-05-22 18:26:16.745339"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #45. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-22 18:26:16.749642"], ["name", "writer"], ["updated_at", "2014-05-22 18:26:16.749642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user134@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.751421"], ["email", "user134@example.com"], ["encrypted_password", "$2a$04$/NRf6JaFAg65cCsi3cSN4e623AQY/Ji7aVJ4Zw0hIZZKzG/Kv5D/2"], ["role_id", 2], ["updated_at", "2014-05-22 18:26:16.751421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.754742"], ["excerpt", "Post #51. It was a dark and stormy night."], ["published", "t"], ["title", "Post #51"], ["updated_at", "2014-05-22 18:26:16.754742"], ["user_id", 2]] SQL (0.3ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-22 18:26:16.755578"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-22 18:26:16.755578"]] 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.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #46. It was a dark and stormy night. The End."], ["created_at", "2014-05-22 18:26:16.758355"], ["updated_at", "2014-05-22 18:26:16.758355"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #46. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.8ms) rollback transaction Storytime::Site Load (0.6ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.6ms) DROP TABLE "friendly_id_slugs"  (1.0ms) 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) select sqlite_version(*)  (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.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'  (1.0ms) 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.2ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")  (1.4ms) DROP TABLE "storytime_actions"  (0.8ms) CREATE TABLE "storytime_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.4ms) DROP TABLE "storytime_media"  (0.9ms) 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")  (1.3ms) DROP TABLE "storytime_pages"  (1.0ms) CREATE TABLE "storytime_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "published" boolean, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE INDEX "index_storytime_pages_on_user_id" ON "storytime_pages" ("user_id")  (1.7ms) DROP TABLE "storytime_permissions"  (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.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.9ms) CREATE INDEX "index_storytime_permissions_on_role_id" ON "storytime_permissions" ("role_id")  (1.4ms) DROP TABLE "storytime_posts"  (1.3ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published" boolean, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (1.1ms) DROP TABLE "storytime_roles"  (0.8ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.1ms) DROP TABLE "storytime_sites"  (1.1ms) 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)   (1.1ms) CREATE INDEX "index_storytime_sites_on_selected_root_page_id" ON "storytime_sites" ("selected_root_page_id")  (2.1ms) DROP TABLE "storytime_taggings"  (0.9ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) 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.2ms) DROP TABLE "storytime_tags"  (1.0ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (2.1ms) DROP TABLE "storytime_users"  (0.9ms) CREATE TABLE "storytime_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, "role_id" integer)   (0.9ms) CREATE UNIQUE INDEX "index_storytime_users_on_email" ON "storytime_users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_storytime_users_on_reset_password_token" ON "storytime_users" ("reset_password_token")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'  (0.8ms) CREATE INDEX "index_storytime_users_on_role_id" ON "storytime_users" ("role_id")  (1.8ms) DROP TABLE "storytime_versions"  (1.2ms) 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)   (1.0ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (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.9ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id")  (0.1ms) SELECT version FROM "schema_migrations"  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522182042') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:36.447826"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:36.447826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:36.471526"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$7bCzXPSmjo9f8DoPh9tpr.iwzHVvGLePoCZJZTh8TaclLGg9Lydsm"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:36.471526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:36.620745"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-23 14:26:36.620745"], ["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::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:36.638617"], ["updated_at", "2014-05-23 14:26:36.638617"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #1. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:36.653334"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:36.662219"], ["title", "Site Title 1"], ["updated_at", "2014-05-23 14:26:36.662219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:36.665782"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:36.665782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:36.668036"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$MO83satJVJ08zxzd7.7sIupuAxakYWZ8CY0cwQoSSk4UaXK4fMli2"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:36.668036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (35.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (1.0ms) Completed 200 OK in 232ms (Views: 212.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-23 09:26:40 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-23 09:26:40 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:26:40.278999"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:26:40.278999"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:26:40.280118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 16ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:26:40 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 2ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:42.353488"], ["title", "Site Title 2"], ["updated_at", "2014-05-23 14:26:42.353488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:42.357299"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:42.357299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:42.360543"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$MXVw2WqFvDcfAEN4cdwlJeT/5EWm3uwUDF9NJYOqFoBCsDKJAwfrK"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:42.360543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:42 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:26:42.486158"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:26:42.486158"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:26:42.486627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:26:42 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:44.547054"], ["title", "Site Title 3"], ["updated_at", "2014-05-23 14:26:44.547054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:44.550281"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:44.550281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:44.552361"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$5IYtTRfPRueRXuri86vhne3Dxzgs945L/TXfnHLvfkrRT58DZIBQq"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:44.552361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:44 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:26:44.664794"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:26:44.664794"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:26:44.665243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:26:44 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:46.732804"], ["title", "Site Title 4"], ["updated_at", "2014-05-23 14:26:46.732804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:46.736261"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:46.736261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:46.738350"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$mO4vs5G8N85qYokLvCMwnu3jIa/u2DLL0CNK.77gStHqBJ.fyQbTG"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:46.738350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:26:46.957024"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:26:46.957024"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:26:46.959867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 16ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:26:46 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 2ms  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.074360"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:49.074360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.131380"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.131380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.142825"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.142825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.147657"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.147657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.149154"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.149154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.150925"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:49.150925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:49.152410"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.152410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.153569"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:49.153569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:49.154859"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.154859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.156689"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$lHr5UzJ60l.0eED./rYmBe/5DGbGP1v6L4IDxh.LHRFLyD7t6L1e2"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.156689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.160313"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.160313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.167437"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:49.167437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.169045"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.169045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.170581"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.170581"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.171892"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.171892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.173455"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.173455"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.175795"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:49.175795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:49.177751"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.177751"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.179099"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:49.179099"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:49.180562"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.180562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.182529"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$UivaN7HA5StPP6ATvrRJXOJv/nCoEZwJSIDx/O53xFENySvmuTD1G"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.182529"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.186487"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.186487"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.192753"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:49.192753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.194320"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.194320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.195839"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.195839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.197861"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.197861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.200714"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.200714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.203011"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:49.203011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:49.205273"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.205273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.206796"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:49.206796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:49.208063"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.208063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.209717"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$hk.b.Luv3tkSlMUMffwYDuCgVuZNzn2dAOaWQ3Q2moNYVsACC2uwi"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.209717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.212606"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.212606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.218264"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:49.218264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.219870"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.219870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.221697"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.221697"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.225654"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.225654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.227679"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.227679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.228938"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:49.228938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:49.230126"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.230126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.231297"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:49.231297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:49.232638"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.232638"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.235105"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$cSuDgSpJwkMmEHbMAfdgA.SsazWY1dXCBODgRSU.fUpFfEa0yb2XO"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.235105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.241579"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:49.241579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.243204"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.243204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.244904"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.244904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.246049"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.246049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.247371"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.247371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.249279"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:49.249279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:49.250718"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.250718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.251834"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:49.251834"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:49.253009"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.253009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.254915"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$BAPiDUY06tTEjytvzA0HhOte7P52sQJkdY1Sy.WZPGKEjDe0PL2Mi"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.254915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.260412"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:49.260412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.262029"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.262029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.263975"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.263975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.265751"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.265751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.267798"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.267798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.269165"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:49.269165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:49.270559"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.270559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.272153"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:49.272153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:49.273558"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.273558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.275248"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$a5S.SmGCr7D2GHgyVa6jVuX95zIKzt1ESiSHOr3TNw3Xh7m9fKxJ2"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.275248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.281314"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:49.281314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.282978"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.282978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.284745"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.284745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.285909"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.285909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.287207"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.287207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.289152"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:49.289152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:49.290455"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.290455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.291493"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:49.291493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:49.292677"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.292677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.294272"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$QpjQTXTIe1rmWybOp6v8aOoplmKIEtUcMNYDA6yxy9pWTsn6WzqFy"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.294272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.300442"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:49.300442"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.302057"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.302057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.303615"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.303615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.305248"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.305248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.307057"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.307057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.309178"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:49.309178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:49.311236"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.311236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.313094"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:49.313094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:49.315551"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.315551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.317943"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$qkguyz4Bpv6hA1iNAhhimO.E2kwBagS1EwKp3vCikS98LSWXeWuOy"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.317943"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.324649"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:49.324649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.326369"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.326369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.327949"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.327949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.329250"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.329250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.330846"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.330846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.333426"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$II6.ULyzdxiVzxEnRh1XBeZUmiUes1kRIJFgz48nbhr0kyf0VJKYC"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.333426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.336569"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.336569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.342878"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:49.342878"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.344744"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.344744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.346605"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.346605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.347897"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.347897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.349829"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.349829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.351883"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$5v0kNMXrx9LxmwOQx.korON6CgogqYFzj/XgjkiQIJRBV9yFKy6i6"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.351883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.355524"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.355524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.361517"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:49.361517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.363202"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.363202"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.364857"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.364857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.366323"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.366323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.367774"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.367774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.370370"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$lMRaLvpEWM5Ygfv7p6cXn.uT6ZrkfzpO973r87nLTNMDpO8M2haJu"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.370370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.373407"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.373407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.379064"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:49.379064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.380663"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.380663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.382147"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.382147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.383566"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.383566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.385283"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.385283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.388174"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$UvXHYL1Gf35wT3fJ9.C2ueLdyr9Y48IKjGDMd6OGnoqgwvLHIA1Ji"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.388174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.394882"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:49.394882"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.396731"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.396731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.398538"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.398538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.400324"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.400324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.402675"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.402675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.404657"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$fKkscLl2yeoGy.jVUh7GhONOz3lz9UsYshWEnltWg9NqxIzu7z6Au"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.404657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.410261"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:49.410261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.411921"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.411921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.413543"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.413543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.414935"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.414935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.416243"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.416243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.419845"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$krgaVGeUdPgQw3400Ub/TOyh.QFX6ma9841QybfY6I7dXdFSvbZe2"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.419845"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.427161"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:49.427161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.428922"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.428922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.430500"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.430500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.431635"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.431635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.433317"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.433317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.435668"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$u3LAVmcovlHzfDiSV2c17OBUd1lEh/zWa2GpXaJT5MiiZT7HWiZsS"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.435668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.441436"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:49.441436"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.443216"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.443216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.444830"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.444830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.446098"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.446098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:49.447335"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.447335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.449954"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$TtZ7dcr53Zxs08IzNcMeKeyrwZG84izsPizXaQyleVmvRNhW9/IPi"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.449954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.456544"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.456544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.458418"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.458418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.460008"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.460008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.461803"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$Z/YEpIPmNZODThy6ct.0tet31hjy0I4qndtSZXxBVpBBJqHZgMG/a"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.461803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.465203"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.465203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.471894"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.471894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.473609"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.473609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.475227"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.475227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.477064"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$P1r2fs5f1M.kFxkZFp795eX2p4M9xoQfUVRajr2hot5Kmo1kejhkW"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.477064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.480584"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.480584"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.487701"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.487701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.489496"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.489496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.491227"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.491227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.493153"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$A1YGiL/J6p8T3YWMDjtfM.gDbkoOHMFuGZEjBtYPOz07b1IE7fvou"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.493153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.496532"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.496532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.502357"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.502357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.504340"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.504340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.506488"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.506488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.508867"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$FAqQ1Tcs/dSTT7XgUR3IouKj3blwUonE/kHRlBxyUnjv4cOsnznHm"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.508867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.515454"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.515454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.517144"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.517144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.518675"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.518675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.520611"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$RN0f4BTdWuJ.FGuvAPZ/s.NyVHeTnQa9tB8CMmtN/sd9a3OIwTVA6"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.520611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.527538"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.527538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.529449"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.529449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.531221"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.531221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.533006"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$pYzwr5uHI81vO3uN6rj3v.fysergIURASbCixRturVtrp66Pp7Hoy"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.533006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.540050"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.540050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.541707"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.541707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.543316"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.543316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user37@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.545524"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$3To8I.aFqApV1o7NNQ3DzO7Jr8k08VF/8zRqGHTvOENO2mw7lfaF."], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.545524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.551615"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.551615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.553332"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:49.553332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:49.555550"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.555550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.557577"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$EijtE.peXeWEEqbDStLiEOSO8HzYyqGqHOjkywbbBwFxlJthNpJY6"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.557577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.565178"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.565178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user39@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.567204"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$IYDPojcUVmSEsOGcE44Tuu1yS.UcUkjetG/dJzMtt88dloWG3kUPW"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.567204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.582999"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "f"], ["title", "Post #1"], ["updated_at", "2014-05-23 14:26:49.582999"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-23 14:26:49.587248"], ["updated_at", "2014-05-23 14:26:49.587248"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "excerpt" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["excerpt", "New Excerpt"], ["updated_at", "2014-05-23 14:26:49.589560"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_versions"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.595546"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.595546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.597723"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$uOZO075b0r/dwLrgsBLrFexjE3vEOX6OytUh4VsKI33.xut468rnS"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.597723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.600212"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "f"], ["title", "Post #2"], ["updated_at", "2014-05-23 14:26:49.600212"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.5ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-23 14:26:49.602176"], ["updated_at", "2014-05-23 14:26:49.602176"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Testing 123', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.609120"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.609120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.611139"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$p3Y8YFbfODzPl0s4zEqFa.veBfGIdYIxZGKbvICDVtUl4hdIeK1HC"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.611139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.613676"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "f"], ["title", "Post #3"], ["updated_at", "2014-05-23 14:26:49.613676"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-23 14:26:49.615893"], ["updated_at", "2014-05-23 14:26:49.615893"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions" 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" ORDER BY "storytime_versions"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.625907"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.625907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user42@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.628204"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$WiJi0R2wD6w17.oPVYzmhOvffm2muf0UvVtIOWNlJOvQElvC1xcNC"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.628204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.630722"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-23 14:26:49.630722"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:49.632558"], ["updated_at", "2014-05-23 14:26:49.632558"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #1. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" ORDER BY "storytime_versions"."id" DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "New Content"], ["created_at", "2014-05-23 14:26:49.639888"], ["updated_at", "2014-05-23 14:26:49.639888"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #1. It was a dark and stormy night. The End.' WHERE "storytime_posts"."id" = 1 SQL (0.1ms) UPDATE "storytime_versions" SET "updated_at" = '2014-05-23 14:26:49.645263' WHERE "storytime_versions"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.649907"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.649907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user43@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.653174"], ["email", "user43@example.com"], ["encrypted_password", "$2a$04$v4XZp7qIs0WUgp.9NcrmKOTX5aSVsVV3NfGG.x3jXOAAF/QwYRBdK"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.653174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.655492"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-23 14:26:49.655492"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-23 14:26:49.657962"], ["updated_at", "2014-05-23 14:26:49.657962"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Testing 123', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "New Content"], ["created_at", "2014-05-23 14:26:49.661536"], ["updated_at", "2014-05-23 14:26:49.661536"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_versions"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.667073"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.667073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user44@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.669229"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$MgPmBtvPu1d6/33vBBvqOeFoIdQbE4rVn5AKM7Jbk1rIzBhhOdxMO"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.669229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.671718"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "f"], ["title", "Post #6"], ["updated_at", "2014-05-23 14:26:49.671718"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-23 14:26:49.673537"], ["updated_at", "2014-05-23 14:26:49.673537"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.678797"], ["title", "Site Title 5"], ["updated_at", "2014-05-23 14:26:49.678797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.682223"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.682223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user45@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.684218"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$mOLgn2W7dL5d.Y4mculkW.LzDEZXcV7H/5JyQhU6zE6TA/xd.Jley"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.684218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.685856"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-23 14:26:49.685856"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:49.687490"], ["updated_at", "2014-05-23 14:26:49.687490"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.693801"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.693801"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user46@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.696176"], ["email", "user46@example.com"], ["encrypted_password", "$2a$04$r4WDfuI6Qe.oAQGMOXKMp.aYJoY1QXjNcwmJAIzeJG87qpcuR6uYm"], ["role_id", 2], ["updated_at", "2014-05-23 14:26:49.696176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.698216"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "t"], ["title", "Post #8"], ["updated_at", "2014-05-23 14:26:49.698216"], ["user_id", 2]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:49.699939"], ["updated_at", "2014-05-23 14:26:49.699939"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.704690"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.704690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user47@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.706931"], ["email", "user47@example.com"], ["encrypted_password", "$2a$04$Gf1SMnaH4XwoN7HsPRU4vuA6tPgUIFlnxapi92/vc4qEOD74lr11O"], ["role_id", 3], ["updated_at", "2014-05-23 14:26:49.706931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.709109"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-23 14:26:49.709109"], ["user_id", 3]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:49.710744"], ["updated_at", "2014-05-23 14:26:49.710744"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #4. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-23 09:26:49 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (6.2ms) 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", 2]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (0.8ms) 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (0.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (22.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (10.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.5ms) Completed 200 OK in 50ms (Views: 47.8ms | ActiveRecord: 1.2ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.892606"], ["title", "Site Title 6"], ["updated_at", "2014-05-23 14:26:49.892606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.896122"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.896122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user48@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.898353"], ["email", "user48@example.com"], ["encrypted_password", "$2a$04$L7/RTnIBdn10AUs7a5ZbhuhZPSrGpU5j4Nqqkq38reikceVwPNBuy"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.898353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.900236"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-23 14:26:49.900236"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:49.904127"], ["updated_at", "2014-05-23 14:26:49.904127"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #5. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-23 09:26:49 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} 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"."published" = 't' AND "storytime_posts"."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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.4ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.950856"], ["title", "Site Title 7"], ["updated_at", "2014-05-23 14:26:49.950856"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:49.954996"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:49.954996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user49@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.957230"], ["email", "user49@example.com"], ["encrypted_password", "$2a$04$8oe45hYo2yUNpFFL3Hb7xeG0CpPg5UW8dh1APvrZvHUJU.sm/BRpi"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:49.957230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-26' 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" = 'page-26') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.961310"], ["published", "t"], ["slug", "page-26"], ["title", "Page #26"], ["updated_at", "2014-05-23 14:26:49.961310"], ["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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #26. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:49.963811"], ["updated_at", "2014-05-23 14:26:49.963811"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #26. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-26' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:49.967801"], ["slug", "page-26"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-26" for 127.0.0.1 at 2014-05-23 09:26:49 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-26"} 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"."published" = 't' AND "storytime_pages"."slug" = 'page-26' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.4ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.010210"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:50.010210"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user50@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.012792"], ["email", "user50@example.com"], ["encrypted_password", "$2a$04$gEkcs96jAwnbC0csNEqIsuBu24IqiPUoHryvHPnnqADXvD5YGBe.e"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:50.012792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.020036"], ["name", "tag1"], ["updated_at", "2014-05-23 14:26:50.020036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.022806"], ["name", "tag2"], ["updated_at", "2014-05-23 14:26:50.022806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.2ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.0ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.033145"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "t"], ["title", "Post #11"], ["updated_at", "2014-05-23 14:26:50.033145"], ["user_id", 1]] SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.034226"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-23 14:26:50.034226"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.035419"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-23 14:26:50.035419"]] 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.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:50.038209"], ["updated_at", "2014-05-23 14:26:50.038209"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.042469"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:50.042469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user51@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.044256"], ["email", "user51@example.com"], ["encrypted_password", "$2a$04$V1gU0oCPP8yK/YcpC62OLuSIhDIrhStTgxTzwYibNuT5xFEQgZf.G"], ["role_id", 2], ["updated_at", "2014-05-23 14:26:50.044256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.047755"], ["excerpt", "Post #12. It was a dark and stormy night."], ["published", "t"], ["title", "Post #12"], ["updated_at", "2014-05-23 14:26:50.047755"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.048648"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-23 14:26:50.048648"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:50.050646"], ["updated_at", "2014-05-23 14:26:50.050646"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 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" WHERE "storytime_tags"."name" = 'tag1' GROUP BY storytime_taggings.tag_id LIMIT 1 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" WHERE "storytime_tags"."name" = 'tag2' GROUP BY storytime_taggings.tag_id LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.059035"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:50.059035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user52@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.061403"], ["email", "user52@example.com"], ["encrypted_password", "$2a$04$gdNO1LfhDhYWBjWt/aXRVOadzulRW69l/O3NwrnXJKKS6zICclpVW"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:50.061403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.0ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.064273"], ["name", "tag1"], ["updated_at", "2014-05-23 14:26:50.064273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.066586"], ["name", "tag2"], ["updated_at", "2014-05-23 14:26:50.066586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.070734"], ["excerpt", "Post #13. It was a dark and stormy night."], ["published", "t"], ["title", "Post #13"], ["updated_at", "2014-05-23 14:26:50.070734"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.071771"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-23 14:26:50.071771"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.072628"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-23 14:26:50.072628"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:50.074776"], ["updated_at", "2014-05-23 14:26:50.074776"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #8. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.079571"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:50.079571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user53@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.081430"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$xeKfn7BH9Usexr/9vTBLluTuqKqM4g9d1y8PJINz.6RvJ8VZtz7DK"], ["role_id", 2], ["updated_at", "2014-05-23 14:26:50.081430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.087488"], ["excerpt", "Post #14. It was a dark and stormy night."], ["published", "t"], ["title", "Post #14"], ["updated_at", "2014-05-23 14:26:50.087488"], ["user_id", 2]] SQL (16.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.088503"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-23 14:26:50.088503"]] 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", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:50.107503"], ["updated_at", "2014-05-23 14:26:50.107503"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #9. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.2ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.2ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 2]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.133426"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:50.133426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user54@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.137373"], ["email", "user54@example.com"], ["encrypted_password", "$2a$04$70lijb5qeS4b7GNMO1dwuujibRCycwLvZuwU581DW4L7KcHD7/7Aq"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:50.137373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.141526"], ["excerpt", "Post #15. It was a dark and stormy night."], ["published", "t"], ["title", "Post #15"], ["updated_at", "2014-05-23 14:26:50.141526"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:50.144635"], ["updated_at", "2014-05-23 14:26:50.144635"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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) UPDATE "storytime_posts" SET "content" = 'Post #10. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.150359"], ["name", "tag1"], ["updated_at", "2014-05-23 14:26:50.150359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.153795"], ["name", "tag2"], ["updated_at", "2014-05-23 14:26:50.153795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.157191"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-23 14:26:50.157191"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.158721"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-23 14:26:50.158721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.167451"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:50.167451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.169495"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:50.169495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:50.171420"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:50.171420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.173583"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:50.173583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:50.174885"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:50.174885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.175941"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:50.175941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:50.177708"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:50.177708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.179589"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:50.179589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:50.181474"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:50.181474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user55@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:50.183541"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$hgALKOu5.Yrt4Eu7yalSNeSL2wXynh0.cK3W3Jz3dCyjIbaB8djv6"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:50.183541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:50.185778"], ["title", "Site Title 8"], ["updated_at", "2014-05-23 14:26:50.185778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:50 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:50 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user55@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user55@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:26:50.308529"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:26:50.308529"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:26:50.308995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:26:50 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 2ms  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:52.379283"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:52.379283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:52.380949"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:52.380949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:52.382683"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:52.382683"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:52.383980"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:52.383980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:52.385721"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:52.385721"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:52.387127"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:52.387127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:52.388398"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:52.388398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:52.389434"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:52.389434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:52.390615"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:52.390615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user56@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:52.392228"], ["email", "user56@example.com"], ["encrypted_password", "$2a$04$Z./YY8g1h9JLj0pDG6xi2.GS9LrdoN/zr0ph3DPqkgyml/bEb3VRu"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:52.392228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:52.393597"], ["title", "Site Title 9"], ["updated_at", "2014-05-23 14:26:52.393597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:52 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:52 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user56@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user56@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:26:52.503325"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:26:52.503325"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:26:52.503736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:26:52 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:54.590331"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:54.590331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:54.592070"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:54.592070"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:54.593680"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:54.593680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:54.595536"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:54.595536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:54.600236"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:54.600236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:54.603248"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:54.603248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:54.604814"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:54.604814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:54.605957"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:54.605957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:54.607340"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:54.607340"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:54.609325"], ["email", "user57@example.com"], ["encrypted_password", "$2a$04$03Mxaq.t2wJ47W59tDHCJOlDPKLYIZjp95j5SjlkPFxBIQDJYotYG"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:54.609325"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:54.611066"], ["title", "Site Title 10"], ["updated_at", "2014-05-23 14:26:54.611066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:54 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user57@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:26:54.730813"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:26:54.730813"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:26:54.731244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:26:54 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:56.805484"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:56.805484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:56.807109"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:56.807109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:56.808582"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:56.808582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:56.809785"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:56.809785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:56.811004"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:56.811004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:56.812128"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:56.812128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:56.813876"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:56.813876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:56.815031"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:56.815031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:56.816151"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:56.816151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user58@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:56.817900"], ["email", "user58@example.com"], ["encrypted_password", "$2a$04$wjO1eRw9y8uQq4V7ltsb1uwlOddXdtAp.M26f6vIVFcsueCrZaY4G"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:56.817900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:56.819281"], ["title", "Site Title 11"], ["updated_at", "2014-05-23 14:26:56.819281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:56 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 13.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:56 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user58@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user58@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:26:56.941822"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:26:56.941822"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:26:56.942226"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:26:56 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.018022"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.018022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user59@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.020197"], ["email", "user59@example.com"], ["encrypted_password", "$2a$04$C/WhUhFG6xVzdn6MPQNVE.wCqvLjPP7TbOBmXmNuWYYQJAMwddXxC"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.020197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.024534"], ["name", "tag1"], ["updated_at", "2014-05-23 14:26:59.024534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.027371"], ["name", "tag2"], ["updated_at", "2014-05-23 14:26:59.027371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.030894"], ["excerpt", "Post #16. It was a dark and stormy night."], ["published", "t"], ["title", "Post #16"], ["updated_at", "2014-05-23 14:26:59.030894"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.031852"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-23 14:26:59.031852"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.032588"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-23 14:26:59.032588"]] 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", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:59.034794"], ["updated_at", "2014-05-23 14:26:59.034794"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #11. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.039469"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.039469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user60@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.041179"], ["email", "user60@example.com"], ["encrypted_password", "$2a$04$ISI4ppYwN9TaTai9JpIM1eHQ0Ame28F0IQo59EtVncMTv93ZVoBla"], ["role_id", 2], ["updated_at", "2014-05-23 14:26:59.041179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.044350"], ["excerpt", "Post #17. It was a dark and stormy night."], ["published", "t"], ["title", "Post #17"], ["updated_at", "2014-05-23 14:26:59.044350"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.045144"], ["post_id", 2], ["tag_id", 2], ["updated_at", "2014-05-23 14:26:59.045144"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #12. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:59.047054"], ["updated_at", "2014-05-23 14:26:59.047054"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #12. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.1ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.0ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.053604"], ["name", "tag1"], ["updated_at", "2014-05-23 14:26:59.053604"]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.055971"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-23 14:26:59.055971"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #11. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_tags"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.063625"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.063625"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user61@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.065842"], ["email", "user61@example.com"], ["encrypted_password", "$2a$04$OWaZpnQhW7vCeesPe3iAo.HJRaO/Lwa5pCWQynr6tNh5nS57Cee5G"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.065842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.0ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.068614"], ["name", "tag1"], ["updated_at", "2014-05-23 14:26:59.068614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.2ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.070555"], ["name", "tag2"], ["updated_at", "2014-05-23 14:26:59.070555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.0ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.073980"], ["excerpt", "Post #18. It was a dark and stormy night."], ["published", "t"], ["title", "Post #18"], ["updated_at", "2014-05-23 14:26:59.073980"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.074831"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-23 14:26:59.074831"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.075520"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-23 14:26:59.075520"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #13. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:59.077358"], ["updated_at", "2014-05-23 14:26:59.077358"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #13. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.1ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.084640"], ["name", "tag1"], ["updated_at", "2014-05-23 14:26:59.084640"]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.086597"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-23 14:26:59.086597"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #13. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.094919"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.094919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user62@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.097204"], ["email", "user62@example.com"], ["encrypted_password", "$2a$04$C/X6aHItNy6DZueu/QEvNOW8iCZcUaHyXdw0JhT7TJ6YXYaNJH2ci"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.097204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.100345"], ["name", "tag1"], ["updated_at", "2014-05-23 14:26:59.100345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.102715"], ["name", "tag2"], ["updated_at", "2014-05-23 14:26:59.102715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.105784"], ["excerpt", "Post #19. It was a dark and stormy night."], ["published", "t"], ["title", "Post #19"], ["updated_at", "2014-05-23 14:26:59.105784"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.106746"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-23 14:26:59.106746"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.107496"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-23 14:26:59.107496"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #14. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:59.109418"], ["updated_at", "2014-05-23 14:26:59.109418"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #14. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.113369"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.113369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user63@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.115259"], ["email", "user63@example.com"], ["encrypted_password", "$2a$04$fVLN7JE8kjvjiW60RvW7TenMm/h8VOAaiKxJLaEw.cfwtVaTQWdLW"], ["role_id", 2], ["updated_at", "2014-05-23 14:26:59.115259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.119134"], ["excerpt", "Post #20. It was a dark and stormy night."], ["published", "t"], ["title", "Post #20"], ["updated_at", "2014-05-23 14:26:59.119134"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.120002"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-23 14:26:59.120002"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #15. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 14:26:59.121942"], ["updated_at", "2014-05-23 14:26:59.121942"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #15. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.138642"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:59.138642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.140645"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.140645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.142225"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.142225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.144613"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.144613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.146940"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.146940"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.149090"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:59.149090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:59.150602"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.150602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.151793"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:59.151793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:59.153022"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.153022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user64@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.154724"], ["email", "user64@example.com"], ["encrypted_password", "$2a$04$R/F9mJAMhcMF.KjZMoaJK.pQn1mjNfIaE99uxOqJ1fLCAmUp2Dtwy"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.154724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.157525"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.157525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.164383"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:59.164383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.165983"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.165983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.167592"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.167592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.168806"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.168806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.169993"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.169993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.171323"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:59.171323"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:59.174095"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.174095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.175840"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:59.175840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:59.177330"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.177330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user66@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.179372"], ["email", "user66@example.com"], ["encrypted_password", "$2a$04$Jeol8UQaXk/uDVwtw3ot0O3BjS3BZuXuQ.3IpSoRxfOv50tnxN7gy"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.179372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.182848"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.182848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.189926"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:59.189926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.191768"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.191768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.193550"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.193550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.194885"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.194885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.196686"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.196686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.198161"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:59.198161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:59.199454"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.199454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.200649"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:59.200649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:59.201866"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.201866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user68@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.203518"], ["email", "user68@example.com"], ["encrypted_password", "$2a$04$tsrPUs5Djn9B9Gn2nHAAludqH3vdOhMv/8KWoKDZhV6aydJgmTG/q"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.203518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.206476"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.206476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.214312"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:59.214312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.216127"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.216127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.218017"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.218017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.219409"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.219409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.221450"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.221450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.222774"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:59.222774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:59.224341"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.224341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.226530"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:59.226530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:59.228949"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.228949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user70@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.230967"], ["email", "user70@example.com"], ["encrypted_password", "$2a$04$pXb6R9i/yKcwZ/WE3AN0yO3BtbZdE4..vQ.rSNJpAZM0X5/Mv/.SC"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.230967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.237578"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:59.237578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.239224"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.239224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.240875"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.240875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.242092"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.242092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.243473"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.243473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.246214"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:59.246214"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:59.248344"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.248344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.249992"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:59.249992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:59.251783"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.251783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user71@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.253553"], ["email", "user71@example.com"], ["encrypted_password", "$2a$04$GGoS8PjJENge3Kkqn5RmF.WxbgU05eFWbZElKQ6/BLxlyz6YeT8/a"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.253553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.259602"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:59.259602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.261243"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.261243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.262880"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.262880"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.264144"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.264144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.265376"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.265376"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.267246"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:59.267246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:59.269313"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.269313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.270868"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:59.270868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:59.272315"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.272315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user72@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.274311"], ["email", "user72@example.com"], ["encrypted_password", "$2a$04$FgV1Q1.Y7D/LUlWBQCFuheYKdVdHtNMoMYQPQUa7vjMZukApzy1Pu"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.274311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.282323"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:59.282323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.284231"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.284231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.286267"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.286267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.287754"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.287754"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.289400"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.289400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.290696"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:59.290696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:59.291972"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.291972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.293243"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:59.293243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:59.294478"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.294478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user73@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.296308"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$ElP03.BaXop8fzoIFbYYu.xj/SAk9Mvy2KPgJCzJCLklKYygJ1arm"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.296308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.302560"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:59.302560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.304199"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.304199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.305857"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.305857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.307048"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.307048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.308336"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.308336"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.310014"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:59.310014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:59.311384"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.311384"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.312587"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:59.312587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:59.314071"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.314071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user74@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.315989"], ["email", "user74@example.com"], ["encrypted_password", "$2a$04$UrqP8N74pNWShAmr5Ns9F.XIyy5Y/lEqccVawe5WNWxR2LealRuhK"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.315989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.322271"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:59.322271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.323911"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.323911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.325545"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.325545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.326772"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.326772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.327997"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.327997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user75@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.330700"], ["email", "user75@example.com"], ["encrypted_password", "$2a$04$IKyDa/rgmQ78gGJO3CHZC.AfCJ1S0NWuLoWy2fzCUx8E042X7u6oq"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.330700"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.334567"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.334567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.341749"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:59.341749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.343982"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.343982"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.346198"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.346198"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.348070"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.348070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.351300"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.351300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user77@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.354241"], ["email", "user77@example.com"], ["encrypted_password", "$2a$04$baoRw3qngT2syfo7YV.FUuNVWHuiPcBYW2AoIFgrUnTwHaeYq7ewq"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.354241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.357863"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.357863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.364462"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:59.364462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.366625"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.366625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.369306"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.369306"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.371521"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.371521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.374145"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.374145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user79@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.376029"], ["email", "user79@example.com"], ["encrypted_password", "$2a$04$cry2sZ6URJ/MVHgrEDU6k.tV1mbr.4wa8X0a/tqOlBOx8wHl3bL7e"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.376029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.378993"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.378993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.386076"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:59.386076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.387892"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.387892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.389934"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.389934"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.391776"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.391776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.393603"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.393603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user81@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.395613"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$3BAZPp8xYusaeA3fyO.pt.RWBlfiIPZ.ZGdwKJonBMyhABL9FdtKK"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.395613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.401974"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:59.401974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.403504"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.403504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.405027"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.405027"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.406187"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.406187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.407636"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.407636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user82@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.410269"], ["email", "user82@example.com"], ["encrypted_password", "$2a$04$hrISnV.y849mdT78UuK8yuKb4YLmO3P13jf48xboqYWq6isTKaeo2"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.410269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.417828"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:59.417828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.420018"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.420018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.422659"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.422659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.425282"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.425282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.428126"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.428126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user83@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.430994"], ["email", "user83@example.com"], ["encrypted_password", "$2a$04$fPlWgT/WtX8L0uEei/JI1.J8A9AQKCeaq2ZwpGjsS70/9D74/iD42"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.430994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.438621"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:59.438621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.440218"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.440218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.441854"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.441854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.443151"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.443151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.445264"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.445264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user84@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.447219"], ["email", "user84@example.com"], ["encrypted_password", "$2a$04$BRZpZlu.YDJcoBGVFK9qqu/mNaNE9nnqEgtU8ivCyyoWWHjuVvbeG"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.447219"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.454387"], ["name", "editor"], ["updated_at", "2014-05-23 14:26:59.454387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.456216"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.456216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.457785"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.457785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.458944"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.458944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.461163"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.461163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user85@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.464499"], ["email", "user85@example.com"], ["encrypted_password", "$2a$04$wfyBfGtmTVwzjdA86Dj4j.w2PWYR/3e.c4wbCPEX1H0vLxFj1O7Jm"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.464499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.472679"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.472679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.474416"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.474416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.476115"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.476115"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user86@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.477987"], ["email", "user86@example.com"], ["encrypted_password", "$2a$04$5HN8g0Rje2G1WosZV.cnz.hLgpSg62pdONr58CPWOGUIipHFfRwKy"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.477987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.481389"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.481389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.489842"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.489842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.492528"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.492528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.494928"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.494928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user88@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.497212"], ["email", "user88@example.com"], ["encrypted_password", "$2a$04$.bM4tsGrCDW4W2H7X2vzguoQIuXr0izJboADXQaQdXIsspjt8Item"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.497212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.500486"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.500486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.506954"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.506954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.508586"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.508586"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.510347"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.510347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user90@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.512314"], ["email", "user90@example.com"], ["encrypted_password", "$2a$04$Lu9fjmTjdR/I4YJanzQpheMGB7bc6t8y2QrT5az/0VPqYDxJXi.Eu"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.512314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.515864"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.515864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.521995"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.521995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.523562"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.523562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.525173"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.525173"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user92@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.526822"], ["email", "user92@example.com"], ["encrypted_password", "$2a$04$DWwa2mR3kpIX9eWTCLXacewhLnR5GXdMGeoRcWES48FrUrhLMVPkK"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.526822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.534122"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.534122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.535731"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.535731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.537236"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.537236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user93@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.539067"], ["email", "user93@example.com"], ["encrypted_password", "$2a$04$XSkD7vq86HsniCTY3qEYy.JboO/D4a7GNKadufvYIqXH0Ae4KAhaa"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.539067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.551624"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.551624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.553172"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.553172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.554795"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.554795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user94@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.556554"], ["email", "user94@example.com"], ["encrypted_password", "$2a$04$a/PLd2ic27XXa3ch7Roef.0kgcm/lVz7gAHRhXnxPHHMHKh64pVma"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.556554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.563215"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.563215"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.565560"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.565560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.567836"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.567836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user95@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.571000"], ["email", "user95@example.com"], ["encrypted_password", "$2a$04$0NWfMNBveLhU6lJpIzXtu.Ui3zI5RArnluj6tFYp93pBkVlItkeEu"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.571000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.577121"], ["name", "writer"], ["updated_at", "2014-05-23 14:26:59.577121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.578658"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.578658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.580180"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.580180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user96@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.582064"], ["email", "user96@example.com"], ["encrypted_password", "$2a$04$xuraGtJHIjSEQNFj2Ci2uOjpXX9jjlGG4rl5MKc07xemSwpT6Rtbu"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.582064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.588119"], ["name", "admin"], ["updated_at", "2014-05-23 14:26:59.588119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.589669"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.589669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:26:59.591428"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.591428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.592743"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:26:59.592743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:26:59.594125"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.594125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.595314"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:26:59.595314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:26:59.597280"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.597280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.598929"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:26:59.598929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:26:59.600376"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.600376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user97@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:26:59.602147"], ["email", "user97@example.com"], ["encrypted_password", "$2a$04$93Va.3QacHSI3yvoFauTQemnyTgsTogN8FaG4TsUgRbU/zuFM8sPu"], ["role_id", 1], ["updated_at", "2014-05-23 14:26:59.602147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:26:59.603807"], ["title", "Site Title 12"], ["updated_at", "2014-05-23 14:26:59.603807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:59 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:26:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user97@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user97@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:26:59.720022"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:26:59.720022"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:26:59.720480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:26:59 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:01.783617"], ["name", "admin"], ["updated_at", "2014-05-23 14:27:01.783617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:01.785245"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:27:01.785245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:27:01.786989"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:01.786989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:01.788688"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:27:01.788688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:27:01.790724"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:01.790724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:01.791968"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:27:01.791968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:27:01.793180"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:01.793180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:01.794328"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:27:01.794328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:27:01.795565"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:01.795565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user98@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:27:01.797238"], ["email", "user98@example.com"], ["encrypted_password", "$2a$04$Ls.MipYBzs6QfztdWnSC7u7fkMiwtdV.UWNO5yzJkbhuurfnlUe4G"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:01.797238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:01.798733"], ["title", "Site Title 13"], ["updated_at", "2014-05-23 14:27:01.798733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:01 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:01 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user98@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user98@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:27:01.905108"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:27:01.905108"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:27:01.905524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:27:01 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:03.983470"], ["name", "admin"], ["updated_at", "2014-05-23 14:27:03.983470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:03.985168"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:27:03.985168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:27:03.986698"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:03.986698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:03.987863"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:27:03.987863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:27:03.989132"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:03.989132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:03.990793"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:27:03.990793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:27:03.992348"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:03.992348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:03.993627"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:27:03.993627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:27:03.994841"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:03.994841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user99@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:27:03.997276"], ["email", "user99@example.com"], ["encrypted_password", "$2a$04$mrqEXtC8EB9iaW0cnqV1V.WMm.gcSOGXWitR2E4gRx78Ix4JMUvcu"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:03.997276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:03.999122"], ["title", "Site Title 14"], ["updated_at", "2014-05-23 14:27:03.999122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:04 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user99@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user99@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:27:04.128676"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:27:04.128676"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:27:04.129093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:27:04 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 2ms  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:06.198642"], ["name", "admin"], ["updated_at", "2014-05-23 14:27:06.198642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:06.200615"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:27:06.200615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:27:06.202346"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:06.202346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:06.203670"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:27:06.203670"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:27:06.206077"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:06.206077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:06.208373"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:27:06.208373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:27:06.210862"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:06.210862"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:06.213236"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:27:06.213236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:27:06.215398"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:06.215398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user100@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:27:06.218269"], ["email", "user100@example.com"], ["encrypted_password", "$2a$04$nzBsj2pZMCiyODI0uJOasu1odFtH8V.irOALPly5ApgvYU/rvIYjG"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:06.218269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:06.220083"], ["title", "Site Title 15"], ["updated_at", "2014-05-23 14:27:06.220083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:06 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user100@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user100@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:27:06.345316"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:27:06.345316"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:27:06.345956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:27:06 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.433770"], ["name", "writer"], ["updated_at", "2014-05-23 14:27:08.433770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user101@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:27:08.435917"], ["email", "user101@example.com"], ["encrypted_password", "$2a$04$ta0XM6ooqSMqF6NOvqoV7OMBQruoC/uXpk6TLjxJuYZfeCOZeY2Vm"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.435917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.461613"], ["title", "Site Title 16"], ["updated_at", "2014-05-23 14:27:08.461613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.466259"], ["name", "writer"], ["updated_at", "2014-05-23 14:27:08.466259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user102@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:27:08.468457"], ["email", "user102@example.com"], ["encrypted_password", "$2a$04$OYdwVY/NK.2VjMM5/f3m1um3qoL4lpvzmQORnPDlwjZ9SUajPi1W2"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.468457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 6ms  (0.6ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.513734"], ["name", "admin"], ["updated_at", "2014-05-23 14:27:08.513734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.515521"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:27:08.515521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:27:08.517102"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.517102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.518262"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:27:08.518262"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:27:08.519595"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.519595"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.520890"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:27:08.520890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:27:08.522183"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.522183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.523280"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:27:08.523280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:27:08.524568"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.524568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user103@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:27:08.526803"], ["email", "user103@example.com"], ["encrypted_password", "$2a$04$sLlD6MX2nMwUwh9GxU87F.V1GxySvG5r5GnVJuECQuCTiE57tZ4Y6"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.526803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:08 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user103@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user103@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:27:08.553013"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:27:08.553013"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:27:08.554385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:27:08 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://www.example.com/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-23 09:27:08 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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" = '47342a' LIMIT 1 SQLite3::SQLException: no such column: storytime_actions.guid: SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Completed 500 Internal Server Error in 6ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.587141"], ["name", "admin"], ["updated_at", "2014-05-23 14:27:08.587141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.589052"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:27:08.589052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:27:08.590808"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.590808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.592062"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:27:08.592062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:27:08.593728"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.593728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.595086"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:27:08.595086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:27:08.596346"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.596346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.597349"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:27:08.597349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:27:08.598980"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.598980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user104@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:27:08.600780"], ["email", "user104@example.com"], ["encrypted_password", "$2a$04$aeTOH6.8sOL2DYhRvAcN3.xndN6ckY4oWbYZUXPx6DsQLKf2TtWda"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.600780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.602436"], ["title", "Site Title 17"], ["updated_at", "2014-05-23 14:27:08.602436"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:08 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user104@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user104@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:27:08.616796"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:27:08.616796"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:27:08.617174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:27:08 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.636046"], ["name", "admin"], ["updated_at", "2014-05-23 14:27:08.636046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.637744"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:27:08.637744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:27:08.639385"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.639385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.640518"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:27:08.640518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:27:08.641714"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.641714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.643066"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:27:08.643066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:27:08.645153"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.645153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.646734"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:27:08.646734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:27:08.648473"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.648473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user105@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:27:08.650530"], ["email", "user105@example.com"], ["encrypted_password", "$2a$04$Bv5onpNVsZfmOQ9e/o6cLOo2D4spRi.vGQtyN6qo/8Z3kLPws02lW"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.650530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.652278"], ["title", "Site Title 18"], ["updated_at", "2014-05-23 14:27:08.652278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:08 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user105@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user105@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:27:08.666558"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:27:08.666558"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:27:08.667000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:27:08 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.685831"], ["name", "admin"], ["updated_at", "2014-05-23 14:27:08.685831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.687444"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:27:08.687444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:27:08.688973"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.688973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.690164"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:27:08.690164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:27:08.691423"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.691423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.692527"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:27:08.692527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:27:08.694445"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.694445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.696164"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:27:08.696164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:27:08.697844"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.697844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user106@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:27:08.699804"], ["email", "user106@example.com"], ["encrypted_password", "$2a$04$qvude0leqk4LIeFA9MgKeejxJPZfpu5fIpctFS6IjCKny0UJfen72"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:08.699804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:08.701558"], ["title", "Site Title 19"], ["updated_at", "2014-05-23 14:27:08.701558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:08 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user106@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user106@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:27:08.806686"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:27:08.806686"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:27:08.807653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:27:08 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:10.877360"], ["name", "admin"], ["updated_at", "2014-05-23 14:27:10.877360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:10.879200"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:27:10.879200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:27:10.880899"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:10.880899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:10.882065"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:27:10.882065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:27:10.884070"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:10.884070"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:10.885463"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:27:10.885463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:27:10.886914"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:10.886914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:10.888137"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:27:10.888137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:27:10.889451"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:10.889451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user107@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:27:10.891163"], ["email", "user107@example.com"], ["encrypted_password", "$2a$04$fL1G/G6I7OlUSeWfngY6EuWvIpN/1actMEhnVyEbwLsW0VtUMlsty"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:10.891163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:10.892630"], ["title", "Site Title 20"], ["updated_at", "2014-05-23 14:27:10.892630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:10 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:10 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user107@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user107@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:27:10.999868"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:27:10.999868"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:27:11.000261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:27:11 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:13.072262"], ["name", "admin"], ["updated_at", "2014-05-23 14:27:13.072262"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:13.073908"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:27:13.073908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:27:13.075519"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:13.075519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:13.076810"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:27:13.076810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:27:13.078400"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:13.078400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:13.079889"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:27:13.079889"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:27:13.081203"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:13.081203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:13.082402"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:27:13.082402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:27:13.083724"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:13.083724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user108@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:27:13.085435"], ["email", "user108@example.com"], ["encrypted_password", "$2a$04$iwKlwHx1u0JfcPiyrP2xZuxUaE3ZSmfbkO9LeSWir1RtiHCUNzPD."], ["role_id", 1], ["updated_at", "2014-05-23 14:27:13.085435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:13.086874"], ["title", "Site Title 21"], ["updated_at", "2014-05-23 14:27:13.086874"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:13 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user108@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user108@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:27:13.193817"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:27:13.193817"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:27:13.194230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:27:13 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:15.272157"], ["name", "admin"], ["updated_at", "2014-05-23 14:27:15.272157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:15.273977"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:27:15.273977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:27:15.275744"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:15.275744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:15.277025"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:27:15.277025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:27:15.278498"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:15.278498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:15.280709"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:27:15.280709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:27:15.282946"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:15.282946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:15.285087"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:27:15.285087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:27:15.287448"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:15.287448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user109@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:27:15.290332"], ["email", "user109@example.com"], ["encrypted_password", "$2a$04$FFjEzmF61hN7T2jb2X3HwObAssgEtXnvOHSnNZJo3MXfnaMXeeh9a"], ["role_id", 1], ["updated_at", "2014-05-23 14:27:15.290332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:27:15.292722"], ["title", "Site Title 22"], ["updated_at", "2014-05-23 14:27:15.292722"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:27:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user109@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user109@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:27:15.403795"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:27:15.403795"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:27:15.404240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60366/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:27:15 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (2.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) 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.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.7ms) 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.7ms) 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.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.9ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")  (1.7ms) CREATE TABLE "storytime_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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.7ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id")  (0.8ms) CREATE TABLE "storytime_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "published" boolean, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_storytime_pages_on_user_id" ON "storytime_pages" ("user_id")  (1.0ms) CREATE TABLE "storytime_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "action_id" integer, "created_at" datetime, "updated_at" datetime)  (1.0ms) 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.2ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published" boolean, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (2.6ms) 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.8ms) CREATE INDEX "index_storytime_sites_on_selected_root_page_id" ON "storytime_sites" ("selected_root_page_id")  (1.9ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)   (1.0ms) 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'   (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)   (1.1ms) CREATE TABLE "storytime_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, "role_id" integer)  (1.5ms) CREATE UNIQUE INDEX "index_storytime_users_on_email" ON "storytime_users" ("email")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'  (1.1ms) CREATE UNIQUE INDEX "index_storytime_users_on_reset_password_token" ON "storytime_users" ("reset_password_token")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_users_on_email' AND type='index'   (1.1ms) CREATE INDEX "index_storytime_users_on_role_id" ON "storytime_users" ("role_id")  (1.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)   (1.2ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (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'   (1.7ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id")  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522182042')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140501171949')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140501174341')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140509150223')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140509191309')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511200849')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513161233')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513162745')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514200234')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514200304')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516141252')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521152221')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521190606')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191048')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191728')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191744') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:03.360129"], ["name", "admin"], ["updated_at", "2014-05-23 14:31:03.360129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:03.369163"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:31:03.369163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:31:03.388923"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:03.388923"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:03.395111"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:31:03.395111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:31:03.399210"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:03.399210"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:03.402484"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:31:03.402484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:31:03.404435"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:03.404435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:03.405625"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:31:03.405625"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:31:03.406911"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:03.406911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:03.421567"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$qxCsHxfA7J6uELCYXL9KsekVQ7f34BapHcvyOb8vg4x2QIdSEdx1m"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:03.421567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:03.430424"], ["title", "Site Title 1"], ["updated_at", "2014-05-23 14:31:03.430424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:06 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (19.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 182ms (Views: 168.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-23 09:31:06 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-23 09:31:06 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:06.751304"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:06.751304"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:06.752455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60451/ Completed 302 Found in 20ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:06 -0500  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:08.827840"], ["name", "admin"], ["updated_at", "2014-05-23 14:31:08.827840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:08.829582"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:31:08.829582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:31:08.831130"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:08.831130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:08.832283"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:31:08.832283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:31:08.834918"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:08.834918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:08.837125"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:31:08.837125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:31:08.839219"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:08.839219"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:08.841045"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:31:08.841045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:31:08.843041"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:08.843041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:08.845819"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$78LlVCIGnAvROnMWK93lM.WYo0kcftQ7vycpOKy5QHntDDYs/RC5m"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:08.845819"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:08.848119"], ["title", "Site Title 2"], ["updated_at", "2014-05-23 14:31:08.848119"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:08 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:08.954337"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:08.954337"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:08.954759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60451/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:08 -0500  (2.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:11.052543"], ["name", "admin"], ["updated_at", "2014-05-23 14:31:11.052543"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:11.056345"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:31:11.056345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:31:11.059055"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:11.059055"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:11.061206"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:31:11.061206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:31:11.063712"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:11.063712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:11.067071"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:31:11.067071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:31:11.071452"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:11.071452"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:11.075322"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:31:11.075322"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:31:11.078346"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:11.078346"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:11.082299"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$L2bb9RND0lNu6CVLSUlbO.DYr8FK7Qe.9vqskhy9w7Lc3BcwniBRq"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:11.082299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:11.084110"], ["title", "Site Title 3"], ["updated_at", "2014-05-23 14:31:11.084110"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:11 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:11.261680"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:11.261680"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:11.262141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60451/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:11 -0500  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:13.337227"], ["name", "admin"], ["updated_at", "2014-05-23 14:31:13.337227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:13.338773"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:31:13.338773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:31:13.340305"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:13.340305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:13.341461"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:31:13.341461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:31:13.343328"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:13.343328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:13.344809"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:31:13.344809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:31:13.346049"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:13.346049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:13.347204"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:31:13.347204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:31:13.348461"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:13.348461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:13.350066"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$IX5c83D/sQIm5qquCoOqV.C8iTAtj/zvYLh2cpYGd3nBRuy9XzPre"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:13.350066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:13.351423"], ["title", "Site Title 4"], ["updated_at", "2014-05-23 14:31:13.351423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:13 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:13.461012"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:13.461012"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:13.461414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60451/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:13 -0500  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:15.523759"], ["name", "admin"], ["updated_at", "2014-05-23 14:31:15.523759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:15.526068"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:31:15.526068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:31:15.528466"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:15.528466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:15.529811"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:31:15.529811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:31:15.531444"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:15.531444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:15.533334"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:31:15.533334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:31:15.534781"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:15.534781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:15.536398"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:31:15.536398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:31:15.537676"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:15.537676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:15.539278"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$zj7vInseVzN06cYxUfID0edKYR8XzeQyI.QhhrcX5Wgao3Bft/AL."], ["role_id", 1], ["updated_at", "2014-05-23 14:31:15.539278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:15.540623"], ["title", "Site Title 5"], ["updated_at", "2014-05-23 14:31:15.540623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:15.649228"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:15.649228"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:15.649677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60451/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:15 -0500  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:17.706684"], ["name", "admin"], ["updated_at", "2014-05-23 14:31:17.706684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:17.708427"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:31:17.708427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:31:17.710004"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:17.710004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:17.711214"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:31:17.711214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:31:17.712571"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:17.712571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:17.714196"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:31:17.714196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:31:17.715732"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:17.715732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:17.716803"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:31:17.716803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:31:17.718112"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:17.718112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:17.719695"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$waJrXC60QJzdIz5HuhnJvuQDPCnrJZSjawzmpIywQufiKshHa3bay"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:17.719695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:17.721002"], ["title", "Site Title 6"], ["updated_at", "2014-05-23 14:31:17.721002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:17.824835"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:17.824835"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:17.825253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60451/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:17 -0500  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:19.887059"], ["name", "admin"], ["updated_at", "2014-05-23 14:31:19.887059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:19.888924"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:31:19.888924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:31:19.890632"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:19.890632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:19.891924"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:31:19.891924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:31:19.893502"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:19.893502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:19.894844"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:31:19.894844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:31:19.896013"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:19.896013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:19.897095"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:31:19.897095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:31:19.898467"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:19.898467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:19.900282"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$Isg1OWVtO7.HfmQMNY.vSufPCnRqCzhRzJHyrh6xmBn2RsOb1Indy"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:19.900282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:19.901892"], ["title", "Site Title 7"], ["updated_at", "2014-05-23 14:31:19.901892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:20.008767"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:20.008767"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:20.009207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60451/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:20 -0500  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:22.063146"], ["title", "Site Title 8"], ["updated_at", "2014-05-23 14:31:22.063146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:22.066716"], ["name", "writer"], ["updated_at", "2014-05-23 14:31:22.066716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:22.068763"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$CsyJKDHKC0FmotGMQdvI8ePynsVSR4Az6u899Ft5Jun7s21FLiEHe"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:22.068763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:22 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:22.181815"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:22.181815"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:22.182352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60451/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:22 -0500  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:24.268017"], ["title", "Site Title 9"], ["updated_at", "2014-05-23 14:31:24.268017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:24.271651"], ["name", "writer"], ["updated_at", "2014-05-23 14:31:24.271651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:24.273727"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$s2yyW0L254v2EG9hGMdoLOjnSQWvpVUZ8ZSLqeBPMztpNJHy1JgoO"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:24.273727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:24 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:24.384504"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:24.384504"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:24.384952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60451/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:24 -0500  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:26.447060"], ["title", "Site Title 10"], ["updated_at", "2014-05-23 14:31:26.447060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:26.450460"], ["name", "writer"], ["updated_at", "2014-05-23 14:31:26.450460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:26.452475"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$7/B7aTi/LjjoVMVLzhhnHeiRWbt2noAuVZG5bio/UJMxbTro/Z5PG"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:26.452475"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:26.559374"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:26.559374"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:26.559758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60451/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:26 -0500  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:28.620150"], ["title", "Site Title 11"], ["updated_at", "2014-05-23 14:31:28.620150"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:28.623491"], ["name", "writer"], ["updated_at", "2014-05-23 14:31:28.623491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:28.625506"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$sTNP.k9XWDmNeI7sakciuOEt037TY4/YFSGqonAjy3IJWMw4iNkpS"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:28.625506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:28 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:28.736271"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:28.736271"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:28.736737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60451/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:28 -0500  (2.0ms) rollback transaction Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:34.456663"], ["title", "Site Title 1"], ["updated_at", "2014-05-23 14:31:34.456663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:34.481256"], ["name", "writer"], ["updated_at", "2014-05-23 14:31:34.481256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:34.502314"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$igWc4GtS.f201wmP6NODnO33mwHyfpG7YRy3AWdqFso6HGDLTy0Da"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:34.502314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (23.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 182ms (Views: 168.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-23 09:31:36 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-23 09:31:36 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:37.067832"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:37.067832"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:37.068933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60475/ Completed 302 Found in 17ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:37 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:39.150339"], ["title", "Site Title 2"], ["updated_at", "2014-05-23 14:31:39.150339"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:39.155094"], ["name", "writer"], ["updated_at", "2014-05-23 14:31:39.155094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:39.158375"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$5wIuJvqnXn09MmuJF654KeoTETU.ALe17/MvHcuYY/91D/RDq2Bw."], ["role_id", 1], ["updated_at", "2014-05-23 14:31:39.158375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:39.325428"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:39.325428"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:39.326085"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60475/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:39 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:41.425576"], ["title", "Site Title 3"], ["updated_at", "2014-05-23 14:31:41.425576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:41.428849"], ["name", "writer"], ["updated_at", "2014-05-23 14:31:41.428849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:41.431442"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$KvS485SjDrw0zAzTbSd6/usqs0x1QbuUuWSxjfGKhNEtqTZGb4en."], ["role_id", 1], ["updated_at", "2014-05-23 14:31:41.431442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:41 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:41.593054"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:41.593054"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:41.593730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60475/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:41 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 2ms  (2.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:43.662855"], ["title", "Site Title 4"], ["updated_at", "2014-05-23 14:31:43.662855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:43.666330"], ["name", "writer"], ["updated_at", "2014-05-23 14:31:43.666330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:43.668446"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$6dY97xYHOI2atrEc1Q9ELeorCe9SaTLJEPOe8g4hFD6xwv.ScnMkK"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:43.668446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:43 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:43.780870"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:43.780870"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:43.781326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60475/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:43 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:45.848599"], ["name", "admin"], ["updated_at", "2014-05-23 14:31:45.848599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:45.852795"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:31:45.852795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:31:45.859603"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:45.859603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:45.864524"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:31:45.864524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:31:45.866071"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:45.866071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:45.867202"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:31:45.867202"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:31:45.868733"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:45.868733"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:45.870991"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:31:45.870991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:31:45.872811"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:45.872811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:45.874804"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$ygCTnB0q9D5.tw7n/foGb.djGk3jlnQm4TdLS2KlXhtfscHqIlntK"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:45.874804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:45.876490"], ["title", "Site Title 5"], ["updated_at", "2014-05-23 14:31:45.876490"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:45 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:45 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:45.984655"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:45.984655"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:45.985052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60475/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:45 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:48.051113"], ["name", "admin"], ["updated_at", "2014-05-23 14:31:48.051113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:48.053099"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:31:48.053099"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:31:48.054690"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:48.054690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:48.056425"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:31:48.056425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:31:48.057906"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:48.057906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:48.059450"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:31:48.059450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:31:48.061122"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:48.061122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:48.062295"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:31:48.062295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:31:48.063643"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:48.063643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:48.066318"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$bBJBNMASbrxdVUKts457huMv1k3ilBiAf7vDTPYkc0CBKUpY9bcfK"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:48.066318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:48.067903"], ["title", "Site Title 6"], ["updated_at", "2014-05-23 14:31:48.067903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:48 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:48.179569"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:48.179569"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:48.180023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60475/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:48 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:50.251439"], ["name", "admin"], ["updated_at", "2014-05-23 14:31:50.251439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:50.253066"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:31:50.253066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:31:50.254615"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:50.254615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:50.255709"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:31:50.255709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:31:50.256864"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:50.256864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:50.258818"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:31:50.258818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:31:50.260231"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:50.260231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:50.261307"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:31:50.261307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:31:50.262418"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:50.262418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:50.264023"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$x.xexV5bmwPC5iD5gB4TCeRDsrW.8huSXqMvVhlZ0hBu07y9HnjVG"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:50.264023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:50.265374"], ["title", "Site Title 7"], ["updated_at", "2014-05-23 14:31:50.265374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:50 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:50 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:50.385017"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:50.385017"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:50.385786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60475/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:50 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:52.452023"], ["name", "admin"], ["updated_at", "2014-05-23 14:31:52.452023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:52.454141"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:31:52.454141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:31:52.456158"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:52.456158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:52.457896"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:31:52.457896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:31:52.460541"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:52.460541"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:52.462196"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:31:52.462196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:31:52.517690"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:52.517690"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:52.519172"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:31:52.519172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:31:52.520538"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:52.520538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:52.523073"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$w8.m9f6yyYeJ5FLR95M4ZespjZAG1r8R4o.CKq5pOrTVF85.llN0."], ["role_id", 1], ["updated_at", "2014-05-23 14:31:52.523073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:52.526272"], ["title", "Site Title 8"], ["updated_at", "2014-05-23 14:31:52.526272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:52 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:52 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:52.645637"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:52.645637"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:52.646048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60475/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:52 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:54.710456"], ["name", "admin"], ["updated_at", "2014-05-23 14:31:54.710456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:54.712158"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:31:54.712158"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:31:54.713766"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:54.713766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:54.715318"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:31:54.715318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:31:54.718982"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:54.718982"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:54.720778"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:31:54.720778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:31:54.722332"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:54.722332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:54.723993"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:31:54.723993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:31:54.726250"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:54.726250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:54.729032"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$pfuRwJQK6vzLQTjGbxon/e9JnfWmRa.qGZnoCxTbufD6aBovEBq7a"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:54.729032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:54.731948"], ["title", "Site Title 9"], ["updated_at", "2014-05-23 14:31:54.731948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:54 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:54.858987"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:54.858987"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:54.859363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60475/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:54 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:56.937294"], ["name", "admin"], ["updated_at", "2014-05-23 14:31:56.937294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:56.939139"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:31:56.939139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:31:56.940824"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:56.940824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:56.942690"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:31:56.942690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:31:56.944658"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:56.944658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:56.946350"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:31:56.946350"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:31:56.948057"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:56.948057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:56.949464"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:31:56.949464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:31:56.951224"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:56.951224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:56.953713"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$CC39mbdNOFzhh6YAq3mknuJn7QFi3Eyadp65C80hrzWjm.DWBSwoG"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:56.953713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:56.955452"], ["title", "Site Title 10"], ["updated_at", "2014-05-23 14:31:56.955452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:56 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:57 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:57.064068"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:57.064068"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:57.064522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60475/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:57 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:59.134935"], ["name", "admin"], ["updated_at", "2014-05-23 14:31:59.134935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:59.136577"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:31:59.136577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:31:59.138109"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:59.138109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:59.139235"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:31:59.139235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:31:59.141594"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:59.141594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:59.143216"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:31:59.143216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:31:59.144632"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:59.144632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:59.145774"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:31:59.145774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:31:59.146950"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:59.146950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:31:59.148621"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$TCic5SduBhS3Pqo6lB6aiOpxdS4t5Z.AYKeWLf9Mfv54uKfZ5eFIm"], ["role_id", 1], ["updated_at", "2014-05-23 14:31:59.148621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:31:59.150149"], ["title", "Site Title 11"], ["updated_at", "2014-05-23 14:31:59.150149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:59 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:31:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:31:59.262518"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:31:59.262518"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:31:59.262951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60475/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:31:59 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.0ms) rollback transaction Storytime::Site Load (0.6ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:09.775114"], ["name", "admin"], ["updated_at", "2014-05-23 14:39:09.775114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:09.784956"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:39:09.784956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:39:09.801246"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:09.801246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:09.806167"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:39:09.806167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:39:09.807687"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:09.807687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:09.808770"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:39:09.808770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:39:09.810004"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:09.810004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:09.811072"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:39:09.811072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:39:09.812363"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:09.812363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.5ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:09.827585"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$.AmoLwD9uZ3bcFcE/EU/L.z1Ea/s5Gjrwc0E2eFLBDl/u5.z6wU8W"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:09.827585"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:09.837220"], ["title", "Site Title 1"], ["updated_at", "2014-05-23 14:39:09.837220"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:12 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (34.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 259ms (Views: 238.6ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-23 09:39:12 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-23 09:39:12 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:12 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:39:12.991792"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:39:12.991792"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:39:12.993017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60590/ Completed 302 Found in 21ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:39:13 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:15.079040"], ["name", "admin"], ["updated_at", "2014-05-23 14:39:15.079040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:15.081772"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:39:15.081772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:39:15.083860"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:15.083860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:15.085837"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:39:15.085837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:39:15.087319"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:15.087319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:15.088392"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:39:15.088392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:39:15.089593"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:15.089593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:15.090620"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:39:15.090620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:39:15.091851"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:15.091851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:15.093586"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$g/ITl53fTLUVkIUCXStpG.KYQYgclAtuaJz1WbWpqZgR/3LoWbVpG"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:15.093586"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:15.095559"], ["title", "Site Title 2"], ["updated_at", "2014-05-23 14:39:15.095559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:39:15.214095"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:39:15.214095"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:39:15.214619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60590/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:39:15 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:17.260419"], ["name", "admin"], ["updated_at", "2014-05-23 14:39:17.260419"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:17.262042"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:39:17.262042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:39:17.263616"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:17.263616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:17.264724"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:39:17.264724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:39:17.265896"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:17.265896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:17.268095"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:39:17.268095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:39:17.270785"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:17.270785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:17.272601"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:39:17.272601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:39:17.274417"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:17.274417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:17.276833"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$qpe5UyVVN5Y6e9g0M5fv9ejhwPzI0jnjr/J.K5sIhLI7xhfLtrmze"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:17.276833"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:17.279366"], ["title", "Site Title 3"], ["updated_at", "2014-05-23 14:39:17.279366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:39:17.407457"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:39:17.407457"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:39:17.407890"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60590/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:39:17 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:19.473952"], ["title", "Site Title 4"], ["updated_at", "2014-05-23 14:39:19.473952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:19.477952"], ["name", "writer"], ["updated_at", "2014-05-23 14:39:19.477952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:19.481120"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$sxuWGIAauPFBc0toPt/jo.ExA08MWvCcKlnqAxsSOzWicZqK0cGT."], ["role_id", 1], ["updated_at", "2014-05-23 14:39:19.481120"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:39:19.587646"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:39:19.587646"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:39:19.588051"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60590/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:39:19 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:21.659662"], ["title", "Site Title 5"], ["updated_at", "2014-05-23 14:39:21.659662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:21.662885"], ["name", "writer"], ["updated_at", "2014-05-23 14:39:21.662885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:21.664894"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$NHp.w3wC.DT0k1yGq8QSM./VLLkDB5DVVBNEqOWnQmtH0eHylbDA6"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:21.664894"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:21 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:39:21.770949"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:39:21.770949"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:39:21.771340"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60590/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:39:21 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:23.839213"], ["title", "Site Title 6"], ["updated_at", "2014-05-23 14:39:23.839213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:23.842291"], ["name", "writer"], ["updated_at", "2014-05-23 14:39:23.842291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:23.844139"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$JbG6lG3NpOdbSkmBNzjLnO4HEhOhNNwQcNm1splzGroNT5sss3mpe"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:23.844139"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:39:23.955026"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:39:23.955026"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:39:23.955569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60590/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:39:23 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:26.020509"], ["title", "Site Title 7"], ["updated_at", "2014-05-23 14:39:26.020509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:26.024090"], ["name", "writer"], ["updated_at", "2014-05-23 14:39:26.024090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:26.026254"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$gUOFOjZZSR7eMkyRlTnn8e9j1Ee/yHWJefKHND6VXvLzwACVU9FcC"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:26.026254"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:39:26.139147"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:39:26.139147"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:39:26.139599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60590/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:39:26 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:28.179958"], ["name", "admin"], ["updated_at", "2014-05-23 14:39:28.179958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:28.181983"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:39:28.181983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:39:28.183760"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:28.183760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:28.185569"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:39:28.185569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:39:28.187069"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:28.187069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:28.188157"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:39:28.188157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:39:28.191085"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:28.191085"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:28.192626"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:39:28.192626"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:39:28.194208"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:28.194208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:28.196035"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$DND9UsV/btUslK0njpcrKeNJa0Jw.uxXcRpTAM3ceWZja.k4Sbl.a"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:28.196035"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:28.197928"], ["title", "Site Title 8"], ["updated_at", "2014-05-23 14:39:28.197928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:28 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:39:28.313259"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:39:28.313259"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:39:28.313690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60590/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:39:28 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:30.444311"], ["name", "admin"], ["updated_at", "2014-05-23 14:39:30.444311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:30.446137"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:39:30.446137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:39:30.447670"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:30.447670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:30.448804"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:39:30.448804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:39:30.450632"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:30.450632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:30.452722"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:39:30.452722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:39:30.454627"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:30.454627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:30.456401"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:39:30.456401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:39:30.457979"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:30.457979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:30.459767"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$0bMX4RSnWw.excuHh8F/P.8pRNp/GXJrHKmc.keBs28.qDN6p22l6"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:30.459767"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:30.461785"], ["title", "Site Title 9"], ["updated_at", "2014-05-23 14:39:30.461785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:39:30.570181"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:39:30.570181"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:39:30.570620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60590/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:39:30 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:32.640444"], ["name", "admin"], ["updated_at", "2014-05-23 14:39:32.640444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:32.642041"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:39:32.642041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:39:32.643542"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:32.643542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:32.644683"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:39:32.644683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:39:32.647136"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:32.647136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:32.649055"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:39:32.649055"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:39:32.651357"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:32.651357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:32.653220"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:39:32.653220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:39:32.654793"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:32.654793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:32.656636"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$1rf/blifjd8eQn2Z44X2Xe4jX6QTIy98QJq22FeE6DQANOWKX3ag6"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:32.656636"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:32.658575"], ["title", "Site Title 10"], ["updated_at", "2014-05-23 14:39:32.658575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:39:32.771580"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:39:32.771580"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:39:32.771986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60590/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:39:32 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:34.842172"], ["name", "admin"], ["updated_at", "2014-05-23 14:39:34.842172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:34.844121"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:39:34.844121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:39:34.846065"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:34.846065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:34.847279"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:39:34.847279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:39:34.849124"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:34.849124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:34.850627"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:39:34.850627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:39:34.852118"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:34.852118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:34.853241"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:39:34.853241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:39:34.854409"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:34.854409"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:34.856666"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$bXaumGV3/Jm/.MXdq6K9jeANqA47vAYG9dYWK1zwfuj7lsukTi6s2"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:34.856666"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:34.859139"], ["title", "Site Title 11"], ["updated_at", "2014-05-23 14:39:34.859139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:39:34.978003"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:39:34.978003"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:39:34.978465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60590/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:39:34 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction Storytime::Site Load (0.5ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.174699"], ["title", "Site Title 1"], ["updated_at", "2014-05-23 14:39:53.174699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.196738"], ["name", "writer"], ["updated_at", "2014-05-23 14:39:53.196738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.5ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:53.220330"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$//gDI1IkC4mJ3.bnzkOUBeM5TzQSptOoMY1aZuXkfOH0A9orxgoVq"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.220330"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.229650"], ["title", "Site Title 2"], ["updated_at", "2014-05-23 14:39:53.229650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.233361"], ["name", "writer"], ["updated_at", "2014-05-23 14:39:53.233361"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:53.236124"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$TNTZfE/4VzTmaw/4Pm/iKudst/gQDPEQKWTB4bw2ppK8V5erdXj3q"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.236124"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.241080"], ["title", "Site Title 3"], ["updated_at", "2014-05-23 14:39:53.241080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.244482"], ["name", "writer"], ["updated_at", "2014-05-23 14:39:53.244482"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:53.246973"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$Ghv/1CudXRN8Rpa3ABOT9OIOarDZa18yIfg3w2/7ZmUkfJRwg4LuS"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.246973"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.251810"], ["title", "Site Title 4"], ["updated_at", "2014-05-23 14:39:53.251810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.255733"], ["name", "writer"], ["updated_at", "2014-05-23 14:39:53.255733"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:53.258073"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$.L6ha.l3MNlxw97wFvaDmepinf/0agmZzhEFObTpZ1NEJguP5/eq6"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.258073"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.264339"], ["name", "admin"], ["updated_at", "2014-05-23 14:39:53.264339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.269688"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:39:53.269688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:39:53.277009"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.277009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.281878"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:39:53.281878"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:39:53.283602"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.283602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.284825"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:39:53.284825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:39:53.286087"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.286087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.287214"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:39:53.287214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:39:53.288435"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.288435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:53.290189"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$YUYmyjXaZby/5CejbV8MDOAyfeqbXrm/p9H2QxU.HhKewllSN5NE6"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.290189"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user5@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 14:39:53.290189"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$YUYmyjXaZby/5CejbV8MDOAyfeqbXrm/p9H2QxU.HhKewllSN5NE6"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.290189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.306431"], ["title", "Site Title 5"], ["updated_at", "2014-05-23 14:39:53.306431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:53 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (21.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 238ms (Views: 215.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:39:53.588832"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:39:53.588832"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:39:53.590463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:39:53 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 2ms  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.613694"], ["name", "admin"], ["updated_at", "2014-05-23 14:39:53.613694"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.615576"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:39:53.615576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:39:53.617418"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.617418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.618839"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:39:53.618839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:39:53.620829"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.620829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.622015"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:39:53.622015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:39:53.623273"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.623273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.624569"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:39:53.624569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:39:53.625749"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.625749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:53.627381"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$Jw9WefxKuYwOXHvtUFg0VuYYAtZJb8qRHqIQP.WSR9PwlemlUB/3G"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.627381"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user6@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 14:39:53.627381"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$Jw9WefxKuYwOXHvtUFg0VuYYAtZJb8qRHqIQP.WSR9PwlemlUB/3G"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 14:39:53.627381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:53.632148"], ["title", "Site Title 6"], ["updated_at", "2014-05-23 14:39:53.632148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:55 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-23 09:39:55 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-23 09:39:55 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:56 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:39:56.091655"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:39:56.091655"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:39:56.092723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60613/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:39:56 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:58.151365"], ["name", "admin"], ["updated_at", "2014-05-23 14:39:58.151365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:58.153062"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:39:58.153062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:39:58.154695"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:58.154695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:58.155945"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:39:58.155945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:39:58.158286"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:58.158286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:58.159795"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:39:58.159795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:39:58.162144"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:58.162144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:58.164305"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:39:58.164305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:39:58.166104"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:58.166104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:39:58.168293"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$9y9iurQJqGswYDXrOJMG7eatAEvYJSgchzHKecw9HgI2DG056RXQy"], ["role_id", 1], ["updated_at", "2014-05-23 14:39:58.168293"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user7@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 14:39:58.168293"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$9y9iurQJqGswYDXrOJMG7eatAEvYJSgchzHKecw9HgI2DG056RXQy"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 14:39:58.168293"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:39:58.175007"], ["title", "Site Title 7"], ["updated_at", "2014-05-23 14:39:58.175007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:58 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:39:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:39:58.291860"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:39:58.291860"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:39:58.292280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60613/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:39:58 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:00.355192"], ["name", "admin"], ["updated_at", "2014-05-23 14:40:00.355192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:00.357815"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:40:00.357815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:40:00.361244"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:00.361244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:00.363431"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:40:00.363431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:40:00.365586"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:00.365586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:00.367825"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:40:00.367825"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:40:00.369483"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:00.369483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:00.370635"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:40:00.370635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:40:00.372079"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:00.372079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:40:00.374646"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$ps71MutTdwM4EEbEXw39QOI3coKQKfKOlB90J8YCMpOiBLa0gfuXK"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:00.374646"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user8@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 14:40:00.374646"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$ps71MutTdwM4EEbEXw39QOI3coKQKfKOlB90J8YCMpOiBLa0gfuXK"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 14:40:00.374646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:00.380574"], ["title", "Site Title 8"], ["updated_at", "2014-05-23 14:40:00.380574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:40:00 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:40:00 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:40:00.511201"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:40:00.511201"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:40:00.511952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60613/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:40:00 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:02.562454"], ["name", "admin"], ["updated_at", "2014-05-23 14:40:02.562454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:02.565184"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:40:02.565184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:40:02.567460"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:02.567460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:02.569581"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:40:02.569581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:40:02.571054"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:02.571054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:02.572132"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:40:02.572132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:40:02.573232"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:02.573232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:02.574195"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:40:02.574195"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:40:02.575914"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:02.575914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:40:02.577789"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$vLfO1smbLgLPIYYDEQRKluOwAs5jBIiomMgY9J6BiIb1C1Wu.xwY2"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:02.577789"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user9@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 14:40:02.577789"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$vLfO1smbLgLPIYYDEQRKluOwAs5jBIiomMgY9J6BiIb1C1Wu.xwY2"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 14:40:02.577789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:02.582743"], ["title", "Site Title 9"], ["updated_at", "2014-05-23 14:40:02.582743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:40:02 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:40:02 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:40:02.696593"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:40:02.696593"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:40:02.697066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60613/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:40:02 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:04.760372"], ["name", "admin"], ["updated_at", "2014-05-23 14:40:04.760372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:04.761973"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:40:04.761973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:40:04.763899"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:04.763899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:04.765523"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:40:04.765523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:40:04.767536"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:04.767536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:04.769058"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:40:04.769058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:40:04.770503"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:04.770503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:04.771974"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:40:04.771974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:40:04.773430"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:04.773430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [35m (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:40:04.775246"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$Dsi1UqAlPJZoYD0TFlkHge71YxapQBhPTsVRu.oJxOP7g7dMhQWra"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:04.775246"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user10@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 14:40:04.775246"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$Dsi1UqAlPJZoYD0TFlkHge71YxapQBhPTsVRu.oJxOP7g7dMhQWra"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 14:40:04.775246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:04.779219"], ["title", "Site Title 10"], ["updated_at", "2014-05-23 14:40:04.779219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:40:04 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:40:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:40:04.894672"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:40:04.894672"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:40:04.895083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60613/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:40:04 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:06.963445"], ["name", "admin"], ["updated_at", "2014-05-23 14:40:06.963445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:06.965125"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:40:06.965125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:40:06.966662"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:06.966662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:06.967916"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:40:06.967916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:40:06.970616"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:06.970616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:06.972077"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:40:06.972077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:40:06.973380"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:06.973380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:06.974511"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:40:06.974511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:40:06.975697"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:06.975697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:40:06.977615"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$.mZ9kHe24fYmc57z6XVROekIMehwKnweQ6E4swZFZdX3bUTNEL6Cq"], ["role_id", 1], ["updated_at", "2014-05-23 14:40:06.977615"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user11@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 14:40:06.977615"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$.mZ9kHe24fYmc57z6XVROekIMehwKnweQ6E4swZFZdX3bUTNEL6Cq"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 14:40:06.977615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:40:06.981751"], ["title", "Site Title 11"], ["updated_at", "2014-05-23 14:40:06.981751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:40:06 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:40:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:40:07.097837"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:40:07.097837"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:40:07.098602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60613/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:40:07 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.6ms) rollback transaction Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.060596"], ["title", "Site Title 1"], ["updated_at", "2014-05-23 14:48:15.060596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.078117"], ["name", "writer"], ["updated_at", "2014-05-23 14:48:15.078117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:48:15.093821"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$iTAmZEoJK2ZneXA4C9.rIuH9v3.G6ZW.DnbBxEzQgYZgM1YUx2LbW"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.093821"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.102946"], ["title", "Site Title 2"], ["updated_at", "2014-05-23 14:48:15.102946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.106130"], ["name", "writer"], ["updated_at", "2014-05-23 14:48:15.106130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:48:15.108055"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$/5XecCfdA1EjRL3ompGBze52K5pRW1ihn6Do4ismlylcvRO9QqhT."], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.108055"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.112186"], ["title", "Site Title 3"], ["updated_at", "2014-05-23 14:48:15.112186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.115235"], ["name", "writer"], ["updated_at", "2014-05-23 14:48:15.115235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:48:15.117086"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$6zaCGZ422XW7qdAiwhYQsOR.2SLtQ2mPOeEPCDdBxgI2paVHkZteS"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.117086"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.121194"], ["title", "Site Title 4"], ["updated_at", "2014-05-23 14:48:15.121194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.125320"], ["name", "writer"], ["updated_at", "2014-05-23 14:48:15.125320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:48:15.127667"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$lKfiQbO38M0/Zf6qYfP7Werh7BJuUGCzo9///Wt85OVF7jKUruXXS"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.127667"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.134391"], ["name", "admin"], ["updated_at", "2014-05-23 14:48:15.134391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.139755"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:48:15.139755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:48:15.147419"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.147419"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.151992"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:48:15.151992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:48:15.153469"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.153469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.154528"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:48:15.154528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:48:15.155647"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.155647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.156704"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:48:15.156704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:48:15.157982"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.157982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:48:15.159755"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$qNA67dW4ef2vTI3Pm63ujerGtEiCe6fvBgP28iQZVurZKP0vKdfaW"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.159755"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user5@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 14:48:15.159755"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$qNA67dW4ef2vTI3Pm63ujerGtEiCe6fvBgP28iQZVurZKP0vKdfaW"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.159755"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.178563"], ["title", "Site Title 5"], ["updated_at", "2014-05-23 14:48:15.178563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:48:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (23.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 229ms (Views: 216.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:48:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:48:15.451837"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:48:15.451837"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:48:15.453100"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:48:15 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.474787"], ["name", "admin"], ["updated_at", "2014-05-23 14:48:15.474787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.476441"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:48:15.476441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:48:15.477953"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.477953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.479038"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:48:15.479038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:48:15.480178"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.480178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.482064"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:48:15.482064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:48:15.483823"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.483823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.485299"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:48:15.485299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:48:15.486658"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.486658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:48:15.488576"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$nwIOuQnNgJ9YiCoXyM7Xi.d7fpWd9Ip9nfAu36n9ETMpa5mydD262"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.488576"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user6@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 14:48:15.488576"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$nwIOuQnNgJ9YiCoXyM7Xi.d7fpWd9Ip9nfAu36n9ETMpa5mydD262"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 14:48:15.488576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:15.492903"], ["title", "Site Title 6"], ["updated_at", "2014-05-23 14:48:15.492903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:48:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-23 09:48:18 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-23 09:48:18 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:48:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:48:18.219162"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:48:18.219162"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:48:18.220333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60668/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:48:18 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:20.280722"], ["name", "admin"], ["updated_at", "2014-05-23 14:48:20.280722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:20.282335"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:48:20.282335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:48:20.284070"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:20.284070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:20.285422"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:48:20.285422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:48:20.287512"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:20.287512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:20.288875"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:48:20.288875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:48:20.290170"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:20.290170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:20.291221"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:48:20.291221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:48:20.292480"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:20.292480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:48:20.294209"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$qVTb0KX1XMMCPGr/OSO4Wus4xqalnoX8/3CPJTbQ.Wu0/vucLieWa"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:20.294209"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user7@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 14:48:20.294209"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$qVTb0KX1XMMCPGr/OSO4Wus4xqalnoX8/3CPJTbQ.Wu0/vucLieWa"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 14:48:20.294209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:20.298219"], ["title", "Site Title 7"], ["updated_at", "2014-05-23 14:48:20.298219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:48:20 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:48:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:48:20.412670"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:48:20.412670"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:48:20.413094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60668/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:48:20 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:22.480435"], ["name", "admin"], ["updated_at", "2014-05-23 14:48:22.480435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:22.481972"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:48:22.481972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:48:22.483524"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:22.483524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:22.484717"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:48:22.484717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:48:22.486283"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:22.486283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:22.487493"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:48:22.487493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:48:22.488616"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:22.488616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:22.489566"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:48:22.489566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:48:22.490639"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:22.490639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:48:22.492182"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$CndgJj1s3enu8A2I7Q9oWu4bd5MK3MylA65.i62Rq12falRUqoA5C"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:22.492182"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user8@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 14:48:22.492182"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$CndgJj1s3enu8A2I7Q9oWu4bd5MK3MylA65.i62Rq12falRUqoA5C"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 14:48:22.492182"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:22.496184"], ["title", "Site Title 8"], ["updated_at", "2014-05-23 14:48:22.496184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:48:22 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:48:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:48:22.618967"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:48:22.618967"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:48:22.619456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60668/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:48:22 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:24.684767"], ["name", "admin"], ["updated_at", "2014-05-23 14:48:24.684767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:24.686325"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:48:24.686325"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:48:24.687846"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:24.687846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:24.689067"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:48:24.689067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:48:24.690322"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:24.690322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:24.691350"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:48:24.691350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:48:24.693440"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:24.693440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:24.695210"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:48:24.695210"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:48:24.697110"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:24.697110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:48:24.699272"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$I4l.4gvZ53QpNrQlasxGO.Dtq8G/vOln6Zp.DdOGVcZckSTQmq/QW"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:24.699272"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user9@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 14:48:24.699272"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$I4l.4gvZ53QpNrQlasxGO.Dtq8G/vOln6Zp.DdOGVcZckSTQmq/QW"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 14:48:24.699272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:24.703738"], ["title", "Site Title 9"], ["updated_at", "2014-05-23 14:48:24.703738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:48:24 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:48:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:48:24.863899"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:48:24.863899"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:48:24.864548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60668/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:48:24 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 2ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:26.942607"], ["name", "admin"], ["updated_at", "2014-05-23 14:48:26.942607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:26.944177"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:48:26.944177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:48:26.945694"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:26.945694"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:26.946936"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:48:26.946936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:48:26.948210"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:26.948210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:26.949344"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:48:26.949344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:48:26.951175"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:26.951175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:26.952374"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:48:26.952374"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:48:26.953700"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:26.953700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:48:26.955363"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$NCQz7W8MizQMtsyfUKprkuQTr7DEVUyPQctANFAexYg/gGlqcUkDO"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:26.955363"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user10@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 14:48:26.955363"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$NCQz7W8MizQMtsyfUKprkuQTr7DEVUyPQctANFAexYg/gGlqcUkDO"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 14:48:26.955363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:26.959543"], ["title", "Site Title 10"], ["updated_at", "2014-05-23 14:48:26.959543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:48:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:48:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:48:27.073029"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:48:27.073029"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:48:27.073766"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60668/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:48:27 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:29.148421"], ["name", "admin"], ["updated_at", "2014-05-23 14:48:29.148421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:29.150012"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 14:48:29.150012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 14:48:29.151628"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:29.151628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:29.152978"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 14:48:29.152978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 14:48:29.154167"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:29.154167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:29.155828"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 14:48:29.155828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 14:48:29.157110"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:29.157110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:29.158143"], ["name", "Manage Users"], ["updated_at", "2014-05-23 14:48:29.158143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 14:48:29.159345"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:29.159345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 14:48:29.160983"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$674u7ldLs0UkutMZGmzyWOZh0Lgp15wKRlyOUjBv/3GB7SBvrZ4bi"], ["role_id", 1], ["updated_at", "2014-05-23 14:48:29.160983"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user11@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 14:48:29.160983"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$674u7ldLs0UkutMZGmzyWOZh0Lgp15wKRlyOUjBv/3GB7SBvrZ4bi"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 14:48:29.160983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 14:48:29.164551"], ["title", "Site Title 11"], ["updated_at", "2014-05-23 14:48:29.164551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:48:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 09:48:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 14:48:29.291961"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 14:48:29.291961"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 14:48:29.292496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:60668/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 09:48:29 -0500 Processing by Storytime::PagesController#show as HTML Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms  (0.9ms) rollback transaction Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 SQLite3::SQLException: no such table: storytime_sites: SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 SQLite3::SQLException: no such table: storytime_sites: SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 SQLite3::SQLException: no such table: storytime_sites: SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 SQLite3::SQLException: no such table: storytime_sites: SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:05.828478"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:05.828478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:05.854159"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$eRdjSNTmlqVswzJ23V2B7.f1/88wuxRHxAtJjouysoKQi2EgGxaq6"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:05.854159"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:05.865355"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:05.865355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:05.867810"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$uvcH76M7wpowBs/RzBcueeuhMRqBymGjWNIQXSAHw1R7G4sA8JjWW"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:05.867810"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:05.873642"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:05.873642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:05.875831"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$laR19qnfZTI6lSSsCP1hBOUusuRSET7ZvAAFNlx/iuXkQYGhPO8Mm"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:05.875831"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:05.892140"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:05.892140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:05.894243"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$EC4/JcKVznO4CgKCz2dnP.DR2GYCn7ToSy/wnT4.CcVdabWxesG0e"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:05.894243"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:05.910604"], ["title", "Site Title 1"], ["updated_at", "2014-05-23 15:43:05.910604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:05.915242"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:05.915242"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:05.918317"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$xc/V/C.ECOBkrVVyy7db0OfSFH0dQyPagyNa8mmZjxW1mTeEt1wx2"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:05.918317"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 7ms  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.000020"], ["title", "Site Title 2"], ["updated_at", "2014-05-23 15:43:06.000020"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.006853"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:06.006853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.009458"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$Jmioo2ARxFET0R6hLj3onepe0eXAT5SrFwyYdHIyKwSz/Xqt333DC"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.009458"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (4.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.019068"], ["title", "Site Title 3"], ["updated_at", "2014-05-23 15:43:06.019068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.024918"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:06.024918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.028662"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$iMAfTpNbuUVJyZxbb4pPg.XHq9lmyNGVcagYRyVilI9757r1VUfCG"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.028662"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.034420"], ["title", "Site Title 4"], ["updated_at", "2014-05-23 15:43:06.034420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.039185"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:06.039185"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.041733"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$xVH63WoC5SFiGM8bqAGYo.koxKcsc360n4fA8emKzrsnIGk5XNHu."], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.041733"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.050753"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:06.050753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.057747"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.057747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.070799"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.070799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.076550"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.076550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (28.7ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.078882"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.078882"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.109262"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:06.109262"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:06.110850"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.110850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.112138"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:06.112138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:06.113699"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.113699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.116867"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$d1apc52XzpJr5MOYfRB4AOz2IIJbfGLL9QJMmnigRhg6agixVcLK6"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.116867"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user9@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:06.116867"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$d1apc52XzpJr5MOYfRB4AOz2IIJbfGLL9QJMmnigRhg6agixVcLK6"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.116867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.138777"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:06.138777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.157504"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:06.157504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.159048"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.159048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.160630"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.160630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.161853"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.161853"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.163128"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.163128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.165396"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:06.165396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:06.167634"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.167634"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.169255"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:06.169255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:06.170907"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.170907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.174921"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$1bEMPCjtP9tjzy9byXRCIeF7E6OLvQI7.4ily.ft97FGinOkdEali"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.174921"]]  (0.3ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user11@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:06.174921"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$1bEMPCjtP9tjzy9byXRCIeF7E6OLvQI7.4ily.ft97FGinOkdEali"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.174921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.184777"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:06.184777"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.193037"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:06.193037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.195457"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.195457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.197546"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.197546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.198961"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.198961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.201102"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.201102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.202957"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:06.202957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:06.204353"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.204353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.205444"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:06.205444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:06.206809"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.206809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.208602"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$O3aR1sMvvmGvRlhnaF7UcephRLvFLMN2rIHSu2ngeOtTlHElj0rnq"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.208602"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user13@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:06.208602"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$O3aR1sMvvmGvRlhnaF7UcephRLvFLMN2rIHSu2ngeOtTlHElj0rnq"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.208602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.215136"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:06.215136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.221868"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:06.221868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.224385"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.224385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.226847"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.226847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.228168"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.228168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.230059"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.230059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.231410"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:06.231410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:06.232615"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.232615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.233950"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:06.233950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:06.235284"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.235284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.237536"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$s38ijOqSRtFtrexAI35k5ugrZv7QidrEWvoyGWLaLbbrEFYFjE41S"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.237536"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user15@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:06.237536"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$s38ijOqSRtFtrexAI35k5ugrZv7QidrEWvoyGWLaLbbrEFYFjE41S"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.237536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.246867"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:06.246867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.249354"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.249354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.251408"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.251408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.252827"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.252827"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.254816"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.254816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.256028"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:06.256028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:06.257608"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.257608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.258787"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:06.258787"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:06.260311"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.260311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.262066"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$Vpwhv7ROpuiJfI82xdq2HuG5JtnDkNQ8PE/KUuxXD/TK0iIAi68Ne"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.262066"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user16@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:06.262066"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$Vpwhv7ROpuiJfI82xdq2HuG5JtnDkNQ8PE/KUuxXD/TK0iIAi68Ne"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.262066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.270513"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:06.270513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.272403"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.272403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.274003"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.274003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.275146"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.275146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.276402"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.276402"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.278736"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:06.278736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:06.280961"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.280961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.283408"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:06.283408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:06.285631"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.285631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.287838"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$ndz8J6iPS4GOy5JoQr6kauioxlhZKfHMmG9Mxmafp9A3m0JAAZnWy"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.287838"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user17@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:06.287838"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$ndz8J6iPS4GOy5JoQr6kauioxlhZKfHMmG9Mxmafp9A3m0JAAZnWy"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.287838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.296194"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:06.296194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.297988"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.297988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.300560"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.300560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.301950"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.301950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.304173"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.304173"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.305455"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:06.305455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:06.306733"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.306733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.307808"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:06.307808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:06.308983"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.308983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.310577"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$YEhBGgIhDP1TkvDe2Lz8gOv3rYlr5fR8VRywm6chDN7ewK1O2TL/6"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.310577"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user18@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:06.310577"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$YEhBGgIhDP1TkvDe2Lz8gOv3rYlr5fR8VRywm6chDN7ewK1O2TL/6"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.310577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.318748"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:06.318748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.320420"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.320420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.322145"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.322145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.323362"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.323362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.324604"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.324604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.326205"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:06.326205"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:06.327855"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.327855"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.329523"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:06.329523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:06.331055"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.331055"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.333933"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$vshVEab8uspYwcC7Bh/GyufwrY3jQE/POduviSAyHRbfB1NerKgRy"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.333933"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user19@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:06.333933"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$vshVEab8uspYwcC7Bh/GyufwrY3jQE/POduviSAyHRbfB1NerKgRy"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.333933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.342884"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:06.342884"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.344435"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.344435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.345966"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.345966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.347263"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.347263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.348526"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.348526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.351215"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$N8Uu3Az3P5fRQhk18wUU..bYwCAQGv9v7TuWqBV7t2BwEONHV27HK"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.351215"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.357969"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:06.357969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.366631"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.366631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.370035"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.370035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.373190"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.373190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.378062"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.378062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.382907"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$5sXXF8hImYdsqUuwXiuSF.2pFDzIeGud28LE4x5DCB61nYCVfqPCW"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.382907"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.391757"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:06.391757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.395076"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.395076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.398869"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.398869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.400995"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.400995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.402434"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.402434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.404487"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$PT3q5crGihF/EgvDJ71VjeQhYkSMnLXOH5JVuBNkQbAuZHVERFZ9G"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.404487"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.410710"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:06.410710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.412365"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.412365"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.414699"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.414699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.419260"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.419260"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.425266"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.425266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.427987"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$1e/tz92JciLIpkeabyuY6u1r0/k3NGZ28vAJRoySwS3qkT9HTySAG"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.427987"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.437894"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:06.437894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.440770"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.440770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.443792"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.443792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.445684"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.445684"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.447492"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.447492"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.449761"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$Oul4J4ZKtGJM2TBEZ6s85uwT1bJzFyUd0LRxauZQmXSZSisGipHo2"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.449761"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.457363"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:06.457363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.459164"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.459164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.460682"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.460682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.462055"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.462055"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.463959"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.463959"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.467207"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$aY70ZCUsCzvIgisDPFcl.eMibwMSIZ/T1rJ31dHk.v8kymESuYXAK"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.467207"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.479031"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:06.479031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.485162"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.485162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.488898"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.488898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.492810"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.492810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.495165"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.495165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.498348"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$2/ltjoFQUbZyTS1d1ha.WuWQXprG6cy0AJ8ymaGVOfJmufLZeseMW"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.498348"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.504912"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:06.504912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.506578"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.506578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.508231"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.508231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.509459"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.509459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.510701"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.510701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.513102"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$Dok/aPOL6EUr.78ISHNEf.pZvbEgi1Jzc02ZVRtCeQT4ikDSRsP3m"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.513102"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.520579"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:06.520579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.522526"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.522526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.524491"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.524491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.526975"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$Io4i.Zd3uaV58vAwehYI5.9unR8RvvzzTZ5UOntGk8RRyizHIKPF6"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.526975"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.532978"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:06.532978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.534558"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.534558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.536558"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.536558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.538897"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$YANjvWHg3zk6uk0wCrA/m.Ej7yzNcOhyFnqWEOEa2GyOvhJn9M7MS"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.538897"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.545288"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:06.545288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.546967"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.546967"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.549801"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.549801"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.552835"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$qs5HDqQspaT6WUmk9goKjej4qY3Vg9lz0.mGgXecf5tBeNMqV8MHK"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.552835"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.559401"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:06.559401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.561019"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.561019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.562678"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.562678"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.564327"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$Ira8LTeUIQV2R1bFhfaFjuc4lJTowivyQ6idYg7jAa9SX.oJrk8W2"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.564327"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.570803"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:06.570803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.572466"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.572466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.574472"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.574472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.576297"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$aNPKSg67YbFdUGeYhJsuzOPrr28zEB8yzuCXOB6Vq13kZ1IWQn8DG"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.576297"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.583173"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:06.583173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.585829"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.585829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.587913"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.587913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.590652"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$iElgaYGHYBjQB0QNOOhFausJXGbFEvZ.OhWA0nJ0VG0i4bDNY7EJy"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.590652"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.597733"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:06.597733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.599228"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.599228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.600770"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.600770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.602475"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$gVKRd8G2FBWKcRS.25EcdOhILFbb2xvqF7lLNTvd13utTrK8QVRCK"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.602475"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.608906"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:06.608906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.610505"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.610505"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.612550"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.612550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.614661"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$WFOncHX1Or9KoNl00Dhg1.JJIAgYDqWQ3sq3A4/o3MX1u61FnyJEa"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.614661"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.622922"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:06.622922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.624392"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.624392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:06.626041"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.626041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.627675"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:06.627675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:06.629430"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.629430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.631169"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:06.631169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:06.632581"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.632581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.633717"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:06.633717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:06.635385"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.635385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:06.637443"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$TI5UB5x9GL69gZwA72O5jOXM8XtRhok5VDNcPLxrN2i7iSuMBArdu"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.637443"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user36@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:06.637443"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$TI5UB5x9GL69gZwA72O5jOXM8XtRhok5VDNcPLxrN2i7iSuMBArdu"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:06.637443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:06.641668"], ["title", "Site Title 5"], ["updated_at", "2014-05-23 15:43:06.641668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:09 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.9ms) Completed 200 OK in 265ms (Views: 253.3ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-23 10:43:10 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-23 10:43:10 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:10 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user36@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.4ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.3ms) SAVEPOINT active_record_1 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.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 15:43:10.509252"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 15:43:10.509252"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 15:43:10.511686"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:62521/ Completed 302 Found in 34ms (ActiveRecord: 1.2ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:10 -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.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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 (1.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (25.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (30.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.6ms) Completed 200 OK in 96ms (Views: 90.6ms | ActiveRecord: 2.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:10.757014"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:10.757014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user37@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:10.760227"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$TOhaW7oVMEd79aPeOEfRE.ud9HmDVhyW9Yj1ud/Wh4BKs.wX9ty1i"], ["role_id", 2], ["updated_at", "2014-05-23 15:43:10.760227"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:10.770160"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:10.770160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:10.773684"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$Qo9.mK/58IYt3grjl5LBtOs1zeADzyb2p/Ym.n36I0KxZNre8d4zu"], ["role_id", 3], ["updated_at", "2014-05-23 15:43:10.773684"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:10.778947"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:10.778947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user39@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:10.782535"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$eeNQpgGT66pDdmyf0Vli.eFEqkYArZEyyzYvNXPTWcNZ4fHuuc9De"], ["role_id", 4], ["updated_at", "2014-05-23 15:43:10.782535"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-23 10:43:10 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://127.0.0.1:62521/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:10 -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.1ms) 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 15.6ms | ActiveRecord: 1.3ms) Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" DESC LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:12.942984"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:12.942984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:12.945127"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:12.945127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:12.947390"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:12.947390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:12.948987"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:12.948987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:12.951522"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:12.951522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:12.953835"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:12.953835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:12.956617"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:12.956617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:12.958764"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:12.958764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:12.960498"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:12.960498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:12.962418"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$zvX/dUz2/xigfK5m44S9zOr/KmSGs1Kt1z2AVtwwd0VUNGPa7s3Be"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:12.962418"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user40@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:12.962418"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$zvX/dUz2/xigfK5m44S9zOr/KmSGs1Kt1z2AVtwwd0VUNGPa7s3Be"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:12.962418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:12.967506"], ["title", "Site Title 6"], ["updated_at", "2014-05-23 15:43:12.967506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:12 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:12 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user40@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 15:43:12.986166"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 15:43:12.986166"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 15:43:12.987276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:12 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.9ms) Started GET "/dashboard/users/new" for 127.0.0.1 at 2014-05-23 10:43:13 -0500 Processing by Storytime::Dashboard::UsersController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:13 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.9ms)  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.063254"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:13.063254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.065577"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:13.065577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:13.068353"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.068353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.073227"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:13.073227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:13.075179"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.075179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.076790"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:13.076790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:13.091436"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.091436"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.092929"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:13.092929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:13.094754"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.094754"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.097123"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$NFXvoNsWZNijSmHLC9adweIdE7swev.l5M.2oNFe0pCsKrHGQO/ye"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.097123"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user41@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:13.097123"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$NFXvoNsWZNijSmHLC9adweIdE7swev.l5M.2oNFe0pCsKrHGQO/ye"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.097123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.101353"], ["title", "Site Title 7"], ["updated_at", "2014-05-23 15:43:13.101353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:13 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user41@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 15:43:13.121573"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 15:43:13.121573"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 15:43:13.122080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:13 -0500 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.1ms) 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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (10.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 17ms (Views: 15.3ms | ActiveRecord: 1.3ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.160961"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:13.160961"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user42@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.162956"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$P2WhA603m0Xiuo1gqcU7Pu4B2skFaY0rO9aAB2HrqoHoJ1tf3Oi46"], ["role_id", 2], ["updated_at", "2014-05-23 15:43:13.162956"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.167362"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:13.167362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user43@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.169276"], ["email", "user43@example.com"], ["encrypted_password", "$2a$04$UqiBJSlt3JNO64PgyTWXxuAzvVj8ul9yKTZa6C6wU8tftON70iK46"], ["role_id", 3], ["updated_at", "2014-05-23 15:43:13.169276"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.172823"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:13.172823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user44@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.174656"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$j83s6PKb41dU/DSKh/xIZOTEROIdVm.fIb6pBueOlcMMJGQdH6ym."], ["role_id", 4], ["updated_at", "2014-05-23 15:43:13.174656"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-23 10:43:13 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:13 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users"  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.244231"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:13.244231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.246393"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:13.246393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:13.248473"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.248473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.249953"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:13.249953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:13.252747"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.252747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.254965"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:13.254965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:13.256798"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.256798"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.258543"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:13.258543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:13.260834"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.260834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user45@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.263703"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$JXKBY1VKMYvWppoBcd0vxuZ.jsCsBueQF2Ate0AB/AiQIPyaTyi72"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.263703"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.4ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user45@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:13.263703"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$JXKBY1VKMYvWppoBcd0vxuZ.jsCsBueQF2Ate0AB/AiQIPyaTyi72"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.263703"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.270554"], ["title", "Site Title 8"], ["updated_at", "2014-05-23 15:43:13.270554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:13 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user45@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.5ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user45@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 15:43:13.294720"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 15:43:13.294720"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 15:43:13.295524"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:13 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 12.4ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.332193"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:13.332193"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user46@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.334246"], ["email", "user46@example.com"], ["encrypted_password", "$2a$04$jsX.wv44BAPZgTek9ve5uOL7dU7WoDVFvnBDmIDzczZAWq0gaX/Oq"], ["role_id", 2], ["updated_at", "2014-05-23 15:43:13.334246"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users/2/edit" for 127.0.0.1 at 2014-05-23 10:43:13 -0500 Processing by Storytime::Dashboard::UsersController#edit as HTML Parameters: {"id"=>"2"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] 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", 1]] Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:13 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.9ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.372330"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:13.372330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.374478"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:13.374478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:13.376425"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.376425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.378394"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:13.378394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:13.380075"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.380075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.381660"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:13.381660"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:13.383284"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.383284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.385164"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:13.385164"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:13.386800"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.386800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user47@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.389187"], ["email", "user47@example.com"], ["encrypted_password", "$2a$04$wcNwNyJfYlEx53RDwf9dcuT7CRXAL9jMuu9jKI6kqhZUqba7ALEfS"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.389187"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user47@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:13.389187"], ["email", "user47@example.com"], ["encrypted_password", "$2a$04$wcNwNyJfYlEx53RDwf9dcuT7CRXAL9jMuu9jKI6kqhZUqba7ALEfS"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:13.389187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.400252"], ["title", "Site Title 9"], ["updated_at", "2014-05-23 15:43:13.400252"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:13 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user47@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user47@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 15:43:13.523430"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 15:43:13.523430"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 15:43:13.524786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:62521/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:13 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.616618"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:13.616618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user48@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.618669"], ["email", "user48@example.com"], ["encrypted_password", "$2a$04$hQgN5435TZ.40yRApGzYO.LlrrjuwkzP5GAGGDe/kPZ7VskybT8Ya"], ["role_id", 2], ["updated_at", "2014-05-23 15:43:13.618669"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-9' 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" = 'page-9') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.626290"], ["published", "t"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-23 15:43:13.626290"], ["user_id", 2]] 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"]] SQL (0.6ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 15:43:13.638548"], ["updated_at", "2014-05-23 15:43:13.638548"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] SQL (0.2ms) UPDATE "storytime_pages" SET "content" = 'Page #9. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.5ms) 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" = 'page-9' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.653806"], ["slug", "page-9"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.657961"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:13.657961"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user49@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.660108"], ["email", "user49@example.com"], ["encrypted_password", "$2a$04$i6fGnRlA0fxdB3PyIWYlA.nQm7rsmd8lTRIWN55rmwTb5iYOGLZIa"], ["role_id", 3], ["updated_at", "2014-05-23 15:43:13.660108"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-10' 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" = 'page-10') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.663725"], ["published", "t"], ["slug", "page-10"], ["title", "Page #10"], ["updated_at", "2014-05-23 15:43:13.663725"], ["user_id", 3]] 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::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 15:43:13.665755"], ["updated_at", "2014-05-23 15:43:13.665755"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #10. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-10' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.669577"], ["slug", "page-10"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:13.672841"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:13.672841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user50@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.674730"], ["email", "user50@example.com"], ["encrypted_password", "$2a$04$W.Rsmupxq5aUOYI1TqVGousUy2b80NylDqcD0PYAZx5PolPw4TCB6"], ["role_id", 4], ["updated_at", "2014-05-23 15:43:13.674730"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-11' 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" = 'page-11') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.678372"], ["published", "t"], ["slug", "page-11"], ["title", "Page #11"], ["updated_at", "2014-05-23 15:43:13.678372"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 15:43:13.680289"], ["updated_at", "2014-05-23 15:43:13.680289"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #11. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-11' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:43:13.683705"], ["slug", "page-11"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-23 10:43:13 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (2.7ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 16.5ms | ActiveRecord: 0.8ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-23 10:43:13 -0500 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:16.861442"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:16.861442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:16.863811"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:16.863811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:16.866501"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:16.866501"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:16.868741"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:16.868741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:16.871268"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:16.871268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:16.873393"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:16.873393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:16.874877"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:16.874877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:16.876125"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:16.876125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:16.877613"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:16.877613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user51@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:16.880283"], ["email", "user51@example.com"], ["encrypted_password", "$2a$04$MQDvMVZvwMLtydMdloO8w.VdMl6mSG5zSJO/h6KUgW.lEjdEwhD22"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:16.880283"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user51@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:16.880283"], ["email", "user51@example.com"], ["encrypted_password", "$2a$04$MQDvMVZvwMLtydMdloO8w.VdMl6mSG5zSJO/h6KUgW.lEjdEwhD22"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:16.880283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:16.885173"], ["title", "Site Title 10"], ["updated_at", "2014-05-23 15:43:16.885173"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:16 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user51@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user51@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 15:43:16.905917"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 15:43:16.905917"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 15:43:16.907111"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:16 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:16.996538"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:16.996538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user52@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:16.998949"], ["email", "user52@example.com"], ["encrypted_password", "$2a$04$nbtljfL.BYJQbHpMIcCqfez.8sHmgeobsqWBMU9aP5XqAFONhL6ga"], ["role_id", 2], ["updated_at", "2014-05-23 15:43:16.998949"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-12' 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" = 'page-12') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.003009"], ["published", "f"], ["slug", "page-12"], ["title", "Page #12"], ["updated_at", "2014-05-23 15:43:17.003009"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #12. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 15:43:17.005184"], ["updated_at", "2014-05-23 15:43:17.005184"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] 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" = 'page-12' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.008424"], ["slug", "page-12"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-12/edit" for 127.0.0.1 at 2014-05-23 10:43:17 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-12"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-12' 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:17 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.7ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.056811"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:17.056811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.059233"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:17.059233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:17.061898"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.061898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.065843"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:17.065843"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:17.068312"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.068312"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.070886"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:17.070886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:17.073510"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.073510"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.075668"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:17.075668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:17.077873"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.077873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user53@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.081082"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$0K7HBvNrIHXA6cUzt7KpIekjQbec7bDt9/uXOaMIAAgRm.p7UKB3y"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.081082"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user53@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:17.081082"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$0K7HBvNrIHXA6cUzt7KpIekjQbec7bDt9/uXOaMIAAgRm.p7UKB3y"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.081082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.087806"], ["title", "Site Title 11"], ["updated_at", "2014-05-23 15:43:17.087806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user53@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user53@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 15:43:17.105138"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 15:43:17.105138"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 15:43:17.105791"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:17 -0500 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.1ms) 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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.138045"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:17.138045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user54@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.139959"], ["email", "user54@example.com"], ["encrypted_password", "$2a$04$b8OYPZ2tOK/7Kg/7aJ1IV.wGITFmCLU3uopYX4BvwwwLhOqaO28sC"], ["role_id", 2], ["updated_at", "2014-05-23 15:43:17.139959"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-13' 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" = 'page-13') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.143404"], ["published", "t"], ["slug", "page-13"], ["title", "Page #13"], ["updated_at", "2014-05-23 15:43:17.143404"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #13. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 15:43:17.145348"], ["updated_at", "2014-05-23 15:43:17.145348"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #13. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-13' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.149571"], ["slug", "page-13"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.152826"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:17.152826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user55@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.154932"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$T8dSATbcqT/bdGaUaabkHuDdK8wzxWgyrZE6B0YLpZQjpMujQpMpu"], ["role_id", 3], ["updated_at", "2014-05-23 15:43:17.154932"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-14' 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" = 'page-14') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.159188"], ["published", "t"], ["slug", "page-14"], ["title", "Page #14"], ["updated_at", "2014-05-23 15:43:17.159188"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #14. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 15:43:17.161320"], ["updated_at", "2014-05-23 15:43:17.161320"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #14. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-14' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.165160"], ["slug", "page-14"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.168414"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:17.168414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user56@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.170476"], ["email", "user56@example.com"], ["encrypted_password", "$2a$04$U8lvuEKGSyOmfFqP3QK6OeyE7EjRx859yoKlXKlRT70FLjDO8k7UW"], ["role_id", 4], ["updated_at", "2014-05-23 15:43:17.170476"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-15' 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" = 'page-15') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.174644"], ["published", "t"], ["slug", "page-15"], ["title", "Page #15"], ["updated_at", "2014-05-23 15:43:17.174644"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #15. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 15:43:17.176465"], ["updated_at", "2014-05-23 15:43:17.176465"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #15. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-15' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.179776"], ["slug", "page-15"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-23 10:43:17 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (2.1ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 8.4ms | ActiveRecord: 0.6ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.212194"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:17.212194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.214028"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:17.214028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:17.215798"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.215798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.217153"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:17.217153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:17.219390"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.219390"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.221488"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:17.221488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:17.223445"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.223445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.225544"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:17.225544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:17.227175"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.227175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.229704"], ["email", "user57@example.com"], ["encrypted_password", "$2a$04$xsjgLe2pKxB7LzW8Pwh1C.N7GIe74ciswvzb3zUHuCvOtn6ZjEnE6"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.229704"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user57@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:17.229704"], ["email", "user57@example.com"], ["encrypted_password", "$2a$04$xsjgLe2pKxB7LzW8Pwh1C.N7GIe74ciswvzb3zUHuCvOtn6ZjEnE6"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.229704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.234547"], ["title", "Site Title 12"], ["updated_at", "2014-05-23 15:43:17.234547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user57@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 15:43:17.251050"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 15:43:17.251050"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 15:43:17.251559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:17 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-23 10:43:17 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (2.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (8.3ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (17.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (29.4ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 48ms (Views: 39.1ms | ActiveRecord: 1.5ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-23 10:43:17 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night..."}, "commit"=>"Create Page"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.347839"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-23 15:43:17.347839"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-23 15:43:17.350230"], ["updated_at", "2014-05-23 15:43:17.350230"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.353467"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 18ms (ActiveRecord: 1.6ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-23 10:43:17 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.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 "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (9.7ms) 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.5ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (13.1ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 42ms (Views: 34.8ms | ActiveRecord: 1.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.441711"], ["title", "Site Title 13"], ["updated_at", "2014-05-23 15:43:17.441711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.445335"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:17.445335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user58@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.447546"], ["email", "user58@example.com"], ["encrypted_password", "$2a$04$nen.5JWPlAY27RbYSAmKWOwR/glzC/LStzCXCaQl/OvDW/5OJFZ26"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.447546"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.461264"], ["title", "Site Title 14"], ["updated_at", "2014-05-23 15:43:17.461264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.464668"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:17.464668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user59@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.466686"], ["email", "user59@example.com"], ["encrypted_password", "$2a$04$7R8cnIY1lYa1cQCONhxDaOkJFF6QyQ.eudwcWdb4nhzEuNBOOMWJu"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.466686"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.480454"], ["title", "Site Title 15"], ["updated_at", "2014-05-23 15:43:17.480454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.483776"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:17.483776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user60@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.486051"], ["email", "user60@example.com"], ["encrypted_password", "$2a$04$rRfRX0Gl0Cpvf/7ERhl7COc9ek0ZuMhy4Sf.gYMerTSC4879EeDzu"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.486051"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.501749"], ["title", "Site Title 16"], ["updated_at", "2014-05-23 15:43:17.501749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.506124"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:17.506124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user61@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.509376"], ["email", "user61@example.com"], ["encrypted_password", "$2a$04$lD7wFQmqI0tFRSw4rAl/0OjC5.p1GVtT2Ov0egNkNQprAqlqHe2SC"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.509376"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.527872"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:17.527872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.531360"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:17.531360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:17.533836"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.533836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.536055"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:17.536055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:17.537502"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.537502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.538720"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:17.538720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:17.539945"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.539945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.541240"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:17.541240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:17.542904"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.542904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user62@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.545144"], ["email", "user62@example.com"], ["encrypted_password", "$2a$04$G2mLUvgMzCNFbk4Opgpc5.7YvKXUpE3I6ZZhwEAS8oAQDtdgdsSGa"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.545144"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user62@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:17.545144"], ["email", "user62@example.com"], ["encrypted_password", "$2a$04$G2mLUvgMzCNFbk4Opgpc5.7YvKXUpE3I6ZZhwEAS8oAQDtdgdsSGa"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:17.545144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.550312"], ["title", "Site Title 17"], ["updated_at", "2014-05-23 15:43:17.550312"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user62@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user62@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 15:43:17.674282"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 15:43:17.674282"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 15:43:17.675808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:62521/ Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:17 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 17.1ms | ActiveRecord: 1.3ms)  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.821369"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:17.821369"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user63@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.829763"], ["email", "user63@example.com"], ["encrypted_password", "$2a$04$nCgQ2AZd6Z6BtTZRldKlY.KdpOsKcWXIptUrzc4YygomYX7wkWp8q"], ["role_id", 2], ["updated_at", "2014-05-23 15:43:17.829763"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.860969"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-23 15:43:17.860969"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 15:43:17.865174"], ["updated_at", "2014-05-23 15:43:17.865174"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #1. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.871542"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:17.871542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user64@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.874564"], ["email", "user64@example.com"], ["encrypted_password", "$2a$04$1biSvLEvmZpH/qH6vqKAFuEu7sLfHhckQoDbNJtwNc4ei9Q5hOWd."], ["role_id", 3], ["updated_at", "2014-05-23 15:43:17.874564"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.879039"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-23 15:43:17.879039"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 15:43:17.881844"], ["updated_at", "2014-05-23 15:43:17.881844"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:17.886315"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:17.886315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user65@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.888222"], ["email", "user65@example.com"], ["encrypted_password", "$2a$04$1D7Y6Ikaz9abIEppj/i.0OQtUwbqEA.zoCGFEyHLxS2Di0pVP3EcO"], ["role_id", 4], ["updated_at", "2014-05-23 15:43:17.888222"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:17.890501"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-23 15:43:17.890501"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 15:43:17.892577"], ["updated_at", "2014-05-23 15:43:17.892577"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-23 10:43:17 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.7ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 24ms (Views: 16.9ms | ActiveRecord: 1.0ms) Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.151102"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:21.151102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.153373"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.153373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:21.155494"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.155494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.157482"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.157482"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:21.159682"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.159682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.162068"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:21.162068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:21.165634"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.165634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.167290"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:21.167290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:21.169579"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.169579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user66@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.171840"], ["email", "user66@example.com"], ["encrypted_password", "$2a$04$2K.bobOD0GUg4/SVnhne/OEooa0yMLseHFAaF9vfp9ay3BhP2vz6O"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.171840"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user66@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:21.171840"], ["email", "user66@example.com"], ["encrypted_password", "$2a$04$2K.bobOD0GUg4/SVnhne/OEooa0yMLseHFAaF9vfp9ay3BhP2vz6O"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.171840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.176608"], ["title", "Site Title 18"], ["updated_at", "2014-05-23 15:43:21.176608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:21 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user66@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user66@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 15:43:21.196155"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 15:43:21.196155"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 15:43:21.198081"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:21 -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.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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", 1]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (8.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 17.0ms | ActiveRecord: 1.5ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.244642"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:21.244642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user67@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.248290"], ["email", "user67@example.com"], ["encrypted_password", "$2a$04$WBLCaAWlrl4nU0ERAXTaw..2PAoisY/rwKvFxlIMjXJuGWFbh02p2"], ["role_id", 2], ["updated_at", "2014-05-23 15:43:21.248290"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.252802"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "f"], ["title", "Post #4"], ["updated_at", "2014-05-23 15:43:21.252802"], ["user_id", 2]] 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", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 15:43:21.256929"], ["updated_at", "2014-05-23 15:43:21.256929"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-23 10:43:21 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Redirected to http://www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.0ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:21 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 1.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.312826"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:21.312826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.315247"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.315247"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:21.318524"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.318524"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.321075"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.321075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:21.323293"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.323293"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.325830"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:21.325830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:21.328455"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.328455"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.330562"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:21.330562"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:21.333124"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.333124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user68@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.335785"], ["email", "user68@example.com"], ["encrypted_password", "$2a$04$yo68PM0miOp./KN1I2SyFuCXx5tDybssmhFKuR/xhrMjyNIvr9lzy"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.335785"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.4ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user68@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:21.335785"], ["email", "user68@example.com"], ["encrypted_password", "$2a$04$yo68PM0miOp./KN1I2SyFuCXx5tDybssmhFKuR/xhrMjyNIvr9lzy"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.335785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.341541"], ["title", "Site Title 19"], ["updated_at", "2014-05-23 15:43:21.341541"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:21 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user68@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user68@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 15:43:21.362388"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 15:43:21.362388"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 15:43:21.362840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:21 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.396862"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:21.396862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user69@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.399179"], ["email", "user69@example.com"], ["encrypted_password", "$2a$04$MVDt4r4K60jE/navzgTABOKwv9xApWlrUnKyWHASlWB8K2r8yVlZW"], ["role_id", 2], ["updated_at", "2014-05-23 15:43:21.399179"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.401879"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-23 15:43:21.401879"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 15:43:21.404066"], ["updated_at", "2014-05-23 15:43:21.404066"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #5. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.408595"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:21.408595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user70@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.410823"], ["email", "user70@example.com"], ["encrypted_password", "$2a$04$ndmDM2Et8Jhn0HkSBmdIqeMc3Org6ye8aLAzAtRsGdKkC3Ku4eJOW"], ["role_id", 3], ["updated_at", "2014-05-23 15:43:21.410823"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.413271"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-23 15:43:21.413271"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 15:43:21.415633"], ["updated_at", "2014-05-23 15:43:21.415633"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.420813"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:21.420813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user71@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.422880"], ["email", "user71@example.com"], ["encrypted_password", "$2a$04$f2IRmapbbXSzB5eEC4bh1.QsIeEHEVyxo9yq6TMJLUaK2e/aOJZmi"], ["role_id", 4], ["updated_at", "2014-05-23 15:43:21.422880"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.425591"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-23 15:43:21.425591"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-23 15:43:21.427591"], ["updated_at", "2014-05-23 15:43:21.427591"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-23 10:43:21 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (1.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/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 7.0ms | ActiveRecord: 0.8ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.459821"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:21.459821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.461465"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.461465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:21.463154"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.463154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.464833"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.464833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:21.467373"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.467373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.469799"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:21.469799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:21.471509"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.471509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.473405"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:21.473405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:21.475005"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.475005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user72@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.477312"], ["email", "user72@example.com"], ["encrypted_password", "$2a$04$t9.tjkpqJa8JnZpWUhpbsusU4AZ7DQjVfA4pX854iPUCxFQvCB6rq"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.477312"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user72@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:21.477312"], ["email", "user72@example.com"], ["encrypted_password", "$2a$04$t9.tjkpqJa8JnZpWUhpbsusU4AZ7DQjVfA4pX854iPUCxFQvCB6rq"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.477312"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.482087"], ["title", "Site Title 20"], ["updated_at", "2014-05-23 15:43:21.482087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:21 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user72@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user72@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 15:43:21.498347"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 15:43:21.498347"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 15:43:21.498815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:21 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-23 10:43:21 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.1ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (16.6ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 36ms (Views: 26.8ms | ActiveRecord: 1.4ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-23 10:43:21 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.587504"], ["excerpt", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-23 15:43:21.587504"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-23 15:43:21.589725"], ["updated_at", "2014-05-23 15:43:21.589725"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 12ms (ActiveRecord: 1.1ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-23 10:43:21 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.7ms) 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::Post"]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (2.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.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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (13.6ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (12.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 36.1ms | ActiveRecord: 1.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.679181"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:21.679181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.680818"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.680818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:21.682655"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.682655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.684038"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.684038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:21.686207"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.686207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.687862"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:21.687862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:21.689359"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.689359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.691046"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:21.691046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:21.692523"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.692523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user73@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.694403"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$GnCRXMrGrOywYUR91eR.m.5mI2OPxBd3F3K4ygyrgqEoRcMogZi7m"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.694403"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user73@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:21.694403"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$GnCRXMrGrOywYUR91eR.m.5mI2OPxBd3F3K4ygyrgqEoRcMogZi7m"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.694403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.700756"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:21.700756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.708082"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:21.708082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.709946"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.709946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:21.711909"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.711909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.713328"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.713328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:21.714661"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.714661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.717237"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:21.717237"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:21.718809"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.718809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.720095"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:21.720095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:21.721551"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.721551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user75@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.723728"], ["email", "user75@example.com"], ["encrypted_password", "$2a$04$HNZ5ll5kAvD7xvscGaH0Uu52QI/OESVH8GT6XDA1fUgjLu36CSvp6"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.723728"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user75@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:21.723728"], ["email", "user75@example.com"], ["encrypted_password", "$2a$04$HNZ5ll5kAvD7xvscGaH0Uu52QI/OESVH8GT6XDA1fUgjLu36CSvp6"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.723728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.729921"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:21.729921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.737578"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:21.737578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.739174"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.739174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:21.741331"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.741331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.742993"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.742993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:21.744995"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.744995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.746804"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:21.746804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:21.748645"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.748645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.750505"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:21.750505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:21.751911"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.751911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user77@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.753686"], ["email", "user77@example.com"], ["encrypted_password", "$2a$04$/ZwUpLOIx0h8xWzyD3YRtu81jinqgm6TKBQzUuJ4C1khvOSBq7KnK"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.753686"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user77@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:21.753686"], ["email", "user77@example.com"], ["encrypted_password", "$2a$04$/ZwUpLOIx0h8xWzyD3YRtu81jinqgm6TKBQzUuJ4C1khvOSBq7KnK"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.753686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.761013"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:21.761013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.768378"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:21.768378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.771128"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.771128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:21.777960"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.777960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.781177"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.781177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:21.784163"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.784163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.787316"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:21.787316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:21.790019"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.790019"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.793041"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:21.793041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:21.795320"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.795320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user79@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.798048"], ["email", "user79@example.com"], ["encrypted_password", "$2a$04$J2mFArCOnxtignJJbh6UI.wEL0iblDIYeKAxKi4OqIA.5i2QYUd0m"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.798048"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user79@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:21.798048"], ["email", "user79@example.com"], ["encrypted_password", "$2a$04$J2mFArCOnxtignJJbh6UI.wEL0iblDIYeKAxKi4OqIA.5i2QYUd0m"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.798048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.816053"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:21.816053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.819012"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.819012"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:21.823833"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.823833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.826155"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.826155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:21.828909"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.828909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.830931"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:21.830931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:21.833644"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.833644"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.837539"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:21.837539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:21.840230"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.840230"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user80@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.843450"], ["email", "user80@example.com"], ["encrypted_password", "$2a$04$G3qBLrPrMJlMrl.aJl.pKuD1lRnQGQCS/80WT9qixmCYQ7ZShgqZS"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.843450"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user80@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:21.843450"], ["email", "user80@example.com"], ["encrypted_password", "$2a$04$G3qBLrPrMJlMrl.aJl.pKuD1lRnQGQCS/80WT9qixmCYQ7ZShgqZS"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.843450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.855029"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:21.855029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.856670"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.856670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:21.858507"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.858507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.860404"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.860404"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:21.862715"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.862715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.864470"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:21.864470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:21.865949"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.865949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.867072"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:21.867072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:21.868712"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.868712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user81@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.870849"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$oWxZQZniEbKfcYAXUuAx0ugXMia12nNlw2CLRluS9TbOO66kT6SDa"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.870849"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user81@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:21.870849"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$oWxZQZniEbKfcYAXUuAx0ugXMia12nNlw2CLRluS9TbOO66kT6SDa"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.870849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.880478"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:21.880478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.882560"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.882560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:21.885360"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.885360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.887686"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.887686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:21.889250"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.889250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.891013"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:21.891013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:21.893104"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.893104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.895190"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:21.895190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:21.897064"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.897064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user82@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.899334"], ["email", "user82@example.com"], ["encrypted_password", "$2a$04$dQy2pEF7Ux71p1LWxLYRw.fhBM9wE1GZ4e9Pol7qh.WDBKBvw68LC"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.899334"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user82@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:21.899334"], ["email", "user82@example.com"], ["encrypted_password", "$2a$04$dQy2pEF7Ux71p1LWxLYRw.fhBM9wE1GZ4e9Pol7qh.WDBKBvw68LC"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.899334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.909288"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:21.909288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.911093"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.911093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:21.912892"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.912892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.914372"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.914372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:21.918424"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.918424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.920075"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:21.920075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:21.921979"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.921979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.923342"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:21.923342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:21.924959"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.924959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user83@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.926928"], ["email", "user83@example.com"], ["encrypted_password", "$2a$04$9eIakg1U3EseEnx4rJ3tgeozYskh7NmARoMWyKZO4kQsjpc2SczO6"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.926928"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user83@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:21.926928"], ["email", "user83@example.com"], ["encrypted_password", "$2a$04$9eIakg1U3EseEnx4rJ3tgeozYskh7NmARoMWyKZO4kQsjpc2SczO6"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.926928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.938711"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:21.938711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.940691"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.940691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:21.942619"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.942619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.945204"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.945204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:21.948294"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.948294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user84@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.952655"], ["email", "user84@example.com"], ["encrypted_password", "$2a$04$e2F/2WZ0azNh3i14u/vNX.M54WHB.Q44NLXaRQQuljYptEqxQORQq"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.952655"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.960547"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:21.960547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.962416"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.962416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:21.964808"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.964808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.966658"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.966658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:21.968826"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.968826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user85@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.971665"], ["email", "user85@example.com"], ["encrypted_password", "$2a$04$8VKJmQgqTMF6kZu3bNuYt.ck6xrr840FNQDSm01wHqrekuscegSLK"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.971665"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.978531"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:21.978531"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.980737"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.980737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:21.983743"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.983743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:21.986553"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:21.986553"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:21.989294"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.989294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user86@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:21.992134"], ["email", "user86@example.com"], ["encrypted_password", "$2a$04$Qy2dfwEo3HEV5qBUOsGo1.pVkX0PhkIXuBtLfZPuJxavl1JWPeFKq"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:21.992134"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.001103"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:22.001103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.003779"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.003779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.008509"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.008509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.012816"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.012816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:22.016170"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.016170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user87@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.023824"], ["email", "user87@example.com"], ["encrypted_password", "$2a$04$q1gh3ns70c3UMkZuQ5UFCu9Ku.2T4VGacZyka007b7Pl1IrjzPbvu"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.023824"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.031466"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:22.031466"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.043040"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.043040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.046217"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.046217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.048952"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.048952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:22.051851"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.051851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user88@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.054623"], ["email", "user88@example.com"], ["encrypted_password", "$2a$04$wTZr0QZUZfwTV0Yyfuef7.Wv5iegFsha1YsHe/Ei9j5TdKYkN1Vku"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.054623"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.064027"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:22.064027"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.068143"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.068143"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.072190"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.072190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.075189"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.075189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:22.077409"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.077409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user89@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.079855"], ["email", "user89@example.com"], ["encrypted_password", "$2a$04$wvOCKRs2BrnPMqv28vmlwuF74XzD71ZiuZi3gRgGTc11pumO7dJDK"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.079855"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.089387"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:22.089387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.093209"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.093209"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.101950"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.101950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.104876"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.104876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:22.107760"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.107760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user90@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.114206"], ["email", "user90@example.com"], ["encrypted_password", "$2a$04$u8c4ccBlSH81.Z5NzDXbIONQJUiuMYhTbdkQB8rzu4UFHujezEqwm"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.114206"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.129633"], ["name", "editor"], ["updated_at", "2014-05-23 15:43:22.129633"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (9.5ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.133098"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.133098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.145718"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.145718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.148561"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.148561"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:22.152590"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.152590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user91@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.169655"], ["email", "user91@example.com"], ["encrypted_password", "$2a$04$JDmFtV.LmRnzrOJJm2u8hO8FBb3VRkpDRkzcexYq9yr85/76PuPWe"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.169655"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.182167"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.182167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.187011"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.187011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.189488"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.189488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user92@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.192565"], ["email", "user92@example.com"], ["encrypted_password", "$2a$04$6I2ZN77mPWM2feu.s6BShOocN/XLzfGG9kmiaaXnjGdJgXV.u6zUi"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.192565"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.204582"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.204582"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.207263"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.207263"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.213499"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.213499"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user93@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.225618"], ["email", "user93@example.com"], ["encrypted_password", "$2a$04$6Ziu/NPAN.gpZDWPyb6pRedBo6xPbqZNDPGz6bIIXJTjpoaN4F..y"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.225618"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.4ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.240409"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.240409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.244337"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.244337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.247861"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.247861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user94@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.251485"], ["email", "user94@example.com"], ["encrypted_password", "$2a$04$w/GEQ2VtsKM4LWq7gRUKWemcoEFmLZ6QU/ld/EMN28AXP96.y1UhK"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.251485"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.267442"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.267442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.270757"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.270757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.273797"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.273797"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user95@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.277790"], ["email", "user95@example.com"], ["encrypted_password", "$2a$04$TBzuQpYz4atQFag4gXW8.uFD73.iM6LVbdaHNcRbC2rVsYWwn.lzC"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.277790"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.289760"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.289760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.293704"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.293704"]]  (3.9ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.303674"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.303674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user96@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.307556"], ["email", "user96@example.com"], ["encrypted_password", "$2a$04$9Mz5DRLucurOcdAw2AvI4urKKjFzCJICCzw2Xdcng4NuTDDyfTDi."], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.307556"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.317658"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.317658"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.326133"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.326133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.329523"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.329523"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user97@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.337053"], ["email", "user97@example.com"], ["encrypted_password", "$2a$04$3tgjXRjNRSliDDlyfjjBjuyjCijxullcTkj5eqmrlr3tyVlQKjjbS"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.337053"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.345863"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.345863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.348329"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.348329"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.350917"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.350917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user98@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.354425"], ["email", "user98@example.com"], ["encrypted_password", "$2a$04$aklEaot3sgDOI02dTQnUAeXB3qrZpHFop85ZImoUdViAA6wDQEbsO"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.354425"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.368020"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.368020"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.371396"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.371396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.374935"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.374935"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user99@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.378427"], ["email", "user99@example.com"], ["encrypted_password", "$2a$04$seW.cGLujLxZVLMwJ3AVROeRdd54QwCoRhYdgR5/l/LxtdxV2k0yi"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.378427"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.390325"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.390325"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user100@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.395753"], ["email", "user100@example.com"], ["encrypted_password", "$2a$04$bOHGf7kyNPXCXM2AlK0smea/qiv8o5b3Gc.jLV8d6cPBhNo5D0UiW"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.395753"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.406020"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.406020"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user101@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.410308"], ["email", "user101@example.com"], ["encrypted_password", "$2a$04$g8onR8uPqz5oGdMWdwcrf.GhV0cDFvYJmavLolo/xIb6bl48D5RGy"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.410308"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.423758"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.423758"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user102@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.428341"], ["email", "user102@example.com"], ["encrypted_password", "$2a$04$asrW5juVXVCYzkX8egPaYumMU4LWScWbvLW09GRf3tXdUVrkOe6n2"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.428341"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "storytime_versions"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.437818"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.437818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user103@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.442561"], ["email", "user103@example.com"], ["encrypted_password", "$2a$04$k2my3D7t.69DFOrB5qryXuELOm0UOy2Xki2yku.XeKC2woMDCAmAe"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.442561"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.455530"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.455530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user104@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.458788"], ["email", "user104@example.com"], ["encrypted_password", "$2a$04$DQGTIh5x1oekTsbu84qls..8B4BNIyWwIUkFkuDzyO2ph3wzco.ru"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.458788"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.467418"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.467418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user105@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.470579"], ["email", "user105@example.com"], ["encrypted_password", "$2a$04$L6dbZe621Wv5uHGMe.fkveUL0Xux0PK0H.9eOe7n6H39rKcmPPLWy"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.470579"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.479784"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:22.479784"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.482873"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.482873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.486258"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.486258"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.488843"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.488843"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:22.492114"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.492114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.495039"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:22.495039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:22.500036"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.500036"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.502877"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:22.502877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:22.505625"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.505625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user106@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.508549"], ["email", "user106@example.com"], ["encrypted_password", "$2a$04$jKeuZLnl4yeFbEt6wnDnCuQnOMK86vHjuovs2q1dz9xkBldHzBVr6"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.508549"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user106@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:22.508549"], ["email", "user106@example.com"], ["encrypted_password", "$2a$04$jKeuZLnl4yeFbEt6wnDnCuQnOMK86vHjuovs2q1dz9xkBldHzBVr6"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.508549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:22 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user106@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user106@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 15:43:22.536006"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 15:43:22.536006"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 15:43:22.536785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:22 -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 "storytime_users"  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://www.example.com/dashboard/sites/new Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-23 10:43:22 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/users/sign_in Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:22 -0500 Processing by Devise::SessionsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Redirected to http://www.example.com/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:22 -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 "storytime_users"  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://www.example.com/dashboard/sites/new Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-23 10:43:22 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/users/sign_in Completed 302 Found in 7ms (ActiveRecord: 0.8ms)  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.615288"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:22.615288"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.636571"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.636571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.639988"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.639988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.642313"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.642313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:22.645245"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.645245"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.647721"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:22.647721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:22.651948"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.651948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.654400"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:22.654400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:22.656547"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.656547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user107@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.659069"], ["email", "user107@example.com"], ["encrypted_password", "$2a$04$Gx551YPe6GPQBaD/qTIjR.zMsNy5MzsvuJmdbxV/d6WFEQVaZw.iy"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.659069"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user107@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:22.659069"], ["email", "user107@example.com"], ["encrypted_password", "$2a$04$Gx551YPe6GPQBaD/qTIjR.zMsNy5MzsvuJmdbxV/d6WFEQVaZw.iy"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.659069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.665907"], ["title", "Site Title 21"], ["updated_at", "2014-05-23 15:43:22.665907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:22 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user107@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user107@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 15:43:22.687866"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 15:43:22.687866"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 15:43:22.688472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:22 -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.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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (8.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 16.9ms | ActiveRecord: 1.4ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-23 10:43:22 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.4ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:22 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (13.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.5ms) Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 1.4ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.806396"], ["name", "admin"], ["updated_at", "2014-05-23 15:43:22.806396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.811835"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.811835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-23 15:43:22.823116"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.823116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.825283"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-23 15:43:22.825283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-23 15:43:22.827437"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.827437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.829542"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-23 15:43:22.829542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-23 15:43:22.831943"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.831943"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.834208"], ["name", "Manage Users"], ["updated_at", "2014-05-23 15:43:22.834208"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-23 15:43:22.838296"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.838296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user108@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.840667"], ["email", "user108@example.com"], ["encrypted_password", "$2a$04$5MD1YeBDBq3hlOfRujIHTO.U4AcRo3JdCeRAJkudZ83QVar65ZMTm"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.840667"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user108@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-23 15:43:22.840667"], ["email", "user108@example.com"], ["encrypted_password", "$2a$04$5MD1YeBDBq3hlOfRujIHTO.U4AcRo3JdCeRAJkudZ83QVar65ZMTm"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.840667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.845019"], ["title", "Site Title 22"], ["updated_at", "2014-05-23 15:43:22.845019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:22 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-23 10:43:22 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user108@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user108@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-23 15:43:22.863697"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-23 15:43:22.863697"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-23 15:43:22.864104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:22 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 11.4ms | ActiveRecord: 1.0ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-23 10:43:22 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-23 10:43:22 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-23 10:43:22 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.9ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.966711"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.966711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user109@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.969523"], ["email", "user109@example.com"], ["encrypted_password", "$2a$04$iay0W.htzhpBulZHiz3L6eU6JiaImr1qpWNcnBmAHpOwcCErG.x6G"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.969523"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.978189"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.978189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user110@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.981909"], ["email", "user110@example.com"], ["encrypted_password", "$2a$04$LPjOx8Tz6ZYDeGjRO11kbOGd4qfvFrHmySGitHOF9umUhWPNolkBO"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.981909"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:22.990251"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:22.990251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user111@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:22.992959"], ["email", "user111@example.com"], ["encrypted_password", "$2a$04$nyXLon100UIYlL3aiVdJEO6O0U9DuwPzg1FaPtY8lwHnmfva1LCza"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:22.992959"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-23 15:43:23.000023"], ["name", "writer"], ["updated_at", "2014-05-23 15:43:23.000023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user112@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-23 15:43:23.002690"], ["email", "user112@example.com"], ["encrypted_password", "$2a$04$OvS.ZWAr/y6NKT3npSgML.Y/vAIVxD0LDdJ4jzuhwwrxrCPRRfy5u"], ["role_id", 1], ["updated_at", "2014-05-23 15:43:23.002690"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'tony@stark.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:43:23.012300"], ["email", "tony@stark.com"], ["encrypted_password", "$2a$04$XPIHnyTEEaTRqQE3V6oxje7yZu10Qz0Y.U9A.CZOpm1I8CEQlOq.u"], ["updated_at", "2014-05-23 15:43:23.012300"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:37.385942"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:37.385942"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.6ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:37.415773"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$nhbOhD9/83YmM14jy612SeiItNfUVSEeCfScjbWh5a0z3Btp/A9fS"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.415773"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:37.431379"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:37.431379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:37.433434"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$SJzkatmQTB6dOcmfLd7koeBxE5qJxP9ck3yKO6Z2.LljjhUaavY/."], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.433434"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:37.438924"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:37.438924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:37.440912"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$O4OMC6cNiGjONiXzalZa6ODsXFc/zyMpuHg/TuhxOWTjHV3xFfSn6"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.440912"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:37.447286"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:37.447286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:37.449458"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$7yjF71YuVninO.C5bJS99OCGU3Trf9JkjVfTLkjsvOKBl26FX.2Zu"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.449458"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:37.455533"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:37.455533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:37.460512"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:37.460512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:37.468267"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.468267"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:37.474417"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:37.474417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:37.476471"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.476471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:37.477945"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:37.477945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:37.479625"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.479625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:37.481677"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:37.481677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:37.484328"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.484328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:37.487237"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$3/c4.gNI1sUYTUJel7H80.QNi2xgd.86ViVTQ2IPf.r6b9ujBnKVK"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.487237"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user5@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:37.487237"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$3/c4.gNI1sUYTUJel7H80.QNi2xgd.86ViVTQ2IPf.r6b9ujBnKVK"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.487237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (33.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 328ms (Views: 308.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:11:37.887443"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:11:37.887443"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:11:37.888539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:37 -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.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.5ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://www.example.com/dashboard/sites/new Completed 302 Found in 2ms (ActiveRecord: 0.7ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:11:37 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/users/sign_in Completed 302 Found in 19ms (ActiveRecord: 0.4ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:37 -0500 Processing by Devise::SessionsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Redirected to http://www.example.com/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11: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::ApplicationController#setup as HTML  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://www.example.com/dashboard/sites/new Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:11:37 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/users/sign_in Completed 302 Found in 4ms (ActiveRecord: 0.4ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:37.948426"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:37.948426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:37.952077"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:37.952077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:37.954386"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.954386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:37.957026"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:37.957026"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:37.959913"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.959913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:37.962447"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:37.962447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:37.965141"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.965141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:37.976955"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:37.976955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:37.980890"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.980890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:37.986779"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$/m8ihSTM4k2N2FRCE/JWQeGcMD/3WMZ1l2olR7Y4cBIJzr3KElz9K"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.986779"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user6@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:37.986779"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$/m8ihSTM4k2N2FRCE/JWQeGcMD/3WMZ1l2olR7Y4cBIJzr3KElz9K"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:37.986779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:37.994068"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 00:11:37.994068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:11:38.015380"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:11:38.015380"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:11:38.016177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:38 -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.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (23.3ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (11.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.8ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (2.1ms) Completed 200 OK in 62ms (Views: 56.8ms | ActiveRecord: 2.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:11:38 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:38 -0500 Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.1ms) 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.8ms) Storytime::User Load (0.4ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (8.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 22ms (Views: 18.1ms | ActiveRecord: 1.8ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.156157"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:38.156157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.158271"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.158271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.161073"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.161073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.164573"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.164573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.167219"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.167219"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.168785"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:38.168785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:38.170303"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.170303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.171768"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:38.171768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:38.173005"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.173005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.174700"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$pDx/0.YDnixV6nWCfRb3n.lR65rfYYahWpSdG65bG4AqUWo5Mpq5K"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.174700"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user7@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:38.174700"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$pDx/0.YDnixV6nWCfRb3n.lR65rfYYahWpSdG65bG4AqUWo5Mpq5K"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.174700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.178600"], ["title", "Site Title 2"], ["updated_at", "2014-05-27 00:11:38.178600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:11:38.196832"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:11:38.196832"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:11:38.197381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:38 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.7ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:11:38 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:11:38 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:38 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.7ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 1ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.337095"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:38.337095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.341084"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$5TP6PUFT24xj7hLP4gqDrOp9Fn7TrpDOXdJjfYcAtpf/OsRLY9aIm"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.341084"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.353861"], ["title", "Site Title 3"], ["updated_at", "2014-05-27 00:11:38.353861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.357973"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:38.357973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.360723"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$gQ9mMn1FjDxk/ilVdALCZeZs58HNdmCF34z6QeedkayPs7m9P3oqy"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.360723"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.368989"], ["title", "Site Title 4"], ["updated_at", "2014-05-27 00:11:38.368989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.374413"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:38.374413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.378422"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$y/a1eyZ9zpzruMEhw6BlnucnH.fCQOKTY7gSFmP4r6mTpD5iYAJNW"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.378422"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.389161"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:38.389161"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.391312"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.391312"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.398283"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.398283"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.4ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.404473"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$t/iiklu15iiXRdB6g0cFJ.17juq6Fd1v3RLY688PkMnNrBHhhw/cq"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.404473"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.413324"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:38.413324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.416033"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.416033"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.421443"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.421443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.425636"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$R1rmm9Hlou4rACT0fFRF0eyS1XDmUU4RDq6x71jzcKecNMkPcwqEy"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.425636"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.435144"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:38.435144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.437790"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.437790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.439541"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.439541"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.442039"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$5yEHcHcbEcZEN0O0XzzzKOp75Q3TbsTtCcFfMNV0PMRQYf6hdmat."], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.442039"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.448259"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:38.448259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.449964"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.449964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.451964"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.451964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.453747"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$ifqmfOlXvXe2x89FJu/Kuefm5kt1dQNJJ.PVc4EoQ4yQvCtIZ9TxS"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.453747"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.460355"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:38.460355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.462066"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.462066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.463670"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.463670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.465541"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$rtN/niuk94G/8ACMHaRHf.CBGXs3eFvzQuD.w1qRJsV8wZmlG2NUW"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.465541"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.474479"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:38.474479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.476673"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.476673"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.478572"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.478572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.480486"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$AsKKES4pA1yTl/tQqJC7XOopU6NXAXKYVcfmwMqQd8dbK2BBMNf12"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.480486"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.488695"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:38.488695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.491070"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.491070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.493285"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.493285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.495719"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$hCN.3aus9tbzAIjUGIX3uONSlFWKD1F773W6Gg9630dZ9jz4Mo9QW"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.495719"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.502780"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:38.502780"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.504697"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.504697"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.506812"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.506812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.509464"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$dBkVw3pB1RtN8qHqrkffdOJN6m.jg3l6g2vCv0.VUfITXfFy.Uuji"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.509464"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.517486"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:38.517486"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.519437"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.519437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.521345"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.521345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.522843"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.522843"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.525503"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.525503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.527441"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:38.527441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:38.529680"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.529680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.531456"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:38.531456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:38.532974"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.532974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.535738"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$9NgBg2i3BRnKtUV0iC74tuqo5mvL60FPEP/07.zexAXkJ0J0SSmGW"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.535738"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user19@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:38.535738"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$9NgBg2i3BRnKtUV0iC74tuqo5mvL60FPEP/07.zexAXkJ0J0SSmGW"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.535738"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.551092"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:38.551092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.552852"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.552852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.554697"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.554697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.556097"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.556097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.557753"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.557753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.559151"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:38.559151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:38.560561"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.560561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.562049"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:38.562049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:38.563758"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.563758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.565599"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$cbI6EYhjSB.Bw8fCut/mbOcMl0uHPiL.fD5oZ04yWUt7WJ7XVd6dW"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.565599"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user20@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:38.565599"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$cbI6EYhjSB.Bw8fCut/mbOcMl0uHPiL.fD5oZ04yWUt7WJ7XVd6dW"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.565599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.574779"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:38.574779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.576405"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.576405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.578135"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.578135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.580013"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.580013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.581523"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.581523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.582856"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:38.582856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:38.585202"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.585202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.587110"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:38.587110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:38.588709"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.588709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.590549"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$dOXjSJmWMm96k93u6fEEsupwndsBD7Q60LV5aArr90fasgVeiWEui"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.590549"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user21@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:38.590549"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$dOXjSJmWMm96k93u6fEEsupwndsBD7Q60LV5aArr90fasgVeiWEui"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.590549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.596627"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:38.596627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.602935"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:38.602935"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.604841"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.604841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.606516"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.606516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.607783"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.607783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.609108"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.609108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.610838"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:38.610838"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:38.612587"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.612587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.613850"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:38.613850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:38.615278"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.615278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.617183"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$Ke0bLiyJZCH.jbVE5YMBZOwqpUI5HkNzJxqHIxD2.iL0TrB7uiZC2"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.617183"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user23@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:38.617183"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$Ke0bLiyJZCH.jbVE5YMBZOwqpUI5HkNzJxqHIxD2.iL0TrB7uiZC2"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.617183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.623116"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:38.623116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.629788"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:38.629788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.631525"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.631525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.633285"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.633285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.635170"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.635170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.637399"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.637399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.639324"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:38.639324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:38.641159"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.641159"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.642972"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:38.642972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:38.644860"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.644860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.647042"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$.9.phz3KDITDIfD9jC8MSuIaDQzT6c0TGRkBzvlA/VoNu.mD7mSHq"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.647042"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user25@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:38.647042"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$.9.phz3KDITDIfD9jC8MSuIaDQzT6c0TGRkBzvlA/VoNu.mD7mSHq"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.647042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.653371"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:38.653371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.660349"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:38.660349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.662048"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.662048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.663967"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.663967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.665365"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.665365"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.668405"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.668405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.671048"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:38.671048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:38.672606"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.672606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.673915"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:38.673915"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:38.675728"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.675728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.677662"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$ld7/SNot0fiGW5FcRqLeC.tqZGDxQW/G6XEQpsZvnRRkTwNVeyuP6"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.677662"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user27@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:38.677662"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$ld7/SNot0fiGW5FcRqLeC.tqZGDxQW/G6XEQpsZvnRRkTwNVeyuP6"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.677662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.687153"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:38.687153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.688985"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.688985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.691080"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.691080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.692859"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.692859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.694908"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.694908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.696623"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:38.696623"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:38.698800"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.698800"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.700794"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:38.700794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:38.702942"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.702942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.705379"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$mZzJz8PUDLevCjtw77azMe63.P8RvS7Y260I9CoHlSW6yGsO4dgsK"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.705379"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user28@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:38.705379"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$mZzJz8PUDLevCjtw77azMe63.P8RvS7Y260I9CoHlSW6yGsO4dgsK"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.705379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.715609"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:38.715609"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.718504"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.718504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.720763"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.720763"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.722810"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.722810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.724533"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.724533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.726102"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:38.726102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:38.727543"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.727543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.728749"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:38.728749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:38.730085"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.730085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.732232"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$Srn5.qFrxo3SvTbcu9LMEulg2WWJi7NhICpQZkD61JMw1NACEgrmO"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.732232"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user29@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:38.732232"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$Srn5.qFrxo3SvTbcu9LMEulg2WWJi7NhICpQZkD61JMw1NACEgrmO"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.732232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.743991"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:38.743991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.746053"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.746053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.752883"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.752883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.755777"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.755777"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.759997"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.759997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.763461"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$.lu8PEYqXlvgBESLR04t/OWXmvGptn92cdMAlHSbvbRY5juy5P9ty"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.763461"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.770685"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:38.770685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.772240"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.772240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.774015"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.774015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.775305"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.775305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.776484"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.776484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.778813"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$lzpn1ddYvuwR8Jredf5SZeIs0s1OPqz5mm7toWoQhUxxw452q6HVq"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.778813"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.785157"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:38.785157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.786807"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.786807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.788560"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.788560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.790124"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.790124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.792383"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.792383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.794493"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$Pn6VBfEN8Suau02Mr21obezwpaXDDOMmC.JK05HEQEZXv7fyz1XcC"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.794493"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.800807"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:38.800807"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.802814"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.802814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.804394"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.804394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.805704"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.805704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.808426"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.808426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.811048"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$9VC3rXsJVNPgjDXWt4hXsOBJ09qItJ5ax5pLRCZuvDVB56l.YRN2m"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.811048"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.817305"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:38.817305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.819941"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.819941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.821709"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.821709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.823717"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.823717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.825786"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.825786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.827893"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$JPjpQjHXldelVZz4VIQdJe4Oj3PeETXAzNHTbupxriXd3WHpPOL1q"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.827893"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.834064"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:38.834064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.836362"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.836362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.838286"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.838286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.839901"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.839901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.842695"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.842695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.844912"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$8a871AaWIZx2AW1KGDf.9OFN8IIWeZcQlVkMttpxEDng7rAj2BOW6"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.844912"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.851527"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:38.851527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.853682"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.853682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.855786"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.855786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.857962"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.857962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.860696"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.860696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.863437"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$I/9reAA//g5cmSYRfgPH3O2PsTFE7W9KIOl696fHVtwldwCG3n95y"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.863437"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.871369"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:38.871369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.873039"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.873039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.874841"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.874841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.876046"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.876046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.877822"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.877822"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user37@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.880410"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$7niEsGGVEW3JKsjyf5eLLe7sClvmy2vtYuTP6EGPgHhO9ZRGdtXqC"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.880410"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.887119"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:38.887119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.888769"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.888769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:38.890782"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.890782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.893093"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:38.893093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:38.895630"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.895630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.897154"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:38.897154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:38.898730"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.898730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.899824"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:38.899824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:38.901897"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.901897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:38.904821"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$Q55.fU9lBMtlXWEvQOehL.vl5uMbf7hqiI9nCOCflTHAoNQTl2zjG"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.904821"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user38@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:38.904821"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$Q55.fU9lBMtlXWEvQOehL.vl5uMbf7hqiI9nCOCflTHAoNQTl2zjG"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:38.904821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:38.909054"], ["title", "Site Title 5"], ["updated_at", "2014-05-27 00:11:38.909054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user38@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:11:38.972076"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:11:38.972076"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:11:38.972523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:38 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.5ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 10.8ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.003854"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:39.003854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user39@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.005651"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$c9Y7R8gTXuo9N53wH7E9vucggvnv2se9/.W0nDNJnWETCk6wcOp9W"], ["role_id", 2], ["updated_at", "2014-05-27 00:11:39.005651"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Page Exists (1.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 "storytime_pages"."slug" = 'page-9' LIMIT 1 Storytime::Page Exists (0.5ms) 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" = 'page-9') LIMIT 1 SQL (0.5ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.022537"], ["published", "t"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-27 00:11:39.022537"], ["user_id", 2]] Storytime::Version Load (0.8ms) 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.8ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:11:39.048986"], ["updated_at", "2014-05-27 00:11:39.048986"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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.4ms) UPDATE "storytime_pages" SET "content" = 'Page #9. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-9' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (1.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.084358"], ["slug", "page-9"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.096057"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:39.096057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.099914"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$h.y6/GcYtZmBvG4q4nmT6O563wIZqKcyTyuQp6jzzSdvLTQ2nARFu"], ["role_id", 3], ["updated_at", "2014-05-27 00:11:39.099914"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-10' 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" = 'page-10') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.110342"], ["published", "t"], ["slug", "page-10"], ["title", "Page #10"], ["updated_at", "2014-05-27 00:11:39.110342"], ["user_id", 3]] 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::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:11:39.113152"], ["updated_at", "2014-05-27 00:11:39.113152"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.3ms) UPDATE "storytime_pages" SET "content" = 'Page #10. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 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::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" = 'page-10' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.119437"], ["slug", "page-10"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.123957"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:39.123957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.128619"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$T9MXhuK5LgEAQfatF3UsPu2J8ab/uY8sNaioDQxh/ph9i5IRZcb1K"], ["role_id", 4], ["updated_at", "2014-05-27 00:11:39.128619"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-11' 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" = 'page-11') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.137457"], ["published", "t"], ["slug", "page-11"], ["title", "Page #11"], ["updated_at", "2014-05-27 00:11:39.137457"], ["user_id", 4]] 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::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:11:39.140962"], ["updated_at", "2014-05-27 00:11:39.140962"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #11. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 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::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" = 'page-11' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.147435"], ["slug", "page-11"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:11:39 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (2.7ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 16.6ms | ActiveRecord: 0.7ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.188421"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:39.188421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.191352"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:39.191352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:39.193351"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.193351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.195512"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:39.195512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:39.197908"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.197908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.201152"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:39.201152"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:39.204308"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.204308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.207396"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:39.207396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:39.210281"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.210281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user42@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.213806"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$NvadUO6PutEsR.PowVf6aOElid6Qo9sLTD82y.IERQWDgFZTiUQBG"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.213806"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user42@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:39.213806"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$NvadUO6PutEsR.PowVf6aOElid6Qo9sLTD82y.IERQWDgFZTiUQBG"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.213806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.221742"], ["title", "Site Title 6"], ["updated_at", "2014-05-27 00:11:39.221742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user42@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user42@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:11:39.239868"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:11:39.239868"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:11:39.240319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:39 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.269803"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:39.269803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user43@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.271740"], ["email", "user43@example.com"], ["encrypted_password", "$2a$04$tre1Chlh3DgluiLva95vDOi4kZB5VWRy6YW8qfvTDZmoQ3a4yO8E2"], ["role_id", 2], ["updated_at", "2014-05-27 00:11:39.271740"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-12' 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" = 'page-12') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.275416"], ["published", "f"], ["slug", "page-12"], ["title", "Page #12"], ["updated_at", "2014-05-27 00:11:39.275416"], ["user_id", 2]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #12. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:11:39.277481"], ["updated_at", "2014-05-27 00:11:39.277481"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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" = 'page-12' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.280043"], ["slug", "page-12"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-12/edit" for 127.0.0.1 at 2014-05-26 19:11:39 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-12"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-12' 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:39 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.7ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.310073"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:39.310073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.311712"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:39.311712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:39.313350"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.313350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.314789"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:39.314789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:39.317301"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.317301"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.319511"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:39.319511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:39.321376"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.321376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.322839"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:39.322839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:39.324168"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.324168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user44@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.325976"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$I7kcG81AGfEN2xxMXfdaAeKSRthHQn6thQz4wGSJ7QiNeDsskQBwa"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.325976"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user44@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:39.325976"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$I7kcG81AGfEN2xxMXfdaAeKSRthHQn6thQz4wGSJ7QiNeDsskQBwa"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.325976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.330057"], ["title", "Site Title 7"], ["updated_at", "2014-05-27 00:11:39.330057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user44@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user44@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:11:39.345249"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:11:39.345249"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:11:39.345647"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:39 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-26 19:11:39 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (1.9ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (7.5ms) Storytime::Media Load (0.6ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.5ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (17.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (31.5ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 49ms (Views: 40.0ms | ActiveRecord: 2.2ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:11:39 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night..."}, "commit"=>"Create Page"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.443163"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-27 00:11:39.443163"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:11:39.445966"], ["updated_at", "2014-05-27 00:11:39.445966"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.449034"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 20ms (ActiveRecord: 1.7ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-26 19:11:39 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.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", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (6.8ms) 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (10.4ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 34ms (Views: 28.0ms | ActiveRecord: 1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.515872"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:39.515872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.517535"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:39.517535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:39.519286"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.519286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.520546"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:39.520546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:39.521762"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.521762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.523429"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:39.523429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:39.525104"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.525104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.526247"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:39.526247"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:39.527874"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.527874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user45@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:39.529845"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$BS3uogTea6PfhZWh6u6SXe45ny3yGZ8TAC0ovizxIYWKiMfPvn0Gm"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.529845"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user45@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:39.529845"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$BS3uogTea6PfhZWh6u6SXe45ny3yGZ8TAC0ovizxIYWKiMfPvn0Gm"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:39.529845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:39.534451"], ["title", "Site Title 8"], ["updated_at", "2014-05-27 00:11:39.534451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:42 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 19:11:42 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 19:11:42 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user45@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user45@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:11:42.284185"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:11:42.284185"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:11:42.285243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:64871/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:42 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:42.361435"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:42.361435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user46@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:42.363614"], ["email", "user46@example.com"], ["encrypted_password", "$2a$04$bM86vQjW2xxXGCzfHx.rn.uulNcFMtXW8EsFB63o00CVs.vMIVaMO"], ["role_id", 2], ["updated_at", "2014-05-27 00:11:42.363614"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-13' 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" = 'page-13') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:42.367205"], ["published", "t"], ["slug", "page-13"], ["title", "Page #13"], ["updated_at", "2014-05-27 00:11:42.367205"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #13. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:11:42.369210"], ["updated_at", "2014-05-27 00:11:42.369210"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #13. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-13' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:11:42.372877"], ["slug", "page-13"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:42.376095"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:42.376095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user47@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:42.378090"], ["email", "user47@example.com"], ["encrypted_password", "$2a$04$gEaaXEv3u2OA3ThffdgvcOAGQjNieOvqltQe/JEcGWNfTQ2wEWGzu"], ["role_id", 3], ["updated_at", "2014-05-27 00:11:42.378090"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-14' 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" = 'page-14') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:42.382628"], ["published", "t"], ["slug", "page-14"], ["title", "Page #14"], ["updated_at", "2014-05-27 00:11:42.382628"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #14. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:11:42.384669"], ["updated_at", "2014-05-27 00:11:42.384669"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #14. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-14' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:11:42.387955"], ["slug", "page-14"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:42.391181"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:42.391181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user48@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:42.395747"], ["email", "user48@example.com"], ["encrypted_password", "$2a$04$pjRniRj55zBoo1boaj/6I.Rtosl2s2n.pOl0k5WdN7IM/C0Mx1Lc6"], ["role_id", 4], ["updated_at", "2014-05-27 00:11:42.395747"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-15' 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" = 'page-15') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:42.400939"], ["published", "t"], ["slug", "page-15"], ["title", "Page #15"], ["updated_at", "2014-05-27 00:11:42.400939"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #15. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:11:42.403003"], ["updated_at", "2014-05-27 00:11:42.403003"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #15. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-15' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:11:42.406460"], ["slug", "page-15"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:11:42 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (1.5ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.3ms | ActiveRecord: 0.6ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 19:11:42 -0500 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.437459"], ["title", "Site Title 9"], ["updated_at", "2014-05-27 00:11:45.437459"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.441236"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.441236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user49@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.443700"], ["email", "user49@example.com"], ["encrypted_password", "$2a$04$ZSRWU1sLRcDREYcy1gXneuyc1fuS46wfbs.Ah/5kEE78aWfucyPmu"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.443700"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.457092"], ["title", "Site Title 10"], ["updated_at", "2014-05-27 00:11:45.457092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.460845"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.460845"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user50@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.463348"], ["email", "user50@example.com"], ["encrypted_password", "$2a$04$cl/gsjpLjPVOVi9gA1oexe/yLNUQAO/qwbOtmzfcpWFYJYLqzyPHa"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.463348"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.478440"], ["title", "Site Title 11"], ["updated_at", "2014-05-27 00:11:45.478440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.482118"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.482118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user51@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.484640"], ["email", "user51@example.com"], ["encrypted_password", "$2a$04$Hi4C2jxPUTCiqV3i6hgW7uERYWe5cs4lLxAtFlY5b8fixpxqYjOtW"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.484640"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.499575"], ["title", "Site Title 12"], ["updated_at", "2014-05-27 00:11:45.499575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.502822"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.502822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user52@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.504893"], ["email", "user52@example.com"], ["encrypted_password", "$2a$04$yxZo2bgvoTok/B5bqMD0.OsC6sjkkEC4HfNo7exR/bI/nBCDBaA7."], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.504893"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.521066"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.521066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user53@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.524420"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$ofhCpUiX4Ur1Dx9WHPfUB.6RJ/hu75RTTwclT/ZE/6oReqzu8bHuG"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.524420"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.530732"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.530732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user54@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.533161"], ["email", "user54@example.com"], ["encrypted_password", "$2a$04$uJ1ia5nrKwXyzyuwTP13Ee929X8bUGk1bJdM/JXvjqFkwM7aNWUgO"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.533161"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.539217"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.539217"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user55@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.541502"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$UyMevi9FGfbaErnC1NNBH.6a5PpENQXygzO.bK1b6QMQwij/7mPMC"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.541502"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.548343"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.548343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user56@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.550731"], ["email", "user56@example.com"], ["encrypted_password", "$2a$04$NIQrAOX0TK5iUHIJ1Ylj8.xe7sjv/cnzOaXv104I90tzV/Tj4mBI2"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.550731"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.558949"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.558949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.561671"], ["email", "user57@example.com"], ["encrypted_password", "$2a$04$h.MDdRlmsKgYb8YjRrhNvuagJ1Fgp.fDiXgJIrjCmaw0Sq/xmgb5m"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.561671"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.568319"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.568319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user58@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.570663"], ["email", "user58@example.com"], ["encrypted_password", "$2a$04$LMRZNHGjHWOEz5kaClNqR.5I9Xl.I1a/0lMzusiGOWPlrP03sK9kC"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.570663"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.579295"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.579295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.581322"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.581322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.583491"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.583491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user59@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.585546"], ["email", "user59@example.com"], ["encrypted_password", "$2a$04$bjAaZqKyz39bludBXhEf5OwpTSplQ/f6Y2nQvuaa/SO1EtSwLICc6"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.585546"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.592432"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.592432"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.594259"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.594259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.596287"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.596287"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user60@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.598624"], ["email", "user60@example.com"], ["encrypted_password", "$2a$04$hNGgSDTAjsknl/9KDH8ZYOasR9fKl0CtsEhNO/qrQIS6wnf.K7HnG"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.598624"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.606197"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.606197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.608189"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.608189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.610269"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.610269"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user61@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.612722"], ["email", "user61@example.com"], ["encrypted_password", "$2a$04$cIJlQwIvPQllrG4sTI6MuOtcWs2TFCSgImoLMvGZ/zpfVs1oTBC62"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.612722"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.619938"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.619938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.621886"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.621886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.623658"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.623658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user62@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.625812"], ["email", "user62@example.com"], ["encrypted_password", "$2a$04$Z1ZjkvI4VhMOgW2ktWqrIest3mc9LXlF5ceqP1UdxJ7Px2/jSoovu"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.625812"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.632752"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.632752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.634730"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.634730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.637269"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.637269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user63@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.639535"], ["email", "user63@example.com"], ["encrypted_password", "$2a$04$zi1Sz5Y0d.bTPyXaEu4vK./WrQTpuIJ/vlz5KAtmcVPcypUvnvHYS"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.639535"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.646776"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.646776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.649124"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.649124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.651130"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.651130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user64@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.653419"], ["email", "user64@example.com"], ["encrypted_password", "$2a$04$We0eg3faCGsi0CoVQW2y7.4F/VjHu5m3Yt.Sn7V8A0yFXKdo95t0q"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.653419"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.661158"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.661158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.663555"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.663555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.666082"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.666082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user65@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.668580"], ["email", "user65@example.com"], ["encrypted_password", "$2a$04$VJaCweYe6pnyFdk1AyShC.dc3yEXcl9McWzjE9Jyn1usYlSEh.NoW"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.668580"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.676485"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.676485"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.678341"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.678341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.680522"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.680522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user66@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.685138"], ["email", "user66@example.com"], ["encrypted_password", "$2a$04$5QEy.OyQi6svrDz1Fes9aOBC4j/VVzoqP9fvt0DV3c/WqS1b2LABq"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.685138"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.694166"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:45.694166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.697043"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.697043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.700141"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.700141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.701447"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.701447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:45.702658"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.702658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.703721"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:45.703721"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:45.705576"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.705576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.706841"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:45.706841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:45.708024"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.708024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user67@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.709657"], ["email", "user67@example.com"], ["encrypted_password", "$2a$04$/5sTcb3otf9R4XRIbhewOOfhhd5a.7wG0rreChVynBDOVU1FL8Fbm"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.709657"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user67@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:45.709657"], ["email", "user67@example.com"], ["encrypted_password", "$2a$04$/5sTcb3otf9R4XRIbhewOOfhhd5a.7wG0rreChVynBDOVU1FL8Fbm"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.709657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.741426"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:45.741426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.743149"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.743149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.744687"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.744687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.745847"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.745847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:45.747639"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.747639"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.749491"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:45.749491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:45.751052"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.751052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.752464"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:45.752464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:45.753821"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.753821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user68@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.755593"], ["email", "user68@example.com"], ["encrypted_password", "$2a$04$Uyv9cF4sEDkX7ldeRJD.gup2bWYMl2buYpD6X.lT/2ABQxQQZ/Kxe"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.755593"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user68@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:45.755593"], ["email", "user68@example.com"], ["encrypted_password", "$2a$04$Uyv9cF4sEDkX7ldeRJD.gup2bWYMl2buYpD6X.lT/2ABQxQQZ/Kxe"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.755593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.765779"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:45.765779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.767429"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.767429"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.770151"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.770151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.772340"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.772340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:45.774873"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.774873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.776545"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:45.776545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:45.778405"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.778405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.779798"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:45.779798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:45.781312"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.781312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user69@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.783299"], ["email", "user69@example.com"], ["encrypted_password", "$2a$04$Ty7ncd4yTyiLiIbNLUwLjeFRfeG8WTmg.OE1.KQjeQN9g3rxfeyqC"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.783299"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user69@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:45.783299"], ["email", "user69@example.com"], ["encrypted_password", "$2a$04$Ty7ncd4yTyiLiIbNLUwLjeFRfeG8WTmg.OE1.KQjeQN9g3rxfeyqC"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.783299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.789859"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.789859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.797530"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:45.797530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.799700"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.799700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.801473"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.801473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.802684"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.802684"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:45.804009"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.804009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.805271"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:45.805271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:45.806649"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.806649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.807768"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:45.807768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:45.808993"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.808993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user71@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.811561"], ["email", "user71@example.com"], ["encrypted_password", "$2a$04$BcQxsOJ6twtUUs.cnwNCdOkSzJVAeIkZouPCL9iNUj3vwmKAF9che"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.811561"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user71@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:45.811561"], ["email", "user71@example.com"], ["encrypted_password", "$2a$04$BcQxsOJ6twtUUs.cnwNCdOkSzJVAeIkZouPCL9iNUj3vwmKAF9che"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.811561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.817190"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.817190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.824864"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:45.824864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.826511"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.826511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.828512"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.828512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.830195"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.830195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:45.831686"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.831686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.833513"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:45.833513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:45.834952"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.834952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.836201"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:45.836201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:45.837471"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.837471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user73@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.839469"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$dhA8J9DLPdC/6WBqZDh7auZCW6JAtPUMpU0NxMiobzwd46JKmQbeS"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.839469"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user73@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:45.839469"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$dhA8J9DLPdC/6WBqZDh7auZCW6JAtPUMpU0NxMiobzwd46JKmQbeS"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.839469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.845488"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:45.845488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.854420"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:45.854420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.856117"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.856117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.858597"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.858597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.859985"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.859985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:45.861377"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.861377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.862891"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:45.862891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:45.864316"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.864316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.865530"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:45.865530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:45.866858"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.866858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user75@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.869048"], ["email", "user75@example.com"], ["encrypted_password", "$2a$04$t7lO4HZ0DpOB9P3suNgOfO.AhNguKug5oBSjQU0P2YtSo8bsjVTc6"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.869048"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user75@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:45.869048"], ["email", "user75@example.com"], ["encrypted_password", "$2a$04$t7lO4HZ0DpOB9P3suNgOfO.AhNguKug5oBSjQU0P2YtSo8bsjVTc6"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.869048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.878051"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:45.878051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.880786"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.880786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.883234"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.883234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.885097"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.885097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:45.887208"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.887208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.888600"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:45.888600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:45.889791"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.889791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.890897"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:45.890897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:45.893058"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.893058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user76@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.895083"], ["email", "user76@example.com"], ["encrypted_password", "$2a$04$5RDS1UQjnp0g.ndys6Jat.5OXmDZjrYM8Wm0WZ2ssePPLAqOH8eLW"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.895083"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user76@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:45.895083"], ["email", "user76@example.com"], ["encrypted_password", "$2a$04$5RDS1UQjnp0g.ndys6Jat.5OXmDZjrYM8Wm0WZ2ssePPLAqOH8eLW"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.895083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.905186"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:45.905186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.906841"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.906841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.908794"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.908794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.910135"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.910135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:45.911651"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.911651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.912950"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:45.912950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:45.914233"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.914233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.915277"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:45.915277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:45.917834"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.917834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user77@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.919790"], ["email", "user77@example.com"], ["encrypted_password", "$2a$04$7I64nuX3dMV82fqCTchSTuHBYavFMjSJjY5tPa36JYx8FCf0WpJ72"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.919790"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user77@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:45.919790"], ["email", "user77@example.com"], ["encrypted_password", "$2a$04$7I64nuX3dMV82fqCTchSTuHBYavFMjSJjY5tPa36JYx8FCf0WpJ72"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.919790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.929229"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:45.929229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.930910"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.930910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.932556"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.932556"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.934175"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.934175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:45.935779"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.935779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user78@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.937756"], ["email", "user78@example.com"], ["encrypted_password", "$2a$04$L94HJk4Sg2rus6DDg/kZfuQFWVEPS.f4LgSrXE8Pu.ROFAar5jACS"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.937756"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.944430"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:45.944430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.946032"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.946032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.947662"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.947662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.948876"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.948876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:45.950385"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.950385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user79@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.952869"], ["email", "user79@example.com"], ["encrypted_password", "$2a$04$L2119V1DnhGEO0IC3QMxuuk6vZ/vRrz9JNQba0NefB1zxSnh/P5VO"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.952869"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.959021"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:45.959021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.960686"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.960686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.962340"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.962340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.964965"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.964965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:45.966658"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.966658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user80@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.968575"], ["email", "user80@example.com"], ["encrypted_password", "$2a$04$33PP5TePx3fVh1B1qrUEduFi9aNRrMjTCKf8xwJ276GUq4jvvZSAm"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.968575"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.975062"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:45.975062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.977186"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.977186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.979028"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.979028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.980208"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.980208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:45.982352"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.982352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user81@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:45.984319"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$oV1G138Sz3DiMGf3nzkJ4uiHVw4aVDsDbfUNk/rfyNXlgLo7L/H/u"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.984319"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.991496"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:45.991496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.993236"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.993236"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:45.994879"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.994879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:45.996104"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:45.996104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:45.997833"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:45.997833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user82@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.000268"], ["email", "user82@example.com"], ["encrypted_password", "$2a$04$6ilO9.qzHb5lSC6Boxt7VuvDovKp.APEqLZq8a57LFPd4px1P8KDO"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.000268"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.006375"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:46.006375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.007947"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:46.007947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:46.009662"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.009662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.010883"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:46.010883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:46.012147"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.012147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user83@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.014895"], ["email", "user83@example.com"], ["encrypted_password", "$2a$04$pl7Th/zog4xGabe3CAMsfepdNaMh97gpglHx2iZTFjQ.Ar1Qjwdbi"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.014895"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.021503"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:46.021503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.023312"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:46.023312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:46.025198"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.025198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.026910"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:46.026910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:46.028538"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.028538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user84@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.030382"], ["email", "user84@example.com"], ["encrypted_password", "$2a$04$azGsNeaMMFlkpnTtfn9AJeiSEt4pcZNGUjFYQp4dqOT.jHEdlwHgi"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.030382"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.036274"], ["name", "editor"], ["updated_at", "2014-05-27 00:11:46.036274"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.037835"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:46.037835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:46.040295"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.040295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.041744"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:46.041744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:46.043226"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.043226"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user85@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.045174"], ["email", "user85@example.com"], ["encrypted_password", "$2a$04$qsW7xkWZByCm/rUG6he9xO.3R2s1PzHmFrtHGbii9SUYBs2d0VwRq"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.045174"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.052079"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:46.052079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.053710"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:46.053710"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:46.055409"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.055409"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.056626"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:46.056626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:46.058288"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.058288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.059724"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:46.059724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:46.060966"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.060966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.062513"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:46.062513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:46.064159"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.064159"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user86@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.066101"], ["email", "user86@example.com"], ["encrypted_password", "$2a$04$fNHKYSJ8NH3D1N8x.ixFkeKk7AWjYJxrBgA5/FjrF40SzDVwM69cG"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.066101"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user86@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:46.066101"], ["email", "user86@example.com"], ["encrypted_password", "$2a$04$fNHKYSJ8NH3D1N8x.ixFkeKk7AWjYJxrBgA5/FjrF40SzDVwM69cG"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.066101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.071512"], ["title", "Site Title 13"], ["updated_at", "2014-05-27 00:11:46.071512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user86@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user86@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:11:46.095099"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:11:46.095099"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:11:46.096392"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:46 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.126434"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:46.126434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user87@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.128224"], ["email", "user87@example.com"], ["encrypted_password", "$2a$04$fm3krdr8hSxBBJ6pnIlH7ukeViQg5mUwc1F2i1KNFOBhhuKTwUjoa"], ["role_id", 2], ["updated_at", "2014-05-27 00:11:46.128224"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.130395"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-27 00:11:46.130395"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:11:46.134348"], ["updated_at", "2014-05-27 00:11:46.134348"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #9. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.138443"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:46.138443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user88@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.140137"], ["email", "user88@example.com"], ["encrypted_password", "$2a$04$0AFfYDgTeafDWZEG6v3lg.8WFb.FdM7dzyr4ROvQ0VFmlQZ3DBtlu"], ["role_id", 3], ["updated_at", "2014-05-27 00:11:46.140137"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.142088"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-27 00:11:46.142088"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:11:46.143748"], ["updated_at", "2014-05-27 00:11:46.143748"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #10. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.147683"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:46.147683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user89@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.149475"], ["email", "user89@example.com"], ["encrypted_password", "$2a$04$oU4YleDQwgj3DuQCzVAYt.pl92JWC52T8inlm.WIH4f5qLI0mQieK"], ["role_id", 4], ["updated_at", "2014-05-27 00:11:46.149475"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.151548"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "t"], ["title", "Post #11"], ["updated_at", "2014-05-27 00:11:46.151548"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:11:46.153220"], ["updated_at", "2014-05-27 00:11:46.153220"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #11. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:11:46 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.6ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 13.2ms | ActiveRecord: 0.7ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.194031"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:46.194031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.195623"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:46.195623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:46.197187"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.197187"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.198387"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:46.198387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:46.199949"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.199949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.202371"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:46.202371"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:46.204782"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.204782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.206292"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:46.206292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:46.208326"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.208326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user90@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.210306"], ["email", "user90@example.com"], ["encrypted_password", "$2a$04$iYti5fhyMUoYQDpKkdv0D.vWceFbl1uQMoXwCxVEs5vIMQzGsEUj2"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.210306"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user90@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:46.210306"], ["email", "user90@example.com"], ["encrypted_password", "$2a$04$iYti5fhyMUoYQDpKkdv0D.vWceFbl1uQMoXwCxVEs5vIMQzGsEUj2"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.210306"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.214279"], ["title", "Site Title 14"], ["updated_at", "2014-05-27 00:11:46.214279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user90@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user90@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:11:46.228953"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:11:46.228953"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:11:46.229375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:46 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.258405"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:46.258405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user91@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.260275"], ["email", "user91@example.com"], ["encrypted_password", "$2a$04$dkWgfZztBMdpcU2qjEFgwe2mRJo3XbTSJq561MEbtEiYok97JDW6O"], ["role_id", 2], ["updated_at", "2014-05-27 00:11:46.260275"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.262295"], ["excerpt", "Post #12. It was a dark and stormy night."], ["published", "f"], ["title", "Post #12"], ["updated_at", "2014-05-27 00:11:46.262295"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #12. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:11:46.264149"], ["updated_at", "2014-05-27 00:11:46.264149"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:11:46 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Redirected to http://www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:46 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.7ms)  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.310720"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:46.310720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.312347"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:46.312347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:46.313994"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.313994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.315269"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:46.315269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:46.317692"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.317692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.319657"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:46.319657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:46.321490"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.321490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.323037"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:46.323037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:46.324298"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.324298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user92@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.326001"], ["email", "user92@example.com"], ["encrypted_password", "$2a$04$WGfhP1EltfTpDuQRDJI/Cu2yTujiYKF3m/NJHQcbxLP1qsvHzi5hi"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.326001"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user92@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:46.326001"], ["email", "user92@example.com"], ["encrypted_password", "$2a$04$WGfhP1EltfTpDuQRDJI/Cu2yTujiYKF3m/NJHQcbxLP1qsvHzi5hi"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.326001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.330090"], ["title", "Site Title 15"], ["updated_at", "2014-05-27 00:11:46.330090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user92@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user92@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:11:46.344915"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:11:46.344915"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:11:46.345492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:46 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 19:11:46 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (1.8ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (17.6ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 35ms (Views: 26.9ms | ActiveRecord: 1.1ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:11:46 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.425695"], ["excerpt", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-27 00:11:46.425695"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:11:46.427557"], ["updated_at", "2014-05-27 00:11:46.427557"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 10ms (ActiveRecord: 0.9ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:11:46 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.4ms) 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::Post"]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (1.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", 1], ["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", 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (11.9ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 22.7ms | ActiveRecord: 1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.500965"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:46.500965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.502993"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:46.502993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:46.504794"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.504794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.506083"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:46.506083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:46.507409"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.507409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.510251"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:46.510251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:46.512446"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.512446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.514251"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:46.514251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:46.515650"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.515650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user93@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.518134"], ["email", "user93@example.com"], ["encrypted_password", "$2a$04$Ku0QQzrrHuYnnXgfR2tQ0OsYfRa81JKwx9nhwEaQO0JWO5d8vqnxS"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.518134"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user93@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:46.518134"], ["email", "user93@example.com"], ["encrypted_password", "$2a$04$Ku0QQzrrHuYnnXgfR2tQ0OsYfRa81JKwx9nhwEaQO0JWO5d8vqnxS"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:46.518134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.522995"], ["title", "Site Title 16"], ["updated_at", "2014-05-27 00:11:46.522995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user93@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user93@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:11:46.636362"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:11:46.636362"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:11:46.637325"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:64871/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:46 -0500 Storytime::Site Load (0.4ms) 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 12.6ms | ActiveRecord: 1.2ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.730715"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:46.730715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user94@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.732941"], ["email", "user94@example.com"], ["encrypted_password", "$2a$04$k4piWjWAn5TQHxq3zEanoej6LNX2MISqcnmXHfZ.NLGYKRsCJ3Lc2"], ["role_id", 2], ["updated_at", "2014-05-27 00:11:46.732941"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.735259"], ["excerpt", "Post #13. It was a dark and stormy night."], ["published", "t"], ["title", "Post #13"], ["updated_at", "2014-05-27 00:11:46.735259"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #13. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:11:46.737210"], ["updated_at", "2014-05-27 00:11:46.737210"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #13. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.741782"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:46.741782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user95@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.744209"], ["email", "user95@example.com"], ["encrypted_password", "$2a$04$ddgPpkbed6QuF.6nMGmieeRi1UHQ5VHBrmclO4LsWeAX1c.TSv2oG"], ["role_id", 3], ["updated_at", "2014-05-27 00:11:46.744209"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.746495"], ["excerpt", "Post #14. It was a dark and stormy night."], ["published", "t"], ["title", "Post #14"], ["updated_at", "2014-05-27 00:11:46.746495"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #14. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:11:46.748785"], ["updated_at", "2014-05-27 00:11:46.748785"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #14. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:46.753583"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:46.753583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user96@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.755467"], ["email", "user96@example.com"], ["encrypted_password", "$2a$04$EfvFAB1ofoNpoV066jWj3ulK5Jz/t4P7nUP0899uoyiMzryM5RI3i"], ["role_id", 4], ["updated_at", "2014-05-27 00:11:46.755467"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:46.757981"], ["excerpt", "Post #15. It was a dark and stormy night."], ["published", "t"], ["title", "Post #15"], ["updated_at", "2014-05-27 00:11:46.757981"], ["user_id", 4]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #15. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:11:46.760831"], ["updated_at", "2014-05-27 00:11:46.760831"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #15. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:11:46 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (1.8ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 0.7ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.781749"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:49.781749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user97@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:49.784118"], ["email", "user97@example.com"], ["encrypted_password", "$2a$04$X7aZVYrWoJXp.5aR.x/r7.u.GCs1tO2vK2FKcdhdYQW6kFfFmaPZq"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:49.784118"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.790245"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:49.790245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user98@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:49.792839"], ["email", "user98@example.com"], ["encrypted_password", "$2a$04$0F13xrNPgX79BmOiRcVzIeBdw/DJ9rPTrv3/jJYhb.ejyHvLcfzXC"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:49.792839"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.799005"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:49.799005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user99@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:49.801117"], ["email", "user99@example.com"], ["encrypted_password", "$2a$04$PVcsfdCBoPLDYDf4V0U73uc8qN/JRgOn.a3N2PigMQUcfDYiF22rK"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:49.801117"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.807213"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:49.807213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.808835"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:49.808835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:49.811331"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:49.811331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.813037"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:49.813037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:49.815113"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:49.815113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.816638"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:49.816638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:49.817911"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:49.817911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.819070"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:49.819070"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:49.820263"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:49.820263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user100@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:49.821997"], ["email", "user100@example.com"], ["encrypted_password", "$2a$04$R.mhWyih7bZjrNuqkJ8xzur0KOy5cDWhRNQaDIY1dEON0UA4/4nMm"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:49.821997"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user100@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:49.821997"], ["email", "user100@example.com"], ["encrypted_password", "$2a$04$R.mhWyih7bZjrNuqkJ8xzur0KOy5cDWhRNQaDIY1dEON0UA4/4nMm"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:49.821997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.825965"], ["title", "Site Title 17"], ["updated_at", "2014-05-27 00:11:49.825965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:49 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user100@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user100@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:11:49.840895"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:11:49.840895"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:11:49.841921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:49 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.870666"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:49.870666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user101@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:49.872914"], ["email", "user101@example.com"], ["encrypted_password", "$2a$04$5IKjTsZ5SJbg.Dy5HJQxy.kyQNMd0eUElu44zEDIfZt0cWe.W84gq"], ["role_id", 2], ["updated_at", "2014-05-27 00:11:49.872914"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.876348"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:49.876348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user102@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:49.878093"], ["email", "user102@example.com"], ["encrypted_password", "$2a$04$Ur7FKeFLNALvjCG90uCvAucFZVX.9D/QwtoufrEu31zHgI64xjDOq"], ["role_id", 3], ["updated_at", "2014-05-27 00:11:49.878093"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.881305"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:49.881305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user103@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:49.892043"], ["email", "user103@example.com"], ["encrypted_password", "$2a$04$.ahoW0k1Lrzb8VwItTdLbOBG7KImEoL8xJ4O83EWSvp2w0lKcRF2W"], ["role_id", 4], ["updated_at", "2014-05-27 00:11:49.892043"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:11:49 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:49 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.7ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.962033"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:49.962033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.963626"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:49.963626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:49.965284"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:49.965284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.966462"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:49.966462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:49.967806"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:49.967806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.968969"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:49.968969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:49.970777"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:49.970777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.971977"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:49.971977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:49.973174"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:49.973174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user104@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:49.974951"], ["email", "user104@example.com"], ["encrypted_password", "$2a$04$q25VNtarPF4dTRxh95ANueD3nyv/YOwemiq.2EIt5DfXW6.Wri.Ge"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:49.974951"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user104@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:49.974951"], ["email", "user104@example.com"], ["encrypted_password", "$2a$04$q25VNtarPF4dTRxh95ANueD3nyv/YOwemiq.2EIt5DfXW6.Wri.Ge"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:49.974951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:49.979261"], ["title", "Site Title 18"], ["updated_at", "2014-05-27 00:11:49.979261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:49 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user104@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user104@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:11:49.995304"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:11:49.995304"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:11:49.995799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:49 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.8ms) Started GET "/dashboard/users/new" for 127.0.0.1 at 2014-05-26 19:11:50 -0500 Processing by Storytime::Dashboard::UsersController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:50 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.7ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.054946"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:50.054946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.056576"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:50.056576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:50.058153"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:50.058153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.059405"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:50.059405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:50.060936"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:50.060936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.062860"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:50.062860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:50.064576"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:50.064576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.065938"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:50.065938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:50.067381"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:50.067381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user105@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:50.069307"], ["email", "user105@example.com"], ["encrypted_password", "$2a$04$8r9Z2dxgy2sIl3fWXyZxz.9WJ6j4AXjGXVFhZfqOC2SzpPTN6/Ayu"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:50.069307"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user105@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:50.069307"], ["email", "user105@example.com"], ["encrypted_password", "$2a$04$8r9Z2dxgy2sIl3fWXyZxz.9WJ6j4AXjGXVFhZfqOC2SzpPTN6/Ayu"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:50.069307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.073238"], ["title", "Site Title 19"], ["updated_at", "2014-05-27 00:11:50.073238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:50 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:50 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user105@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user105@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:11:50.087434"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:11:50.087434"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:11:50.087907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:50 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.118355"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:50.118355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user106@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:50.120214"], ["email", "user106@example.com"], ["encrypted_password", "$2a$04$aziQgNdODG5aV0oFjxD17OnuVxiCd7L4QryvJGYj7OxHA4S/QDFTu"], ["role_id", 2], ["updated_at", "2014-05-27 00:11:50.120214"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users/2/edit" for 127.0.0.1 at 2014-05-26 19:11:50 -0500 Processing by Storytime::Dashboard::UsersController#edit as HTML Parameters: {"id"=>"2"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] 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", 1]] Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:50 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.6ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.156046"], ["name", "admin"], ["updated_at", "2014-05-27 00:11:50.156046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.157669"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:11:50.157669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:11:50.159209"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:50.159209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.160530"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:11:50.160530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:11:50.162066"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:50.162066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.164047"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:11:50.164047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:11:50.166100"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:50.166100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.167725"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:11:50.167725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:11:50.169507"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:50.169507"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user107@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:50.171395"], ["email", "user107@example.com"], ["encrypted_password", "$2a$04$uCN4tPlvhHamQDE3tOtZc..z9TrTsgKv68rZfMDdzVTkbZyp6TTUC"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:50.171395"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user107@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:11:50.171395"], ["email", "user107@example.com"], ["encrypted_password", "$2a$04$uCN4tPlvhHamQDE3tOtZc..z9TrTsgKv68rZfMDdzVTkbZyp6TTUC"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:11:50.171395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.175260"], ["title", "Site Title 20"], ["updated_at", "2014-05-27 00:11:50.175260"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:50 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:11:50 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user107@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user107@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:11:50.284494"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:11:50.284494"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:11:50.285488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:64871/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:50 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.358094"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:50.358094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user108@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:50.360002"], ["email", "user108@example.com"], ["encrypted_password", "$2a$04$DFIyxKNi1dIymp.gP3i10umpvCVEQlYkAV0AaIAqLuatWE8mKDlQK"], ["role_id", 2], ["updated_at", "2014-05-27 00:11:50.360002"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.363304"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:50.363304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user109@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:50.365029"], ["email", "user109@example.com"], ["encrypted_password", "$2a$04$3UetP7m0txqRmO3u9RmYF.KqvDEtJkNVHAtzU0JcvWZHvYKyKFqka"], ["role_id", 3], ["updated_at", "2014-05-27 00:11:50.365029"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:50.368112"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:50.368112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user110@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:50.369686"], ["email", "user110@example.com"], ["encrypted_password", "$2a$04$Z3jiDIEyiugj54OnmCEKEOHKxqbcBDWaUxzK5QKoYePGsI42aG47i"], ["role_id", 4], ["updated_at", "2014-05-27 00:11:50.369686"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:11:50 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://127.0.0.1:64871/ Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:11:50 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" DESC LIMIT 1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:52.501667"], ["title", "Site Title 21"], ["updated_at", "2014-05-27 00:11:52.501667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:52.505060"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:52.505060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user111@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:52.507106"], ["email", "user111@example.com"], ["encrypted_password", "$2a$04$d8XpL0uMgoayf0M5md5iXOClWNZOTidMv0JEfzRA9.uSdAtsSAh5i"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:52.507106"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:52.520315"], ["title", "Site Title 22"], ["updated_at", "2014-05-27 00:11:52.520315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:11:52.523774"], ["name", "writer"], ["updated_at", "2014-05-27 00:11:52.523774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user112@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:11:52.525974"], ["email", "user112@example.com"], ["encrypted_password", "$2a$04$9Ym3EihqQIlHXklBm5W2T.qX80NiFneR/BkZRL8rjxQcw/mWI3Ahi"], ["role_id", 1], ["updated_at", "2014-05-27 00:11:52.525974"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'tony@stark.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:11:52.541295"], ["email", "tony@stark.com"], ["encrypted_password", "$2a$04$S9HGjc5INHusE3SUXeLYBeTxzLKnbSUKzgmUaUfgEoxOCFq9A9wxS"], ["updated_at", "2014-05-27 00:11:52.541295"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:07.666347"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 00:22:07.666347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:07.685249"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:07.685249"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.6ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:07.705411"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$FRPrTrDje6YdSTJkpttnn.ayh5Gj03pPKzuXSXwfqppGOMDWNp7fC"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:07.705411"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:07.721452"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:07.721452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:07.724030"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$asrI5bbE2koWVNUFP0FkX.KbHe7wRBSWZK9A2cGF6F7nghmvfRGcW"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:07.724030"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:07.731265"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:07.731265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:07.737373"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:07.737373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:07.745029"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:07.745029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:07.752134"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:07.752134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:07.753876"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:07.753876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:07.755128"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:07.755128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:07.756336"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:07.756336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:07.757778"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:07.757778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:07.759076"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:07.759076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:07.761814"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$7zkzndRZJSwnsvLH7SHA3.pkms7ufYdbpMVDQyumV03CyidwrwzMG"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:07.761814"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user3@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:07.761814"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$7zkzndRZJSwnsvLH7SHA3.pkms7ufYdbpMVDQyumV03CyidwrwzMG"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:07.761814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:07.776980"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:07.776980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:07.778204"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:07.778204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:07.779169"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:07.779169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:07.780155"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:07.780155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:07.781097"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:07.781097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:07.782043"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:07.782043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:07.782896"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:07.782896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:07.786225"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:07.786225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:07.787230"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:07.787230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:07.788140"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:07.788140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:07.789060"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:07.789060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:07.789920"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:07.789920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:07.790924"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:07.790924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:07.791882"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:07.791882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:07.793110"], ["title", "Site Title 2"], ["updated_at", "2014-05-27 00:22:07.793110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:07 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 248ms (Views: 235.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:08.072170"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:08.072170"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:08.073282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:08 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 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" = 8 LIMIT 1 [["role_id", 1]] 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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (24.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (27.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.5ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.5ms) Completed 200 OK in 60ms (Views: 55.9ms | ActiveRecord: 2.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:08.161791"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:08.161791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:08.163909"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$8v1SZQzm8gq1r3LuoEXSjehR3xPHYJKuF1Aa7O.f87tdILRwlSaU."], ["role_id", 5], ["updated_at", "2014-05-27 00:22:08.163909"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Page Exists (0.9ms) 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" = 'page-1' LIMIT 1 Storytime::Page Exists (1.0ms) 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" = 'page-1') LIMIT 1 SQL (0.7ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:08.177764"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-27 00:22:08.177764"], ["user_id", 2]] 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 (0.7ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:08.187577"], ["updated_at", "2014-05-27 00:22:08.187577"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #1. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (2.6ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:08.195861"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:08.201869"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:08.201869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:08.203608"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$UvaRymCXI2DnwnxDGoTKZOffdHZS9cxCKPGIBaLWU7srQxB.0.XLi"], ["role_id", 6], ["updated_at", "2014-05-27 00:22:08.203608"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:08.206680"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-27 00:22:08.206680"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:08.208391"], ["updated_at", "2014-05-27 00:22:08.208391"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-2' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:08.211410"], ["slug", "page-2"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:08.214352"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:08.214352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:08.215887"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$iZTyfb/v7/.dGjegRviIGudIqfifVOd.p7Dbv3HK.Y2rtXPorOj3W"], ["role_id", 7], ["updated_at", "2014-05-27 00:22:08.215887"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:08.218797"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-27 00:22:08.218797"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:08.220353"], ["updated_at", "2014-05-27 00:22:08.220353"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-3' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:08.223244"], ["slug", "page-3"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:22:08 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 5 LIMIT 1 [["role_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (5.8ms) 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" = 8 LIMIT 1 [["role_id", 1]] 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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 20.2ms | ActiveRecord: 1.0ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:08.302242"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:08.302242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:08.303840"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:08.303840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:08.305499"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:08.305499"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:08.306699"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:08.306699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:08.307982"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:08.307982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:08.310401"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:08.310401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:08.312511"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:08.312511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:08.314092"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:08.314092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:08.315821"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:08.315821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:08.317858"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$3XHVm9TvXQW5AlHuevJUxe/QvdL230/12s0A589J.qXCY7HMA/Dwi"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:08.317858"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user7@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:08.317858"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$3XHVm9TvXQW5AlHuevJUxe/QvdL230/12s0A589J.qXCY7HMA/Dwi"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:08.317858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:08.321771"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:08.321771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:08.322912"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:08.322912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:08.323933"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:08.323933"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:08.324945"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:08.324945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:08.325903"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:08.325903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:08.326780"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:08.326780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:08.327626"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:08.327626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:08.331012"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:08.331012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:08.332072"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:08.332072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:08.332986"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:08.332986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:08.333919"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:08.333919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:08.334954"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:08.334954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:08.335995"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:08.335995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:08.336928"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:08.336928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:08.338145"], ["title", "Site Title 3"], ["updated_at", "2014-05-27 00:22:08.338145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:10 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 19:22:10 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 19:22:10 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:10 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:10.950499"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:10.950499"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:10.951594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65178/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:10 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:11.031926"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:11.031926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:11.033996"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$gX1ZWhcd6MMs2cZ3A1rIfOdskZL5qs02PzdiAlde9lRUCP85LuHpm"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:11.033996"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:11.037227"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-27 00:22:11.037227"], ["user_id", 2]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:11.039526"], ["updated_at", "2014-05-27 00:22:11.039526"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #4. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-4' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:11.043754"], ["slug", "page-4"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:11.047275"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:11.047275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:11.049192"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$c3FQU5facrwqCUM6iTe0o.ZfmisfoFfuffhTl3iYKJwpVZiqY0rmC"], ["role_id", 6], ["updated_at", "2014-05-27 00:22:11.049192"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:11.052462"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-27 00:22:11.052462"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:11.054140"], ["updated_at", "2014-05-27 00:22:11.054140"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #5. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-5' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:11.057196"], ["slug", "page-5"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:11.060211"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:11.060211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:11.061843"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$GC0UROE2ZonyPNHhOjUXD.bCbv5EELV2bOyoVEq2Cpz94Sp3SG9vy"], ["role_id", 7], ["updated_at", "2014-05-27 00:22:11.061843"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:11.066207"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-27 00:22:11.066207"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:11.068305"], ["updated_at", "2014-05-27 00:22:11.068305"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::Page"]] SQL (0.6ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'page-6' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:11.072964"], ["slug", "page-6"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:22:11 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 5 LIMIT 1 [["role_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.9ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.6ms | ActiveRecord: 0.8ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 19:22:11 -0500 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-4" for 127.0.0.1 at 2014-05-26 19:22:12 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-4"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-4' 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) 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::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 14ms (ActiveRecord: 1.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:12.090624"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:12.090624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:12.092360"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:12.092360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:12.094008"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:12.094008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:12.095216"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:12.095216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:12.096453"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:12.096453"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:12.098191"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:12.098191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:12.099610"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:12.099610"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:12.100728"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:12.100728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:12.101920"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:12.101920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:12.103607"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$ZiNA/AMa/wIClCurFP0WH.IidX4AifqInlSMBADWps1uRB/yNQJ5q"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:12.103607"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user11@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:12.103607"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$ZiNA/AMa/wIClCurFP0WH.IidX4AifqInlSMBADWps1uRB/yNQJ5q"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:12.103607"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:12.107082"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:12.107082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:12.108009"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:12.108009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:12.108865"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:12.108865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:12.109770"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:12.109770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:12.110645"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:12.110645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:12.111448"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:12.111448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:12.112284"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:12.112284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:12.115492"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:12.115492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:12.116475"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:12.116475"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:12.117390"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:12.117390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:12.118310"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:12.118310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:12.119175"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:12.119175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:12.120069"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:12.120069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:12.120955"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:12.120955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:12.122192"], ["title", "Site Title 4"], ["updated_at", "2014-05-27 00:22:12.122192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:12 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:12 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:12.137270"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:12.137270"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:12.138279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:12 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:12.169684"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:12.169684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:12.171514"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$0Tr4StrUjwo.e6Lpo29.Y.HszQykvxf8YinXm9DmW9CbA5zlFBULi"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:12.171514"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:12.174671"], ["published", "f"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-27 00:22:12.174671"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:12.176433"], ["updated_at", "2014-05-27 00:22:12.176433"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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" = 'page-7' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:12.178788"], ["slug", "page-7"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-7/edit" for 127.0.0.1 at 2014-05-26 19:22:12 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-7"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-7' 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.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"]] 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", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (5.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", 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_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (6.7ms) Storytime::Media Load (0.6ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.5ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (16.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (28.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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 55ms (Views: 47.0ms | ActiveRecord: 2.7ms) Started PATCH "/dashboard/pages/page-7" for 127.0.0.1 at 2014-05-26 19:22:12 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Update Page", "id"=>"page-7"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-7' 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]]  (0.1ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-27 00:22:12.253081"]] 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", 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) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:22:12.255294"], ["updated_at", "2014-05-27 00:22:12.255294"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:12.258012"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-26 19:22:12 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.4ms) 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"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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"]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (12.7ms) 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"]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (12.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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 107ms (Views: 35.5ms | ActiveRecord: 2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 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"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:12.411461"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:12.411461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:12.412913"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:12.412913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:12.414014"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:12.414014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:12.415036"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:12.415036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:12.415955"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:12.415955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:12.416829"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:12.416829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:12.417621"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:12.417621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:12.422643"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:12.422643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:12.423939"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:12.423939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:12.425061"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:12.425061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:12.426198"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:12.426198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:12.427243"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:12.427243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:12.428255"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:12.428255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:12.429147"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:12.429147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:12.430418"], ["title", "Site Title 5"], ["updated_at", "2014-05-27 00:22:12.430418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:12.433087"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:12.433087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:12.434744"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$cEAOE1IF3ZIdUjpDNPo9re7K0hgYm9PKPSBx4z0n/hO8lzMn3CmW2"], ["role_id", 4], ["updated_at", "2014-05-27 00:22:12.434744"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user13@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:12.434744"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$cEAOE1IF3ZIdUjpDNPo9re7K0hgYm9PKPSBx4z0n/hO8lzMn3CmW2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:22:12.434744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:12 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:12 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:12.552192"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:12.552192"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:12.553242"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65178/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:12 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.9ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:22:12 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 14.1ms | ActiveRecord: 0.8ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:22:12 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:12.756531"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:22:12.756531"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.2ms) Completed 200 OK in 27ms (Views: 13.2ms | ActiveRecord: 0.5ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:13.657317"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:13.657317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:13.658713"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:13.658713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:13.659797"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:13.659797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:13.660806"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:13.660806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:13.661841"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:13.661841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:13.662706"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:13.662706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:13.663608"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:13.663608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:13.667621"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:13.667621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:13.668781"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:13.668781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:13.669779"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:13.669779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:13.670722"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:13.670722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:13.671747"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:13.671747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:13.672718"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:13.672718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:13.673719"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:13.673719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:13.675088"], ["title", "Site Title 6"], ["updated_at", "2014-05-27 00:22:13.675088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:13.677971"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:13.677971"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:13.679712"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$DQ/JBrHILDbQAwOsfsW3U.ujPJEg.umTO/fgTAkK9LL907dWgP4xG"], ["role_id", 4], ["updated_at", "2014-05-27 00:22:13.679712"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user14@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:13.679712"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$DQ/JBrHILDbQAwOsfsW3U.ujPJEg.umTO/fgTAkK9LL907dWgP4xG"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:22:13.679712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:13 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:13.790102"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:13.790102"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:13.790555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65178/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:13 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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.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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:13.869082"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:13.869082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:13.870994"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$LLRcPULDsu1cHocEq58gTuIBK8iReRSIuq9l3jzoVAFYqW3CuMibO"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:13.870994"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:13.876441"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:22:13.876441"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:22:13 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.4ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 12.9ms | ActiveRecord: 0.8ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-26 19:22:14 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 5ms (ActiveRecord: 0.5ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:14.846603"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:14.846603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:14.847999"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:14.847999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:14.849080"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:14.849080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:14.850065"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:14.850065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:14.851026"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:14.851026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:14.851908"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:14.851908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:14.852834"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:14.852834"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:14.857204"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:14.857204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:14.858400"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:14.858400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:14.859421"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:14.859421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:14.860409"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:14.860409"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:14.861382"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:14.861382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:14.862361"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:14.862361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:14.863282"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:14.863282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:14.864501"], ["title", "Site Title 7"], ["updated_at", "2014-05-27 00:22:14.864501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:14.867243"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:14.867243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:14.868930"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$GuwcahBACYcq956AYO0HKuocgyuEC9kdC8EDgFcI7zMvwRbCI8.aO"], ["role_id", 4], ["updated_at", "2014-05-27 00:22:14.868930"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user16@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:14.868930"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$GuwcahBACYcq956AYO0HKuocgyuEC9kdC8EDgFcI7zMvwRbCI8.aO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:22:14.868930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:14 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:14 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user16@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:14.887839"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:14.887839"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:14.888900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:14 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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.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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:14.919750"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:14.919750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:14.921639"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$Y1GVECpP6Z3vzmgSnjrJgeNiO8In0h1MulouEqBG.y85DHdtUmQga"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:14.921639"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:14.929663"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:22:14.929663"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:14.935894"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:14.935894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:14.938047"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$YxqACyDGrgXJdz.oMtRIEOxR.EToVeIlhWwvjNZ4gV1NpoG2GXQre"], ["role_id", 6], ["updated_at", "2014-05-27 00:22:14.938047"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:14.943026"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:22:14.943026"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:22:14 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.5ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 17ms (Views: 14.4ms | ActiveRecord: 0.9ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:14.980891"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:14.980891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:14.982486"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:14.982486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:14.983939"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:14.983939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:14.985257"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:14.985257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:14.986743"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:14.986743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:14.988334"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:14.988334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:14.989867"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:14.989867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:14.995182"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:14.995182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:14.996940"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:14.996940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:14.998594"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:14.998594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:15.000521"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:15.000521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:15.002179"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:15.002179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:15.003474"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:15.003474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:15.005004"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:15.005004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:15.006532"], ["title", "Site Title 8"], ["updated_at", "2014-05-27 00:22:15.006532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:15.009762"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:15.009762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:15.012352"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$pBvv.Onkvr3TkNJUpmwEC.qWS33crOJNNpDICLE4BupSQEsEy6bTO"], ["role_id", 4], ["updated_at", "2014-05-27 00:22:15.012352"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user19@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:15.012352"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$pBvv.Onkvr3TkNJUpmwEC.qWS33crOJNNpDICLE4BupSQEsEy6bTO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:22:15.012352"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:15 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:15 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user19@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:15.125590"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:15.125590"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:15.126508"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65178/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:15 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:15.210634"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:15.210634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:15.212564"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$IxaNQ7YekYpBfNnryLJrM.W5xfBl2FnxmYAS64DpFA7knWKk0LZca"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:15.212564"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:15.217826"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:22:15.217826"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 19:22:15 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.2ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (24.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 58ms (Views: 41.0ms | ActiveRecord: 1.6ms) Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 19:22:16 -0500  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.630400"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:16.630400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.632047"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:16.632047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:16.633704"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.633704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.634935"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:16.634935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:16.636525"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.636525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.638046"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:16.638046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:16.639376"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.639376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.640549"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:16.640549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:16.641836"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.641836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:16.643779"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$14B.5Hn2ANzatBdB8ErCu.3JuB.0F9f2rAQQVimqbm0ZQNGkeE3Fi"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.643779"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user21@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:16.643779"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$14B.5Hn2ANzatBdB8ErCu.3JuB.0F9f2rAQQVimqbm0ZQNGkeE3Fi"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.643779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.647569"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:16.647569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.648528"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:16.648528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.649361"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:16.649361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:16.650286"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:16.650286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:16.651236"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:16.651236"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:16.652094"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:16.652094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:16.652908"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:16.652908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:16.656282"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:16.656282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:16.657288"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:16.657288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:16.658260"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.658260"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:16.659200"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:16.659200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:16.660134"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.660134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:16.661038"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.661038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:16.661977"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.661977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.663297"], ["title", "Site Title 9"], ["updated_at", "2014-05-27 00:22:16.663297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:16 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:16.681061"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:16.681061"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:16.682097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:16 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.714069"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:16.714069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:16.716006"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$qxI1fRTiFxxzom85suOlKOkbS37n3tMhMHAN4N4qWGv8scpBkwOnG"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:16.716006"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:16.718547"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "f"], ["title", "Post #1"], ["updated_at", "2014-05-27 00:22:16.718547"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:16.720501"], ["updated_at", "2014-05-27 00:22:16.720501"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:22:16 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.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::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (1.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", 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]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (11.7ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 23.2ms | ActiveRecord: 1.6ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-26 19:22:16 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #1. It was a dark and stormy night.", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] 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", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["title", "The Story"], ["updated_at", "2014-05-27 00:22:16.769191"]] 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", 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:22:16.771421"], ["updated_at", "2014-05-27 00:22:16.771421"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 12ms (ActiveRecord: 1.1ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:22:16 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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"]] 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (5.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", 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.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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (12.3ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 35ms (Views: 27.5ms | ActiveRecord: 1.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.853799"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:16.853799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.855685"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:16.855685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:16.857447"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.857447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.858815"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:16.858815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:16.860633"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.860633"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.862116"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:16.862116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:16.863497"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.863497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.864588"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:16.864588"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:16.865852"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.865852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:16.867572"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$ShytjYdqI3ccg1.Sz.UH7OtKy1mWQb9qeieGNGn7pBqCwWMCOuMoW"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.867572"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user23@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:16.867572"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$ShytjYdqI3ccg1.Sz.UH7OtKy1mWQb9qeieGNGn7pBqCwWMCOuMoW"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.867572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.871204"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:16.871204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.872148"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:16.872148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.872934"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:16.872934"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:16.873850"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:16.873850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:16.874748"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:16.874748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:16.875612"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:16.875612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:16.876427"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:16.876427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:16.879730"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:16.879730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:16.880801"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:16.880801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:16.881714"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.881714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:16.882627"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:16.882627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:16.883553"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.883553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:16.884552"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.884552"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:16.885637"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:16.885637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:16.887129"], ["title", "Site Title 10"], ["updated_at", "2014-05-27 00:22:16.887129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:16 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:16 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:16.998835"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:16.998835"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:16.999769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65178/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:17 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:17.075491"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:17.075491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:17.077402"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$CGWeUPHcGB0IROhXhyjdIuueqRQwCxU4AsI33lpk8ubXG/Xbi9T2i"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:17.077402"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:17.079472"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-27 00:22:17.079472"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:17.081345"], ["updated_at", "2014-05-27 00:22:17.081345"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:17.085417"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:17.085417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:17.087101"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$bSyu94r4PqnbcNbgcKK80u3MToO6SyvU.HORZk.P0.SP7uWicz/a6"], ["role_id", 6], ["updated_at", "2014-05-27 00:22:17.087101"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:17.089080"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-27 00:22:17.089080"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:17.090779"], ["updated_at", "2014-05-27 00:22:17.090779"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:17.094786"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:17.094786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:17.096523"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$pX8gXGV4Tg6FukNgDDULaOjvgmbmsihpoSpTzZ4OwsYm5y3sp0V8i"], ["role_id", 7], ["updated_at", "2014-05-27 00:22:17.096523"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:17.098511"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-27 00:22:17.098511"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:17.100199"], ["updated_at", "2014-05-27 00:22:17.100199"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #4. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:22:17 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 5 LIMIT 1 [["role_id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.1ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 23.4ms | ActiveRecord: 0.9ms) Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-26 19:22:18 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 13ms (ActiveRecord: 1.0ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:41.918619"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:41.918619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:41.937617"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$L2aOs0/4ddGkVIzWf32/Fe85ZzcD52Hd5o53hqHXsQg30mSi.JTrm"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:41.937617"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:41.948218"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:41.948218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:41.950761"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$AnwyZRHqlvE4MACJKyK9pO2wH437fHpQfQySrm1ITM30xJHqJjoG2"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:41.950761"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:41.958280"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:41.958280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:41.960475"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$zpurkrw7fEQlJquvsi.jhu0ZvEyBs3tPvFM0OJ5VSutNgQcoxKkNa"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:41.960475"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:41.966867"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:41.966867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:41.972133"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:41.972133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:41.979222"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:41.979222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:41.983331"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:41.983331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:41.984829"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:41.984829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:41.986232"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:41.986232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:41.988718"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:41.988718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:41.990881"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:41.990881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:41.992859"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:41.992859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:41.994906"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$8vq6NDV8v0kRzqj8HVmXUe025dNRGp4Z74o3qDTRuLCYivV2XiAzG"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:41.994906"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user4@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:41.994906"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$8vq6NDV8v0kRzqj8HVmXUe025dNRGp4Z74o3qDTRuLCYivV2XiAzG"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:41.994906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:42.008137"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:42.008137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:42.009186"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:42.009186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:42.010083"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:42.010083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:42.011023"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:42.011023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:42.012053"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:42.012053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:42.013090"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:42.013090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:42.014132"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:42.014132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:42.017696"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:42.017696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:42.018780"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:42.018780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:42.019805"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:42.019805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:42.020786"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:42.020786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:42.021700"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:42.021700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:42.022617"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:42.022617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:42.023531"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:42.023531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:42.030564"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 00:22:42.030564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:42 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (50.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 209ms (Views: 195.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:42 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:42.271559"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:42.271559"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:42.272589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:42 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (14.5ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 8 LIMIT 1 [["role_id", 1]] 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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (18.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (20.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 49ms (Views: 46.7ms | ActiveRecord: 1.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:42.348013"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:42.348013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:42.349823"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$il9W9tvef7nUMppXshu.kOPj2C7j4zds.rXcerQqiBgM0dMq2VfAK"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:42.349823"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:42.362517"], ["published", "f"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-27 00:22:42.362517"], ["user_id", 2]] 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"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:42.369917"], ["updated_at", "2014-05-27 00:22:42.369917"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:42.376597"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-1/edit" for 127.0.0.1 at 2014-05-26 19:22:42 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-1' 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.4ms) 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"]] 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", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (5.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", 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_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (6.0ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (49.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (61.6ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 80ms (Views: 71.5ms | ActiveRecord: 1.8ms) Started PATCH "/dashboard/pages/page-1" for 127.0.0.1 at 2014-05-26 19:22:42 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Update Page", "id"=>"page-1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-1' 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]]  (0.1ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-27 00:22:42.479196"]] 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", 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) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:22:42.481347"], ["updated_at", "2014-05-27 00:22:42.481347"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:42.483853"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 15ms (ActiveRecord: 1.4ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-26 19:22:42 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (2.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"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (7.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", 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_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (8.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (18.6ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 23.4ms | ActiveRecord: 1.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:42.549106"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:42.549106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:42.550658"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:42.550658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:42.552168"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:42.552168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:42.553241"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:42.553241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:42.554377"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:42.554377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:42.556199"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:42.556199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:42.557910"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:42.557910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:42.559291"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:42.559291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:42.560655"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:42.560655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:42.562544"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$FurlEzu0QL8sbvMRYxHB/.UARrK99MvOwxJvIQnu4PSJBJFfAG6Gm"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:42.562544"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user6@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:42.562544"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$FurlEzu0QL8sbvMRYxHB/.UARrK99MvOwxJvIQnu4PSJBJFfAG6Gm"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:42.562544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:42.566402"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:42.566402"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:42.567366"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:42.567366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:42.568222"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:42.568222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:42.569142"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:42.569142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:42.570143"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:42.570143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:42.571008"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:42.571008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:42.571844"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:42.571844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:42.574926"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:42.574926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:42.575909"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:42.575909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:42.576783"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:42.576783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:42.577702"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:42.577702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:42.578601"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:42.578601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:42.579481"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:42.579481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:42.580331"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:42.580331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:42.581519"], ["title", "Site Title 2"], ["updated_at", "2014-05-27 00:22:42.581519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:44 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 19:22:44 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 19:22:44 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:44.851151"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:44.851151"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:44.852188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65194/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:44 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:44.926478"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:44.926478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:44.928413"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$kqkEzj2DH2Za0YJPnNQZDeF1dsQUmFibND6PY2Yq3sOiQU6cp7miW"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:44.928413"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:44.931525"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-27 00:22:44.931525"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:44.933243"], ["updated_at", "2014-05-27 00:22:44.933243"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:44.936348"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:44.939360"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:44.939360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:44.940999"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$Qw79db0x2Eip2ANBXd7iTee8ii2cSzhuMK6ckHLIC/j9Ek8Qu.Y7i"], ["role_id", 6], ["updated_at", "2014-05-27 00:22:44.940999"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:44.943950"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-27 00:22:44.943950"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:44.945540"], ["updated_at", "2014-05-27 00:22:44.945540"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-3' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:44.948432"], ["slug", "page-3"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:44.951402"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:44.951402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:44.952987"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$LSh3bpYPWMhZSVR40P5oKOYCiHPJatyT.s8OtpU/6JTzUVDu6dibC"], ["role_id", 7], ["updated_at", "2014-05-27 00:22:44.952987"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:44.956138"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-27 00:22:44.956138"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:44.957759"], ["updated_at", "2014-05-27 00:22:44.957759"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #4. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-4' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:44.960632"], ["slug", "page-4"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:22:44 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 5 LIMIT 1 [["role_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (5.5ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 11.6ms | ActiveRecord: 0.8ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 19:22:45 -0500 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-2" for 127.0.0.1 at 2014-05-26 19:22:45 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-2"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-2' 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["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 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 14ms (ActiveRecord: 1.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.029401"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:46.029401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.031000"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.031000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:46.032494"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.032494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.033608"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.033608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:46.034757"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.034757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.035783"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:46.035783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:46.036919"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.036919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.037955"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:46.037955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:46.039232"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.039232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.040921"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$hyEDqrC377HY1uAwBB0Yt.abAJWeumYZIiZR/l6K67oayCBxdZVe6"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.040921"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user10@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:46.040921"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$hyEDqrC377HY1uAwBB0Yt.abAJWeumYZIiZR/l6K67oayCBxdZVe6"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.040921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.045062"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:46.045062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.045998"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:46.045998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.046798"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:46.046798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.047656"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.047656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.048495"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.048495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.049324"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:46.049324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.050132"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:46.050132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:46.053153"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:46.053153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:46.054126"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:46.054126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:46.055024"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.055024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:46.055906"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:46.055906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:46.056817"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.056817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:46.057709"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.057709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:46.058570"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.058570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.059703"], ["title", "Site Title 3"], ["updated_at", "2014-05-27 00:22:46.059703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:46.077240"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:46.077240"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:46.078366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:46 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] 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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (1.6ms) 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" = 6 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (8.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (10.7ms) 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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 17.5ms | ActiveRecord: 1.2ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Create Page"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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.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" = 6 LIMIT 1 [["role_id", 1]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.147219"], ["published", "f"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-27 00:22:46.147219"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:22:46.149039"], ["updated_at", "2014-05-27 00:22:46.149039"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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.0ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.151339"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 14ms (ActiveRecord: 1.3ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (2.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 "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (1.7ms) 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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" = 6 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (8.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (13.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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 18.2ms | ActiveRecord: 1.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.223479"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:46.223479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.225021"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.225021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:46.226515"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.226515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.227619"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.227619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:46.229385"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.229385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.230909"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:46.230909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:46.232123"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.232123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.233138"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:46.233138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:46.234302"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.234302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.235957"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$g5VEAYGUw3quSyaBDaCqEeSuzAnkCOZ80SrvAQLF61xIXhqwditCu"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.235957"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user11@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:46.235957"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$g5VEAYGUw3quSyaBDaCqEeSuzAnkCOZ80SrvAQLF61xIXhqwditCu"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.235957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.239303"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:46.239303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.240181"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:46.240181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.240968"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:46.240968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.241810"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.241810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.242661"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.242661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.243452"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:46.243452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.244281"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:46.244281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:46.247244"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:46.247244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:46.248214"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:46.248214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:46.249087"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.249087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:46.249965"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:46.249965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:46.250826"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.250826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:46.251685"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.251685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:46.252556"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.252556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.253667"], ["title", "Site Title 4"], ["updated_at", "2014-05-27 00:22:46.253667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user11@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:46.268987"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:46.268987"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:46.269601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:46 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (53.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (54.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 61ms (Views: 59.1ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.349171"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:46.349171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.352089"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$sRDszRFDzDh8o54gnxVVk.9I4mBY7wEMLz9LO0v8JYhZIh7xJEhtu"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:46.352089"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.356650"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-27 00:22:46.356650"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:46.358810"], ["updated_at", "2014-05-27 00:22:46.358810"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #5. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-5' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.363158"], ["slug", "page-5"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.366267"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:46.366267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.368013"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$yRPmm9Mcd280KfHpzFXhMusNLIphFpkzspxIis4lr1u3G03XEL.7m"], ["role_id", 6], ["updated_at", "2014-05-27 00:22:46.368013"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.371490"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-27 00:22:46.371490"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:46.374286"], ["updated_at", "2014-05-27 00:22:46.374286"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 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::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" = 'page-6' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.380845"], ["slug", "page-6"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.384069"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:46.384069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.385812"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$u4JiVCZ4msO8oaeepwaYCeyXzRQbMPqtmeEik7yuw8HqT917QKnKi"], ["role_id", 7], ["updated_at", "2014-05-27 00:22:46.385812"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.388984"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-27 00:22:46.388984"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:46.390701"], ["updated_at", "2014-05-27 00:22:46.390701"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-7' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.393766"], ["slug", "page-7"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 5 LIMIT 1 [["role_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (5.1ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.7ms | ActiveRecord: 0.8ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.468379"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:46.468379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.470613"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$wzQ.4fY1/yVtZc10Luqrr.OE1CCpYpOw81TtQtn/d9GsapE9p1JTG"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.470613"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.477734"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:46.477734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.480849"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$5mmKLNTPPmMqXnUC6aBDm.U8Key5vRfftPhOA3BbCk1AVLnrti/si"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.480849"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.487127"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:46.487127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.489350"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$pxGjIXuBHqEx28eoRE/s.eY.zZiF4FmULHhipfgDC6AItm9Fx1iaq"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.489350"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'tony@stark.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.496011"], ["email", "tony@stark.com"], ["encrypted_password", "$2a$04$w6lLdc3c8YLMFMG4if326uzUgg5cj2GdGgC7I/gWx2i/lOw16EnKO"], ["updated_at", "2014-05-27 00:22:46.496011"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.500699"], ["title", "Site Title 5"], ["updated_at", "2014-05-27 00:22:46.500699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.504593"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:46.504593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.506991"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$/mD3TkQJp0kQvp184UJn9.wXjmliwfcDC0CQH9iNYdNQc44yzyZ/S"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.506991"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.523781"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:46.523781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.525407"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.525407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:46.527013"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.527013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.528162"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.528162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:46.529460"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.529460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.531140"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:46.531140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:46.532637"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.532637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.533804"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:46.533804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:46.535124"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.535124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.537490"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$QYXYVjrduANQg8SoS0nHjORNSoyqD0nn0d8g447U5Qu6l.CciasCa"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.537490"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user19@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:46.537490"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$QYXYVjrduANQg8SoS0nHjORNSoyqD0nn0d8g447U5Qu6l.CciasCa"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.537490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.541204"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:46.541204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.542125"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:46.542125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.542996"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:46.542996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.543900"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.543900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.544831"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.544831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.545669"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:46.545669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.546632"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:46.546632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:46.550578"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:46.550578"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:46.551999"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:46.551999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:46.553464"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.553464"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:46.554876"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:46.554876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:46.556199"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.556199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:46.557364"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.557364"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:46.558345"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.558345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.559606"], ["title", "Site Title 6"], ["updated_at", "2014-05-27 00:22:46.559606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user19@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:46.574178"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:46.574178"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:46.574575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:46 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.8ms) Started GET "/dashboard/users/new" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Storytime::Dashboard::UsersController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/new.html.erb within layouts/storytime/dashboard (11.2ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 21.9ms | ActiveRecord: 0.7ms) Started POST "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Storytime::Dashboard::UsersController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"new_user@example.com", "role_id"=>"1", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Create User"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 8 LIMIT 1 [["role_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'new_user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.651485"], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$1OpsBkhIeEREA.T5ikvuJ.bPCK5byqxkIKgfJ6f.zwd6UjScFBY8W"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.651485"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/users Completed 302 Found in 12ms (ActiveRecord: 0.9ms) Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (6.1ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 13.2ms | ActiveRecord: 0.8ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.710586"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:46.710586"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.712196"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.712196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:46.713819"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.713819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.714957"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.714957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:46.716184"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.716184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.717276"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:46.717276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:46.718968"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.718968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.720309"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:46.720309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:46.721580"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.721580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.723491"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$uIFJJsHmzND7E2CsIcCtAubGR1p2xsHTtmUCTVOEvbC.CaQJoHnZu"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.723491"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user20@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:46.723491"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$uIFJJsHmzND7E2CsIcCtAubGR1p2xsHTtmUCTVOEvbC.CaQJoHnZu"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.723491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.727264"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:46.727264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.728459"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:46.728459"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.729691"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:46.729691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.731049"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.731049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.732337"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:46.732337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.733337"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:46.733337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.734400"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:46.734400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:46.738382"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:46.738382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:46.739591"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:46.739591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:46.740617"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.740617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:46.741675"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:46.741675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:46.742817"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.742817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:46.743951"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.743951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:46.744916"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:46.744916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.746104"], ["title", "Site Title 7"], ["updated_at", "2014-05-27 00:22:46.746104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user20@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:46.862705"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:46.862705"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:46.863664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65194/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:46 -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.4ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.1ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.939455"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:46.939455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.941705"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$hhoQZu9A1aUNFUCARLQk6OJzlN2jec0tdsXGUJlG3mp8qAhw0r7xa"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:46.941705"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.945496"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:46.945496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.947393"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$vhLH.4usIv3/tBQ0skVQuuXTrwt0C23K30rvB9iBeuk7K.XmpI4Uq"], ["role_id", 6], ["updated_at", "2014-05-27 00:22:46.947393"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:46.951050"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:46.951050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:46.952937"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$bjksXW3JFbuDH7EH5ZPVTOgkhNqEvHSSVtRO7Oiip0LaEnztyW3lW"], ["role_id", 7], ["updated_at", "2014-05-27 00:22:46.952937"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:22:46 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 5]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 6]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 7]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (5.4ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 11.1ms | ActiveRecord: 0.8ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" DESC LIMIT 1 Started DELETE "/dashboard/users/4" for 127.0.0.1 at 2014-05-26 19:22:47 -0500 Processing by Storytime::Dashboard::UsersController#destroy as JS Parameters: {"id"=>"4"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 4]] 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", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 8 LIMIT 1 [["role_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "storytime_users" WHERE "storytime_users"."id" = ? [["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 11ms (ActiveRecord: 1.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 4]]  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.025502"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:48.025502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.027086"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.027086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:48.028630"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.028630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.029827"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.029827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:48.031026"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.031026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.032621"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:48.032621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:48.034167"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.034167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.035310"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:48.035310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:48.036530"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.036530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.038477"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$vmA5N4WJAwKi4Jc2lnUT8.496cuUP24HSGsHCo/aekx1hZq7aUueq"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.038477"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user24@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:48.038477"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$vmA5N4WJAwKi4Jc2lnUT8.496cuUP24HSGsHCo/aekx1hZq7aUueq"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.038477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.042110"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:48.042110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.043011"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:48.043011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.054352"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:48.054352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.055872"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.055872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.057494"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.057494"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.059273"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:48.059273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.060342"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:48.060342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:48.063701"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:48.063701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:48.065144"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:48.065144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:48.066273"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.066273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:48.067323"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:48.067323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:48.068286"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.068286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:48.069516"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.069516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:48.070497"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.070497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.072162"], ["title", "Site Title 8"], ["updated_at", "2014-05-27 00:22:48.072162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user24@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:48.091349"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:48.091349"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:48.092350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:48 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.122516"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:48.122516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.124369"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$1tkXrndwkgQZ4FdeCIfpBuRji5kZPfRMkihc4LE9eES5GCetzpTge"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:48.124369"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users/2/edit" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Storytime::Dashboard::UsersController#edit as HTML Parameters: {"id"=>"2"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/edit.html.erb within layouts/storytime/dashboard (5.3ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 13.8ms | ActiveRecord: 0.7ms) Started PATCH "/dashboard/users/2" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Storytime::Dashboard::UsersController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"new_email@example.com", "role_id"=>"5"}, "commit"=>"Update User", "id"=>"2"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 8 LIMIT 1 [["role_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'new_email@example.com' AND "storytime_users"."id" != 2) LIMIT 1 SQL (0.1ms) UPDATE "storytime_users" SET "email" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 2 [["email", "new_email@example.com"], ["updated_at", "2014-05-27 00:22:48.159105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/users Completed 302 Found in 10ms (ActiveRecord: 0.9ms) Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.7ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 8 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 5]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (4.3ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 11.1ms | ActiveRecord: 1.6ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.205629"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:48.205629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.207994"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.207994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:48.210202"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.210202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.212248"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.212248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:48.213832"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.213832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.214992"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:48.214992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:48.216225"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.216225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.217258"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:48.217258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:48.218420"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.218420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.220221"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$cYbmjgu.XWH5KLXW9sS2rOFcH6/1Rsqi7FhplNHFenkka8m66mTVu"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.220221"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user26@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:48.220221"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$cYbmjgu.XWH5KLXW9sS2rOFcH6/1Rsqi7FhplNHFenkka8m66mTVu"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.220221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.224048"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:48.224048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.224978"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:48.224978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.225861"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:48.225861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.226818"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.226818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.227695"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.227695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.228527"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:48.228527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.229393"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:48.229393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:48.232714"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:48.232714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:48.233780"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:48.233780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:48.234772"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.234772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:48.235695"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:48.235695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:48.236731"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.236731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:48.238098"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.238098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:48.239357"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.239357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.240569"], ["title", "Site Title 9"], ["updated_at", "2014-05-27 00:22:48.240569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user26@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:48.255556"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:48.255556"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:48.256274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:48 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.6ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 8 LIMIT 1 [["role_id", 1]] 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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 12.7ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.293150"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:48.293150"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.295106"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$zsUeB1pmUY4eZqmVxJ.ncu8EjXBn6HH0ixhEde..SVOjMqcdPRfFC"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:48.295106"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.298457"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:48.298457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.300137"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$5YmgGci5k4kvLfjTL4Sicu6yOaszgSdjwECGEbtHlxzev0DcpYMUu"], ["role_id", 6], ["updated_at", "2014-05-27 00:22:48.300137"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.303372"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:48.303372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.305733"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$njJ9H3IwQckEgVUH5OynT.tM6.G2AAHYDRt4RDwvqQuwiEpfMp.n."], ["role_id", 7], ["updated_at", "2014-05-27 00:22:48.305733"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 8 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 5]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 6]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 7]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (5.5ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 11.2ms | ActiveRecord: 0.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.420285"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:48.420285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.421829"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.421829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:48.423565"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.423565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.424891"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.424891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:48.426595"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.426595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.428231"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:48.428231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:48.429587"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.429587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.430659"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:48.430659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:48.431979"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.431979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.433720"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$PVVYHo8Hq5K3zENvOc/vXe2j8clAxsMUHBt.eCHtibw.HeRPM04Ne"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.433720"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user30@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:48.433720"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$PVVYHo8Hq5K3zENvOc/vXe2j8clAxsMUHBt.eCHtibw.HeRPM04Ne"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.433720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.437463"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:48.437463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.438786"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:48.438786"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.439986"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:48.439986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.441316"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.441316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.443377"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.443377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.444788"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:48.444788"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.445971"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:48.445971"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:48.451699"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:48.451699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:48.453317"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:48.453317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:48.454350"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.454350"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:48.456078"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:48.456078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:48.457876"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.457876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:48.459627"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.459627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:48.461353"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.461353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user30@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:48.476294"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:48.476294"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:48.476752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:48 -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.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://www.example.com/dashboard/sites/new Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 7 LIMIT 1 [["role_id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (14.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" = 8 LIMIT 1 [["role_id", 1]] 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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 24.5ms | ActiveRecord: 0.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (9.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" = 8 LIMIT 1 [["role_id", 1]] 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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 15.8ms | ActiveRecord: 0.7ms) Started POST "/dashboard/sites" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.566656"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site"], ["updated_at", "2014-05-27 00:22:48.566656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/sites/1/edit Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (19.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.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" Storytime::Action Load (0.0ms) 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", 4]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (40.8ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] 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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 52ms (Views: 47.6ms | ActiveRecord: 1.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.660745"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:48.660745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.662427"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.662427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:48.664003"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.664003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.665210"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.665210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:48.666500"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.666500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.668617"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:48.668617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:48.670754"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.670754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.672875"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:48.672875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:48.674964"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.674964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.677008"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$jlL/Q1dnFxzqIhG1c8v55OlbNlczFvhQQENvK1oFFY.inyvPE1vdq"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.677008"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user31@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:48.677008"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$jlL/Q1dnFxzqIhG1c8v55OlbNlczFvhQQENvK1oFFY.inyvPE1vdq"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.677008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.680719"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:48.680719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.681716"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:48.681716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.682637"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:48.682637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.683710"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.683710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.684836"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.684836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.686218"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:48.686218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.687430"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:48.687430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:48.691401"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:48.691401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:48.692715"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:48.692715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:48.693855"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.693855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:48.694859"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:48.694859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:48.695899"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.695899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:48.696907"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.696907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:48.697790"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.697790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.699240"], ["title", "Site Title 10"], ["updated_at", "2014-05-27 00:22:48.699240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user31@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:48.717273"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:48.717273"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:48.717683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:48 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.6ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 1.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (10.8ms) Storytime::Role Load (0.1ms) 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.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.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" 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", 4]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (25.8ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] 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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 36ms (Views: 31.1ms | ActiveRecord: 1.2ms) Started PATCH "/dashboard/sites/1" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Storytime::Dashboard::SitesController#update as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site's New Name", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Update Site", "id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_sites" SET "footer" = ?, "ga_tracking_id" = ?, "header" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_sites"."id" = 1 [["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site's New Name"], ["updated_at", "2014-05-27 00:22:48.800685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (11.2ms) Storytime::Role Load (0.1ms) 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.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.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" 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", 4]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (28.3ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 41ms (Views: 33.8ms | ActiveRecord: 1.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.884823"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:48.884823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.886986"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.886986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:48.889124"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.889124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.890955"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.890955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:48.893342"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.893342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.894946"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:48.894946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:48.896768"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.896768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.898323"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:48.898323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:48.900030"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.900030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.902285"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$5cHJ1Fue4u9AfZggaPv9h.gFqFSLlISq61dDuTjPEQWKfFpi9o1s."], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.902285"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user32@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:48.902285"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$5cHJ1Fue4u9AfZggaPv9h.gFqFSLlISq61dDuTjPEQWKfFpi9o1s."], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.902285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.908267"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:48.908267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.909870"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:48.909870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.911391"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:48.911391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.912622"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.912622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.914250"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:48.914250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.915953"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:48.915953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:48.917840"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:48.917840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.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.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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:48.923116"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:48.923116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:48.925897"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:48.925897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:48.928410"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.928410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:48.930238"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:48.930238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:48.931301"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.931301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:48.932267"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.932267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:48.933197"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:48.933197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:48.934379"], ["title", "Site Title 11"], ["updated_at", "2014-05-27 00:22:48.934379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user32@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:48.949367"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:48.949367"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:48.949781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:48 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.9ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:22:48 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 7 LIMIT 1 [["role_id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.2ms) Storytime::Role Load (0.1ms) 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.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.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" 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", 4]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (27.3ms) 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" = 8 LIMIT 1 [["role_id", 1]] 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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 37ms (Views: 33.0ms | ActiveRecord: 1.2ms)  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.062761"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:49.062761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.073705"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:49.073705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:49.075476"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.075476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.076716"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:49.076716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:49.077983"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.077983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.079126"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:49.079126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:49.080482"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.080482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.081585"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:49.081585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:49.082743"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.082743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.084646"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$YIAfUKgoeFZ90o/sJ9qiT.RUhkTXFImKbX/GAfqOV9JfFLLkPy/iq"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.084646"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user33@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:49.084646"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$YIAfUKgoeFZ90o/sJ9qiT.RUhkTXFImKbX/GAfqOV9JfFLLkPy/iq"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.084646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.088832"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:49.088832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.089780"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:49.089780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.090767"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:49.090767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.091679"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:49.091679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.092572"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:49.092572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.093435"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:49.093435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.094720"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:49.094720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:49.098504"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:49.098504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:49.099624"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:49.099624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:49.100622"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.100622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:49.101568"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:49.101568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:49.102527"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.102527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:49.103495"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.103495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:49.104518"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.104518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.105738"], ["title", "Site Title 12"], ["updated_at", "2014-05-27 00:22:49.105738"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:49 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user33@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:49.122527"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:49.122527"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:49.123113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:49 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.154676"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:49.154676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.156564"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$BOe/eRdy6RwDOFIPGjtgCu4bQPMG5E7fcOd3FTUFka97Cf14YWo9m"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:49.156564"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.166208"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "f"], ["title", "Post #1"], ["updated_at", "2014-05-27 00:22:49.166208"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:49.170063"], ["updated_at", "2014-05-27 00:22:49.170063"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:22:49 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.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", 1], ["versionable_type", "Storytime::Post"]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (1.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", 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]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (18.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (26.0ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 34.3ms | ActiveRecord: 2.0ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-26 19:22:49 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #1. It was a dark and stormy night.", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] 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", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["title", "The Story"], ["updated_at", "2014-05-27 00:22:49.236385"]] 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", 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:22:49.238579"], ["updated_at", "2014-05-27 00:22:49.238579"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 12ms (ActiveRecord: 1.1ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:22:49 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (3.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", 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.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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (12.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (19.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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 31ms (Views: 24.5ms | ActiveRecord: 1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.318975"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:49.318975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.320822"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:49.320822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:49.322474"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.322474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.323733"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:49.323733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:49.325879"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.325879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.327764"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:49.327764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:49.330106"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.330106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.332050"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:49.332050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:49.333493"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.333493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.335405"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$OlJQg8UrYw1n0t2ikmusf.XJNhVqqFkkdmkeUUt3nUPkxhwtXlrqK"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.335405"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user35@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:49.335405"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$OlJQg8UrYw1n0t2ikmusf.XJNhVqqFkkdmkeUUt3nUPkxhwtXlrqK"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.335405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.339454"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:49.339454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.340521"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:49.340521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.341404"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:49.341404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.342386"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:49.342386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.343497"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:49.343497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.344521"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:49.344521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.345365"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:49.345365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:49.349751"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:49.349751"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:49.353350"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:49.353350"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:49.354775"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.354775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:49.356233"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:49.356233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:49.357690"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.357690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:49.359908"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.359908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:49.362204"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:49.362204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.364383"], ["title", "Site Title 13"], ["updated_at", "2014-05-27 00:22:49.364383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:49 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user35@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:49.473077"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:49.473077"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:49.474158"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65194/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:49 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 8 LIMIT 1 [["role_id", 1]] 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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.559210"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:49.559210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.561936"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$GO91/.UHZeTspYm7y/P.1uZeAlH8ZXrf3v7IHuj2B/PJzJGfVVrM."], ["role_id", 5], ["updated_at", "2014-05-27 00:22:49.561936"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.565124"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-27 00:22:49.565124"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:49.567693"], ["updated_at", "2014-05-27 00:22:49.567693"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.572160"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:49.572160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user37@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.573935"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$G.5fiNWPAFpf2ZAvrO1c2.kVUzHNpeB5CJfESABPXPdElHGli52Ae"], ["role_id", 6], ["updated_at", "2014-05-27 00:22:49.573935"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.576985"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-27 00:22:49.576985"], ["user_id", 3]] 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", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:49.580430"], ["updated_at", "2014-05-27 00:22:49.580430"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:49.585513"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:49.585513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.588067"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$AVlGjzlgzkvhnSuySxOJJ.r9me9kr3pKrnBb1ho4uB64H4u00Ch7q"], ["role_id", 7], ["updated_at", "2014-05-27 00:22:49.588067"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:49.591371"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-27 00:22:49.591371"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:49.594081"], ["updated_at", "2014-05-27 00:22:49.594081"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #4. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:22:49 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 5 LIMIT 1 [["role_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (9.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (10.3ms) 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" = 8 LIMIT 1 [["role_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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 23.2ms | ActiveRecord: 1.3ms) Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-26 19:22:50 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 5 LIMIT 1 [["role_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 13ms (ActiveRecord: 1.1ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:50.795267"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:50.795267"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:50.797454"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:50.797454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:50.800599"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:50.800599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:50.803157"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:50.803157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:50.805680"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:50.805680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:50.807701"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:50.807701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:50.811132"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:50.811132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:50.813233"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:50.813233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:50.814840"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:50.814840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.7ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user39@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:50.818921"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$yaiWb60pY4/pEMYHP39z.uROeBcOoBxBdhPQZOOdYDzrRtdb/kG.y"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:50.818921"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user39@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:50.818921"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$yaiWb60pY4/pEMYHP39z.uROeBcOoBxBdhPQZOOdYDzrRtdb/kG.y"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:50.818921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:50.825221"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:50.825221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:50.826712"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:50.826712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:50.828498"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:50.828498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:50.831035"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:50.831035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:50.832709"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:50.832709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:50.834302"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:50.834302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:50.844793"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:50.844793"]]  (2.8ms) RELEASE SAVEPOINT active_record_1 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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:50.853919"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:50.853919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:50.855860"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:50.855860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:50.857330"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:50.857330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:50.859303"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:50.859303"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:50.862522"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:50.862522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:50.864636"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:50.864636"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:50.868096"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:50.868096"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:50.870619"], ["title", "Site Title 14"], ["updated_at", "2014-05-27 00:22:50.870619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:50 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:50 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user39@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user39@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:50.904016"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:50.904016"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:50.905191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:50 -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.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.4ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 8 LIMIT 1 [["role_id", 1]] 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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 17ms (Views: 14.8ms | ActiveRecord: 1.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 19:22:50 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (1.8ms) 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" = 6 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.8ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (15.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (17.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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 35ms (Views: 25.2ms | ActiveRecord: 1.5ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:22:50 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Create Post"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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.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" = 6 LIMIT 1 [["role_id", 1]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:50.996247"], ["excerpt", "It was a dark and stormy night..."], ["published", "f"], ["title", "The Story"], ["updated_at", "2014-05-27 00:22:50.996247"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:22:50.998403"], ["updated_at", "2014-05-27 00:22:50.998403"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 12ms (ActiveRecord: 1.1ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:22:51 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 5 LIMIT 1 [["role_id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.7ms) 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::Post"]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (1.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", 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.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", 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" = 6 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (16.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (21.3ms) 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" = 8 LIMIT 1 [["role_id", 1]] 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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 33ms (Views: 26.9ms | ActiveRecord: 1.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 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"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.079634"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:51.079634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.081356"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:51.081356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:51.084050"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.084050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.086917"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:51.086917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:51.088512"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.088512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.089850"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:51.089850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:51.091288"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.091288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.092444"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:51.092444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:51.094144"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.094144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.096405"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$YDf2UC/7rC7.PnPk4vNrJOFuJH3LqTZXZ8rdZKbHGTrFHSUmnOb1u"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.096405"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user40@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:51.096405"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$YDf2UC/7rC7.PnPk4vNrJOFuJH3LqTZXZ8rdZKbHGTrFHSUmnOb1u"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.096405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.102166"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.102166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.103551"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:51.103551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.104991"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:51.104991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.106805"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:51.106805"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.108746"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:51.108746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.110538"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:51.110538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.112350"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:51.112350"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:51.116885"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:51.116885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:51.118263"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:51.118263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:22:51.119284"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.119284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:51.120235"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:51.120235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:22:51.121234"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.121234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:22:51.122223"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.122223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:22:51.123433"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.123433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.124952"], ["title", "Site Title 15"], ["updated_at", "2014-05-27 00:22:51.124952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:51 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:51 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user40@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:51.141641"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:51.141641"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:51.142099"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:51 -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.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.7ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 13.8ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.178066"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.178066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.180166"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$2SLHbuu2ZqtbYgg7ICzJm./8Uv11H1tbQkvFZ2Dvu2pHgIZ/uRmGC"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:51.180166"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.183485"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-27 00:22:51.183485"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:51.185552"], ["updated_at", "2014-05-27 00:22:51.185552"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #5. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.189673"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.189673"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user42@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.191523"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$/0XiRlrAqDPevcVtugn1/e5HnvOxxl3FMYhUAy/HmN1Q.wbj22dhK"], ["role_id", 6], ["updated_at", "2014-05-27 00:22:51.191523"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.193456"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-27 00:22:51.193456"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:51.195147"], ["updated_at", "2014-05-27 00:22:51.195147"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.199724"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.199724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user43@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.201662"], ["email", "user43@example.com"], ["encrypted_password", "$2a$04$6zpAm5QqSTZiCwMQA5U1W.ndm/5u1PXtF65i5Flf5GI5nWsX8OxP6"], ["role_id", 7], ["updated_at", "2014-05-27 00:22:51.201662"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.203632"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-27 00:22:51.203632"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:22:51.205360"], ["updated_at", "2014-05-27 00:22:51.205360"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:22:51 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Exists (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" = 5 LIMIT 1 [["role_id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.9ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 8 LIMIT 1 [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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" = 7 LIMIT 1 [["role_id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 12.2ms | ActiveRecord: 0.9ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.280308"], ["title", "Site Title 16"], ["updated_at", "2014-05-27 00:22:51.280308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.284596"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.284596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user44@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.287151"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$1K5F//.DjfTOk5gzfLvE8eNt21zBDaVI5jISEqJAiAjh1ukPHpxEG"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.287151"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.300457"], ["title", "Site Title 17"], ["updated_at", "2014-05-27 00:22:51.300457"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.304910"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.304910"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user45@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.308192"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$Bk1q8LDm6gsQd7bxK0/Z.O.Z4ueZH1vBRDPDZiEfSgXix6ZlxN1q2"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.308192"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.336140"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.336140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user46@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.338945"], ["email", "user46@example.com"], ["encrypted_password", "$2a$04$2nRLUZ4OwPEaldv2N6g.yuRl1B53Ispsup.7AdBzwfXu55ZqcwBAW"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.338945"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.363689"], ["title", "Site Title 18"], ["updated_at", "2014-05-27 00:22:51.363689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.368820"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.368820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user47@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.371899"], ["email", "user47@example.com"], ["encrypted_password", "$2a$04$be0yWOnEcl69psFUsnihf.q8SxTEvsyWnAkpJt97OSMoblP03giYy"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.371899"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 1ms  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.419707"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.419707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user48@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.422678"], ["email", "user48@example.com"], ["encrypted_password", "$2a$04$xgAVgdVEQ.kK9989RAScluoptjSpypVtXYYghlMnTaCov7dUVFgF."], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.422678"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.428627"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.428627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user49@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.431188"], ["email", "user49@example.com"], ["encrypted_password", "$2a$04$w0eyUeHADhWfBl9.wttvAOcHicJN8fzEgaiGmGqp3vgMBufvQQrKq"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.431188"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.437660"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.437660"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user50@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.439885"], ["email", "user50@example.com"], ["encrypted_password", "$2a$04$l8wPqkpnEm6fiHbs4kOojOWAQeCFihofS/YphoCGs94fwKD9.89KK"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.439885"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.446254"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.446254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user51@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.448609"], ["email", "user51@example.com"], ["encrypted_password", "$2a$04$IW/U8lrfqwBEiT4ZdLpcaeg94U55693ceWQ2z8OTAmplesjuiKE5y"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.448609"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (2.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.458548"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.458548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user52@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.461491"], ["email", "user52@example.com"], ["encrypted_password", "$2a$04$1XPJSlckLn5IG6l6KLpj4.b9FvUc7SMWyd1thELaodLMvhW5noqba"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.461491"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.468386"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.468386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user53@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.470483"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$LqpPz9z1qjOSNlfn9bsXPehZDeMXNNtqWVw.NLe8WhtbCQhTU5vNq"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.470483"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.477068"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.477068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user54@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.479308"], ["email", "user54@example.com"], ["encrypted_password", "$2a$04$WSbikw2SlHk60zRS9EAfe.5h9P8yBqH2vD9eJjUUZX0gGFxFL4ddm"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.479308"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.483605"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.483605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.485006"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:51.485006"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.486238"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:51.486238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.487292"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:51.487292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.488523"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:51.488523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.489592"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:51.489592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.490833"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:51.490833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:51.494638"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:51.494638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:51.495873"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:51.495873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:51.496902"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:51.496902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:51.497893"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:51.497893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:51.498919"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:51.498919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:51.500089"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:51.500089"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:51.501298"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:51.501298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.502593"], ["title", "Site Title 19"], ["updated_at", "2014-05-27 00:22:51.502593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.505415"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.505415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user55@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.507304"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$rTdTsxVOH8XG1ULdtLtQSOxbNP47a3QKnSZgG5JiADcQ61nDcK7b."], ["role_id", 4], ["updated_at", "2014-05-27 00:22:51.507304"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user55@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:51.507304"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$rTdTsxVOH8XG1ULdtLtQSOxbNP47a3QKnSZgG5JiADcQ61nDcK7b."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:22:51.507304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:51 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:51 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user55@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user55@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:51.640616"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:51.640616"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:51.641605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65194/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:51 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 1.2ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:51.720449"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:51.720449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user56@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.722377"], ["email", "user56@example.com"], ["encrypted_password", "$2a$04$KPOfNnJhLSHwQvifOqZ1DOu0V7mdDh9eCWclXwC/xKvqHcFjXH22y"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:51.722377"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:51.729380"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:22:51.729380"], ["user_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:22:51 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.0ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (3.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (5.4ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 24.0ms | ActiveRecord: 1.2ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-26 19:22:52 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 6ms (ActiveRecord: 0.7ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:52.817306"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:52.817306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:52.818720"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:52.818720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:52.820014"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:52.820014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:52.821019"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:52.821019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:52.821995"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:52.821995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:52.822875"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:52.822875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:52.823761"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:52.823761"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:52.827918"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:52.827918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:52.829108"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:52.829108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:52.830127"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:52.830127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:52.831050"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:52.831050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:52.831996"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:52.831996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:52.832997"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:52.832997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:52.833913"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:52.833913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:52.835213"], ["title", "Site Title 20"], ["updated_at", "2014-05-27 00:22:52.835213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:52.838263"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:52.838263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:52.840208"], ["email", "user57@example.com"], ["encrypted_password", "$2a$04$e9VbVL8UHXqoEzd4l7n69eJM91zjE1PlHzWycFPY71am5t1mzYKqK"], ["role_id", 4], ["updated_at", "2014-05-27 00:22:52.840208"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user57@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:52.840208"], ["email", "user57@example.com"], ["encrypted_password", "$2a$04$e9VbVL8UHXqoEzd4l7n69eJM91zjE1PlHzWycFPY71am5t1mzYKqK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:22:52.840208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:52 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user57@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.4ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:53.046897"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:53.046897"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:53.047472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65194/ Completed 302 Found in 9ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:53 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (10.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 1.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:53.161579"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:53.161579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user58@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:53.164184"], ["email", "user58@example.com"], ["encrypted_password", "$2a$04$fMuDCcN5Th7Vj86resZgPOZdpUwPkNjARijzPsHTGq4sbNyWPVOZq"], ["role_id", 5], ["updated_at", "2014-05-27 00:22:53.164184"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:53.170216"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:22:53.170216"], ["user_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 19:22:53 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.0ms) 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/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (6.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (22.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 34.1ms | ActiveRecord: 2.4ms) Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 19:22:54 -0500  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:55.192948"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:55.192948"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:55.194376"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:55.194376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:55.195592"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:55.195592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:55.196654"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:55.196654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:55.197652"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:55.197652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:55.198561"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:55.198561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:55.199449"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:55.199449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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.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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:55.204276"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:55.204276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:55.205611"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:55.205611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:55.206733"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:55.206733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:55.207792"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:55.207792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:55.208800"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:55.208800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:55.209807"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:55.209807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:55.210782"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:55.210782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:55.212127"], ["title", "Site Title 21"], ["updated_at", "2014-05-27 00:22:55.212127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:55.215086"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:55.215086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user59@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:55.216888"], ["email", "user59@example.com"], ["encrypted_password", "$2a$04$0m.wsdMl7vDfRCIspb/R/OURfFpyAZg/L5mbV8HzXIX5/wpaSqFoW"], ["role_id", 4], ["updated_at", "2014-05-27 00:22:55.216888"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user59@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:55.216888"], ["email", "user59@example.com"], ["encrypted_password", "$2a$04$0m.wsdMl7vDfRCIspb/R/OURfFpyAZg/L5mbV8HzXIX5/wpaSqFoW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:22:55.216888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:55 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:55 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user59@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user59@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:55.236962"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:55.236962"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:55.238149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:55 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 13.3ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:55.272433"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:55.272433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user60@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:55.274295"], ["email", "user60@example.com"], ["encrypted_password", "$2a$04$SblFDYzGCkRZq57noAPXt.X.5YKpeu0Td0QINxBALhYfoNz4D8PR."], ["role_id", 5], ["updated_at", "2014-05-27 00:22:55.274295"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:55.278614"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:22:55.278614"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:55.283717"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:55.283717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user61@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:55.285541"], ["email", "user61@example.com"], ["encrypted_password", "$2a$04$03N68cdfbbZ5mIGPLrZrSe5hsxTFHTm2aL9grMvPTPygUVRVbM01i"], ["role_id", 6], ["updated_at", "2014-05-27 00:22:55.285541"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:55.289768"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:22:55.289768"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:22:55 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.8ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 16ms (Views: 13.7ms | ActiveRecord: 0.8ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:55.324748"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:55.324748"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:55.326480"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:55.326480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:55.328284"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:55.328284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:55.329968"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:22:55.329968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:55.331445"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:55.331445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:55.332678"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:55.332678"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:55.334787"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:55.334787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Role Load (0.1ms) 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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:55.339569"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:55.339569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:55.341412"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:55.341412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:55.342592"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:55.342592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:55.343706"], ["role_id", 2], ["updated_at", "2014-05-27 00:22:55.343706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:55.344635"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:55.344635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:55.345571"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:55.345571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:55.346574"], ["role_id", 3], ["updated_at", "2014-05-27 00:22:55.346574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:55.347920"], ["title", "Site Title 22"], ["updated_at", "2014-05-27 00:22:55.347920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:55.352609"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:55.352609"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user62@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:55.354695"], ["email", "user62@example.com"], ["encrypted_password", "$2a$04$Lhvy1em2isFANmcspBEoJ.fOQcdaUoWXiVwfmimCO4mfEYfo4G4t2"], ["role_id", 4], ["updated_at", "2014-05-27 00:22:55.354695"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user62@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:55.354695"], ["email", "user62@example.com"], ["encrypted_password", "$2a$04$Lhvy1em2isFANmcspBEoJ.fOQcdaUoWXiVwfmimCO4mfEYfo4G4t2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:22:55.354695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:55 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:22:55 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user62@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user62@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:22:55.490690"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:22:55.490690"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:22:55.492252"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65194/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:22:55 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 11.8ms | ActiveRecord: 1.0ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:22:55 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (11.3ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 19.9ms | ActiveRecord: 0.9ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:22:55 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:22:55.689596"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:22:55.689596"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.8ms) Completed 200 OK in 28ms (Views: 14.0ms | ActiveRecord: 0.7ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.036387"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.036387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.039588"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.039588"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.043013"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.043013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.045315"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.045315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.047998"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.047998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.050395"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.050395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.053960"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.053960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.055946"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.055946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.058036"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.058036"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user63@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.061336"], ["email", "user63@example.com"], ["encrypted_password", "$2a$04$gYPfaTEZsOU/ZNPDds9zt.mEjQbZCU1105GdGuxfctxOUz8I1wHbm"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.061336"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user63@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.061336"], ["email", "user63@example.com"], ["encrypted_password", "$2a$04$gYPfaTEZsOU/ZNPDds9zt.mEjQbZCU1105GdGuxfctxOUz8I1wHbm"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.061336"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.073161"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:57.073161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.079856"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.079856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.081825"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.081825"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.084773"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.084773"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.089302"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.089302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.091212"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.091212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.093056"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.093056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.095112"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.095112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.098629"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.098629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.101461"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.101461"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user65@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.103900"], ["email", "user65@example.com"], ["encrypted_password", "$2a$04$IatvLSZrWojtPyL0rVB.aeMA7PwDMo84uTHSVUdGFNOWzUuQJFFzS"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.103900"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user65@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.103900"], ["email", "user65@example.com"], ["encrypted_password", "$2a$04$IatvLSZrWojtPyL0rVB.aeMA7PwDMo84uTHSVUdGFNOWzUuQJFFzS"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.103900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.109410"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:57.109410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.116009"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.116009"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.118806"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.118806"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.122056"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.122056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.124536"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.124536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.126430"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.126430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.127670"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.127670"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.128910"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.128910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.130882"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.130882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.132468"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.132468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user67@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.134646"], ["email", "user67@example.com"], ["encrypted_password", "$2a$04$sv/RJTTI9cahQ4bHMoqzS.7MHqPy/mbj.IA9cr3AkcBzcgD17pvF."], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.134646"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user67@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.134646"], ["email", "user67@example.com"], ["encrypted_password", "$2a$04$sv/RJTTI9cahQ4bHMoqzS.7MHqPy/mbj.IA9cr3AkcBzcgD17pvF."], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.134646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.142862"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:57.142862"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.150323"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.150323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.153689"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.153689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.158162"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.158162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.160136"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.160136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.161892"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.161892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.163751"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.163751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.165108"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.165108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.166227"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.166227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.168222"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.168222"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user69@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.172765"], ["email", "user69@example.com"], ["encrypted_password", "$2a$04$DLo.vPbHAF2C/mad8urB/Otll5FVOtOXAuORUvirZShbmyfLQYfLe"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.172765"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user69@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.172765"], ["email", "user69@example.com"], ["encrypted_password", "$2a$04$DLo.vPbHAF2C/mad8urB/Otll5FVOtOXAuORUvirZShbmyfLQYfLe"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.172765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.183532"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.183532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.185481"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.185481"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.187988"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.187988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.189472"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.189472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.191790"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.191790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.193646"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.193646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.195661"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.195661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.198661"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.198661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.200886"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.200886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user70@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.203782"], ["email", "user70@example.com"], ["encrypted_password", "$2a$04$vtHJC0kKkEfeWA3Gh2.I7ewm920YFupejPEivXePQitn9B7Pu.zNa"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.203782"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user70@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.203782"], ["email", "user70@example.com"], ["encrypted_password", "$2a$04$vtHJC0kKkEfeWA3Gh2.I7ewm920YFupejPEivXePQitn9B7Pu.zNa"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.203782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.214158"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.214158"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.218503"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.218503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.221419"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.221419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.223150"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.223150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.224908"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.224908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.226313"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.226313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.228535"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.228535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.230577"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.230577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.234464"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.234464"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user71@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.238025"], ["email", "user71@example.com"], ["encrypted_password", "$2a$04$hqDqxzjdvUWUYvVD4sbYj.Hm2ajXzf4ZBv9a1eA5lIu0XXKSlwd6S"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.238025"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user71@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.238025"], ["email", "user71@example.com"], ["encrypted_password", "$2a$04$hqDqxzjdvUWUYvVD4sbYj.Hm2ajXzf4ZBv9a1eA5lIu0XXKSlwd6S"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.238025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.251435"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.251435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.254108"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.254108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.257274"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.257274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.260061"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.260061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.264079"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.264079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.268125"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.268125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.270926"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.270926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.273130"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.273130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.274882"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.274882"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user72@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.278954"], ["email", "user72@example.com"], ["encrypted_password", "$2a$04$IakZuWZVwCFOU9OY1XBEJ.sCoYKpAG/FJ9o8YJgJqSkEl4d15lZUK"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.278954"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user72@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.278954"], ["email", "user72@example.com"], ["encrypted_password", "$2a$04$IakZuWZVwCFOU9OY1XBEJ.sCoYKpAG/FJ9o8YJgJqSkEl4d15lZUK"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.278954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.294492"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.294492"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.297942"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.297942"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.300268"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.300268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.301693"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.301693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.303685"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.303685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.305380"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.305380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.307537"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.307537"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.310451"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.310451"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.314854"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.314854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user73@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.316930"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$hhHxn20OFSd5zTa8LG7JGezyaRw6IXd8stEH3jQYkOch0aXfWPfwO"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.316930"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user73@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.316930"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$hhHxn20OFSd5zTa8LG7JGezyaRw6IXd8stEH3jQYkOch0aXfWPfwO"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.316930"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.331326"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.331326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.333092"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.333092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.335465"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.335465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.338380"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.338380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.341523"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.341523"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user74@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.347182"], ["email", "user74@example.com"], ["encrypted_password", "$2a$04$Lr5G8gYAQ0zCPaXp1PB3O.5NHZlGOVS78Nudh5KrDZWuD52vEJc1."], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.347182"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.356366"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.356366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.359473"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.359473"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.366226"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.366226"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.368075"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.368075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.370902"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.370902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user75@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.373892"], ["email", "user75@example.com"], ["encrypted_password", "$2a$04$.zwSGIvOX6YNgF8KhUubQOrKSP2d1bsS9qGbfOx6TVF5hrv1YP0Eu"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.373892"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.4ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.384579"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.384579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.387462"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.387462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.390320"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.390320"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.394651"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.394651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.397205"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.397205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user76@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.399118"], ["email", "user76@example.com"], ["encrypted_password", "$2a$04$MQ6QUj.sqm11lr3o.jeb.e7znGUiSWWYCpPnX99Je5VjXNWF5dqHW"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.399118"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.407570"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.407570"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.411243"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.411243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.413353"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.413353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.414644"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.414644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.416274"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.416274"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user77@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.418678"], ["email", "user77@example.com"], ["encrypted_password", "$2a$04$hXRdVg/c5Zkh0x/uFo4Vl.wCMrgzf6yS6xrv9fQLFfKmSV0/h/dBO"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.418678"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.427807"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.427807"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.429560"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.429560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.431280"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.431280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.432532"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.432532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.434176"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.434176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user78@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.436353"], ["email", "user78@example.com"], ["encrypted_password", "$2a$04$yX.qPWdn3l3V.7lUprdo4uzkGm6OR8GwJFAs2KIMySr1JHR1aOeRm"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.436353"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.442758"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.442758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.444345"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.444345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.446372"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.446372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.447879"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.447879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.449273"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.449273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user79@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.451679"], ["email", "user79@example.com"], ["encrypted_password", "$2a$04$Rxk6tqjgBjFE.lAT5D4gjeuc/WF54R0n.MGU6X.P1TNOvm8vJz/y6"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.451679"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.458877"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.458877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.461276"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.461276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.463170"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.463170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.464433"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.464433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.466904"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.466904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user80@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.469827"], ["email", "user80@example.com"], ["encrypted_password", "$2a$04$pE4ScWIgM87050n3ZMFLBeDi6M/PcyzC9VlsEvPPfz2/pYira4FnK"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.469827"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.476534"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.476534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.478504"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.478504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.480134"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.480134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.481381"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.481381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.482665"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.482665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user81@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.485488"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$4a6pI05W6fhJhvLI4YEQbO85LDwt.fQftKKswb4wh.jUJ6u1GVB6S"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.485488"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.492366"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:57.492366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.494207"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.494207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.496021"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.496021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user82@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.497888"], ["email", "user82@example.com"], ["encrypted_password", "$2a$04$OLN9XWWduu7E1ZDQeEJ3y.2Gd2NZM3snyqXRhem/mIvrSeEfqrUCO"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.497888"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.504455"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:57.504455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.506013"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.506013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.507857"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.507857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user83@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.510567"], ["email", "user83@example.com"], ["encrypted_password", "$2a$04$ghOWboBlU1X4H1Z4DATdRujmfM4xSf0N5SovxjHh5wApcGoGQoHr6"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.510567"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.520134"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:57.520134"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.523356"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.523356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.526490"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.526490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user84@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.529263"], ["email", "user84@example.com"], ["encrypted_password", "$2a$04$o/ZdcMdLxqgK.XNFmgw9TO4D9QEBnJgjXDWCI/74Tpto4YwfoHFsW"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.529263"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.537300"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:57.537300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.539260"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.539260"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.540992"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.540992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user85@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.543310"], ["email", "user85@example.com"], ["encrypted_password", "$2a$04$rkrtqYyEiht4T3sRPaZo8ei7185hBcVuHdz6L1ycGQHuY2KtinAuq"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.543310"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.5ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.551152"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:57.551152"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.553352"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.553352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.555070"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.555070"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user86@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.557023"], ["email", "user86@example.com"], ["encrypted_password", "$2a$04$iyCShXEWNNLIbrxYtsTtwuC2ksGGZ/Zf8nUm2EHUpFwsqL6EBt.vK"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.557023"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.563838"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:57.563838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.565886"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.565886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.567839"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.567839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user87@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.570893"], ["email", "user87@example.com"], ["encrypted_password", "$2a$04$TMJwA1.oKf5l6ew9LUwwX.h7REj1sprhmEQrkLXd7nZWRWbT6fv5."], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.570893"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.579777"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:57.579777"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.581904"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.581904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.583784"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.583784"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user88@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.587020"], ["email", "user88@example.com"], ["encrypted_password", "$2a$04$LrI8fOKDIfmOluvnYUOCBe2yp1o7RBluVd7yItD5Lyu8uzKpbKplG"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.587020"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.593471"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:57.593471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.595576"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.595576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.598183"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.598183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user89@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.600272"], ["email", "user89@example.com"], ["encrypted_password", "$2a$04$TY21uOAELYg/pct2H8vdMemgsxXLcKMuoV8zY8TlaMOQcH/HwA4Si"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.600272"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.608430"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.608430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.610103"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.610103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.611698"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.611698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.613599"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.613599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.616139"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.616139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.617583"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.617583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.619141"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.619141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.620694"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.620694"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.622291"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.622291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user90@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.624123"], ["email", "user90@example.com"], ["encrypted_password", "$2a$04$33OYds0FYBSbgD19S5WUzOCrJ.67.wUcn9mi85YA4jzQX8gSPI87G"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.624123"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user90@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.624123"], ["email", "user90@example.com"], ["encrypted_password", "$2a$04$33OYds0FYBSbgD19S5WUzOCrJ.67.wUcn9mi85YA4jzQX8gSPI87G"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.624123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.629725"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:57.629725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.637784"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.637784"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.639625"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.639625"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.641422"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.641422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.642693"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.642693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.644436"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.644436"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.646381"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.646381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.648154"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.648154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.649579"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.649579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.650955"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.650955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user92@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.653356"], ["email", "user92@example.com"], ["encrypted_password", "$2a$04$fqAkSsQfLzOenEAb9OnWievuyFkNaDe8dC6hJt7N.KTfxLce5VmyO"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.653356"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user92@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.653356"], ["email", "user92@example.com"], ["encrypted_password", "$2a$04$fqAkSsQfLzOenEAb9OnWievuyFkNaDe8dC6hJt7N.KTfxLce5VmyO"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.653356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.659671"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:57.659671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.667483"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.667483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.669264"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.669264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.671612"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.671612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.672917"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.672917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.675593"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.675593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.677621"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.677621"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.679925"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.679925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.682033"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.682033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.683584"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.683584"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user94@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.685868"], ["email", "user94@example.com"], ["encrypted_password", "$2a$04$T81wrDw1k1vhGI7f4BfBH.deXoEB0YR8cHTmxy701dSSyi8yPR47."], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.685868"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user94@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.685868"], ["email", "user94@example.com"], ["encrypted_password", "$2a$04$T81wrDw1k1vhGI7f4BfBH.deXoEB0YR8cHTmxy701dSSyi8yPR47."], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.685868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.691906"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:57.691906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.699039"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.699039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.701042"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.701042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.703487"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.703487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (10.0ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.705069"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.705069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.717245"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.717245"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.719214"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.719214"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.721394"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.721394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.722629"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.722629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.724068"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.724068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user96@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.726353"], ["email", "user96@example.com"], ["encrypted_password", "$2a$04$S0TrETaCToSX/4OBQRlcROdCHWrgAr6pkD//wU8RtzZ7Qz1EQQBYa"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.726353"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user96@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.726353"], ["email", "user96@example.com"], ["encrypted_password", "$2a$04$S0TrETaCToSX/4OBQRlcROdCHWrgAr6pkD//wU8RtzZ7Qz1EQQBYa"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.726353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.735588"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.735588"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.737565"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.737565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.739574"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.739574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.741085"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.741085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.743144"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.743144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.744549"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.744549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.746957"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.746957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.750519"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.750519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.753690"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.753690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user97@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.756080"], ["email", "user97@example.com"], ["encrypted_password", "$2a$04$Gngb7kjN4HoyeTmfGIm8cuJlo3U.wI9y.aPPb.kfzh/feK73RLC5e"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.756080"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user97@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.756080"], ["email", "user97@example.com"], ["encrypted_password", "$2a$04$Gngb7kjN4HoyeTmfGIm8cuJlo3U.wI9y.aPPb.kfzh/feK73RLC5e"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.756080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.766177"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.766177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.768242"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.768242"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.770473"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.770473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.772037"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.772037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.774627"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.774627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.775931"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.775931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.777572"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.777572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.779519"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.779519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.782048"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.782048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user98@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.784697"], ["email", "user98@example.com"], ["encrypted_password", "$2a$04$3jPbggg.G/32SnuVSb4fPemnEPIuxiOmKxtYUMMqbtbLLwL2cgs.2"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.784697"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user98@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.784697"], ["email", "user98@example.com"], ["encrypted_password", "$2a$04$3jPbggg.G/32SnuVSb4fPemnEPIuxiOmKxtYUMMqbtbLLwL2cgs.2"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.784697"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.794534"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.794534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.796081"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.796081"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.797960"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.797960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.799550"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.799550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.800990"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.800990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.802874"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.802874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.804742"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.804742"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.806644"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.806644"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.808035"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.808035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user99@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.809782"], ["email", "user99@example.com"], ["encrypted_password", "$2a$04$qItm4lYcU.UZLTFybSr9tO1Y5tUcyua5xpjFGpjg1GQMIhgtdbw.K"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.809782"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user99@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.809782"], ["email", "user99@example.com"], ["encrypted_password", "$2a$04$qItm4lYcU.UZLTFybSr9tO1Y5tUcyua5xpjFGpjg1GQMIhgtdbw.K"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.809782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.818554"], ["name", "admin"], ["updated_at", "2014-05-27 00:22:57.818554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.820807"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.820807"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.822705"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.822705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.823938"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.823938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.825182"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.825182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.827179"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:22:57.827179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:22:57.829056"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.829056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.830829"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:22:57.830829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:22:57.832206"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.832206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user100@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.833922"], ["email", "user100@example.com"], ["encrypted_password", "$2a$04$GI.Jv6mekLg0BAoHnDm9XOE7CFVnGCesoPo9jGWkdzama3v1iBhqi"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.833922"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user100@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:22:57.833922"], ["email", "user100@example.com"], ["encrypted_password", "$2a$04$GI.Jv6mekLg0BAoHnDm9XOE7CFVnGCesoPo9jGWkdzama3v1iBhqi"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.833922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.844027"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.844027"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.846135"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.846135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.847832"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.847832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.849101"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.849101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.850672"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.850672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user101@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.853878"], ["email", "user101@example.com"], ["encrypted_password", "$2a$04$2G861TeLYwTgJ3rT1Bdhw.7Wcpb50RrLlA6z4r98pNswCcrvXclLi"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.853878"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.859975"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.859975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.862495"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.862495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.864452"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.864452"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.866080"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.866080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.868708"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.868708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user102@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.872396"], ["email", "user102@example.com"], ["encrypted_password", "$2a$04$aS4mC4NIUtBxlQTgmpLp8uWMDrKCeR0oIxOaeke8nx3giBEsx42.i"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.872396"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.879652"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.879652"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.881448"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.881448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.883326"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.883326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.884593"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.884593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.887011"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.887011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user103@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.889938"], ["email", "user103@example.com"], ["encrypted_password", "$2a$04$Gw7QfUx0/OZdHwHmtC.Hr.bjQmrcmWTpGhSoy6/tGIYinY5.MRkU2"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.889938"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.896947"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.896947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.898545"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.898545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.900150"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.900150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.902113"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.902113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.904138"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.904138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user104@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.906112"], ["email", "user104@example.com"], ["encrypted_password", "$2a$04$W7A.kFAn8M8h0NRuIAerLeOSybcQm.YQjFKbyY3y3XCuWa3upW3m6"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.906112"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.912333"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.912333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.914496"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.914496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.916167"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.916167"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.917983"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.917983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.921245"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.921245"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user105@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.925312"], ["email", "user105@example.com"], ["encrypted_password", "$2a$04$ltZG9YhW19BFOxeYuckctOrGtnC0Uu8UB1k5HdHGiIuPu7TtuoFD2"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.925312"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (5.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.941202"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.941202"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.943064"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.943064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.944896"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.944896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.946140"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.946140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.947445"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.947445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user106@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.949661"], ["email", "user106@example.com"], ["encrypted_password", "$2a$04$5Q5rxVQhV5Q1c.ebC1sbreZhy3fDXvQqVyY2lboS7c.kET4fQfLpK"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.949661"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.957175"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.957175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.958991"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.958991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.960691"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.960691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.961897"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.961897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.963176"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.963176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user107@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.965528"], ["email", "user107@example.com"], ["encrypted_password", "$2a$04$TBZ9cavx5gtbm5zXoxnypei8FxA4lmyzSe9XjAVRlmrAAFQsT8wki"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.965528"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.972648"], ["name", "editor"], ["updated_at", "2014-05-27 00:22:57.972648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.974999"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.974999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.976749"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.976749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.977974"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.977974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:22:57.979740"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.979740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user108@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.982337"], ["email", "user108@example.com"], ["encrypted_password", "$2a$04$uw3brvIt8Hdgknd6dK.GoOqnYugXxKgnwE41TJ4J80hSS7nruJT3y"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.982337"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.992443"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:57.992443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:57.994041"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:57.994041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:57.995603"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.995603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.6ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user109@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:57.999358"], ["email", "user109@example.com"], ["encrypted_password", "$2a$04$/ixXBJmgsxPqO0jb5uL91eABBBjxW5K0HvUk4hhuREIyEQDcrtRoK"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:57.999358"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:58.008227"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:58.008227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:58.011394"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:58.011394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:58.013840"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:58.013840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user110@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:58.017209"], ["email", "user110@example.com"], ["encrypted_password", "$2a$04$QkVmlFr4cc48Pebg9F9Zn.Jcnqzk99guSVW8bNSgiCvvUjXjCO2M."], ["role_id", 1], ["updated_at", "2014-05-27 00:22:58.017209"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:58.026568"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:58.026568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:58.028181"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:58.028181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:58.029784"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:58.029784"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.4ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user111@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:58.032376"], ["email", "user111@example.com"], ["encrypted_password", "$2a$04$syvvtKenKcC5t.FzZLGrW.IptwIQxoDVNaHrUQjIEdt4yZ8H4XAP6"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:58.032376"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:58.044255"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:58.044255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:58.048013"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:58.048013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:58.050814"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:58.050814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user112@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:58.053626"], ["email", "user112@example.com"], ["encrypted_password", "$2a$04$0nBCu5RSLxC0G2EFdfDy.OFxuzi.1lzrvLhP8PNLtJHZIMywq16T6"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:58.053626"]]  (0.3ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:58.068075"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:58.068075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:58.071922"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:58.071922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:58.074585"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:58.074585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user113@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:58.078192"], ["email", "user113@example.com"], ["encrypted_password", "$2a$04$shMHxkImJfW3.JGccZjSQuq7As5IxTKctT4lSTX0ggrKbNwPRE9iS"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:58.078192"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:58.087264"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:58.087264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:58.090985"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:58.090985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:58.096104"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:58.096104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user114@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:58.101868"], ["email", "user114@example.com"], ["encrypted_password", "$2a$04$lEUS2dJbijV1793qzClI/.DCBkzB79u7pNfR1YEvliBQsvFfZc6JC"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:58.101868"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:58.111324"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:58.111324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:58.113272"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:58.113272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:58.115194"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:58.115194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user115@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:58.118305"], ["email", "user115@example.com"], ["encrypted_password", "$2a$04$RnlJTs5tVg80STO3qoRe2.UVgPC0BHhjKq.noeAVYYoJ3oGI5hnMW"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:58.118305"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:58.126070"], ["name", "writer"], ["updated_at", "2014-05-27 00:22:58.126070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:22:58.128304"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:22:58.128304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:22:58.130037"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:58.130037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user116@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:22:58.132062"], ["email", "user116@example.com"], ["encrypted_password", "$2a$04$dTVzmgY5YXGHFInSj4QFs.TJcK/1Ifceer3fnbP9UJT3gm0rYgH5u"], ["role_id", 1], ["updated_at", "2014-05-27 00:22:58.132062"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:43.999676"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:43.999676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:44.006702"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:44.006702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:44.018582"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:44.018582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:44.022558"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:44.022558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:44.024076"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:44.024076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:44.025293"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:44.025293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:44.026884"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:44.026884"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:44.028385"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:44.028385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:44.030030"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:44.030030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:44.041592"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$6ZIhNBH2zUg9eiEfSWLQW.ikGAbFhiNfrzvEW5FH7qTOHcxuCK92u"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:44.041592"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:44.041592"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$6ZIhNBH2zUg9eiEfSWLQW.ikGAbFhiNfrzvEW5FH7qTOHcxuCK92u"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:44.041592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:44.064116"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 00:26:44.064116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (22.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 244ms (Views: 229.9ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 19:26:46 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 19:26:46 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:26:47.109240"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:26:47.109240"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:26:47.110356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65276/ Completed 302 Found in 14ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:47 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (15.1ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (15.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (17.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 48ms (Views: 45.4ms | ActiveRecord: 1.5ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:47.229375"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:47.229375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:47.231455"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$Pe65HyFPj8GVyfYXLYY.quUotEM64TV6NFHPOnzOglKnA/CLwaK6u"], ["role_id", 2], ["updated_at", "2014-05-27 00:26:47.231455"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:47.234621"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:47.234621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:47.236183"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$9FQaTqvfActcSnEeI/8i.uXgYEIWhvG2HRZjTU306tf.7Sl6g0kfa"], ["role_id", 3], ["updated_at", "2014-05-27 00:26:47.236183"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:47.239208"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:47.239208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:47.240696"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$4s1wTpS/adQ/8Npj23MX5eHwNY814I.2kxYB7UNKvnLQkHgs97kzW"], ["role_id", 4], ["updated_at", "2014-05-27 00:26:47.240696"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:26:47 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://127.0.0.1:65276/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:47 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.6ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" DESC LIMIT 1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.377603"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:49.377603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.379215"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:49.379215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:49.380894"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.380894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.382075"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:49.382075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:49.383303"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.383303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.385057"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:49.385057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:49.386452"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.386452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.387583"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:49.387583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:49.388848"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.388848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:49.390718"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$AjJC1/PomVzvxqVOKANLneLp.ce3d2bk1KnzkkcbQiDxpXFd1ltzi"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.390718"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user5@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:49.390718"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$AjJC1/PomVzvxqVOKANLneLp.ce3d2bk1KnzkkcbQiDxpXFd1ltzi"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.390718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.394699"], ["title", "Site Title 2"], ["updated_at", "2014-05-27 00:26:49.394699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:49 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user5@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:26:49.410240"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:26:49.410240"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:26:49.411407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:49 -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.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.7ms) Started GET "/dashboard/users/new" for 127.0.0.1 at 2014-05-26 19:26:49 -0500 Processing by Storytime::Dashboard::UsersController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:49 -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.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.6ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.472309"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:49.472309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.473904"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:49.473904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:49.475530"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.475530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.476716"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:49.476716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:49.477967"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.477967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.479343"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:49.479343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:49.480937"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.480937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.482154"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:49.482154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:49.483415"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.483415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:49.485203"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$PjglzMmPWjLLdj5ZAWPLfukdvz3tYQ9mNPGQs7868pAOX6A7XmjJq"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.485203"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user6@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:49.485203"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$PjglzMmPWjLLdj5ZAWPLfukdvz3tYQ9mNPGQs7868pAOX6A7XmjJq"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.485203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.489186"], ["title", "Site Title 3"], ["updated_at", "2014-05-27 00:26:49.489186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:49 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:26:49.505852"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:26:49.505852"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:26:49.506379"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:49 -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.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (74.6ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 85ms (Views: 83.3ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.610749"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:49.610749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:49.612529"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$56dQS5DZWpZEocG1VqKVr.XYdDTRta4pA6ahULq3I4.cso598jbQ6"], ["role_id", 2], ["updated_at", "2014-05-27 00:26:49.612529"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users/2/edit" for 127.0.0.1 at 2014-05-26 19:26:49 -0500 Processing by Storytime::Dashboard::UsersController#edit as HTML Parameters: {"id"=>"2"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:49 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.6ms)  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.646422"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:49.646422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.647983"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:49.647983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:49.649534"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.649534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.650680"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:49.650680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:49.651890"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.651890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.654434"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:49.654434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:49.656368"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.656368"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.657916"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:49.657916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:49.659575"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.659575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:49.661618"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$brt8d9G5Bf/6fY6t7znqgefRbPPvzVkYtMN1mjNOyjiWNOzLmomh2"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.661618"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user8@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:49.661618"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$brt8d9G5Bf/6fY6t7znqgefRbPPvzVkYtMN1mjNOyjiWNOzLmomh2"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.661618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.665933"], ["title", "Site Title 4"], ["updated_at", "2014-05-27 00:26:49.665933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:49 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:26:49.682118"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:26:49.682118"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:26:49.682634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:49 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.712405"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:49.712405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:49.714409"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$Byf14UDfM0g5EQONZlZwd.qkxcIhvwp2b1Ych3W8Dn07FhrjQ2sAS"], ["role_id", 2], ["updated_at", "2014-05-27 00:26:49.714409"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.717645"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:49.717645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:49.719333"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$WxANTIqTYTKMP9IN0OXJmup/q9N8KLTSERteVdHsuP8Rde3DxR.Y."], ["role_id", 3], ["updated_at", "2014-05-27 00:26:49.719333"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.722336"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:49.722336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:49.723882"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$J/1rZsgBQ5fGjwh6Wl9wf.DQZBCvnF1FJN4TU8S9F5ldh4hJCp1IO"], ["role_id", 4], ["updated_at", "2014-05-27 00:26:49.723882"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:26:49 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:49 -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.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.7ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.6ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.785935"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:49.785935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.787568"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:49.787568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:49.789170"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.789170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.790370"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:49.790370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:49.792597"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.792597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.794281"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:49.794281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:49.796215"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.796215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.797726"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:49.797726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:49.799440"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.799440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:49.801255"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$np4u5NyzyU75MKAaay72d.GDUxZjA9IPIYLQFwz3Ml5ThXXUPx6HC"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.801255"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user12@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:49.801255"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$np4u5NyzyU75MKAaay72d.GDUxZjA9IPIYLQFwz3Ml5ThXXUPx6HC"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:49.801255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.805338"], ["title", "Site Title 5"], ["updated_at", "2014-05-27 00:26:49.805338"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:49 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user12@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:26:49.915456"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:26:49.915456"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:26:49.916413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65276/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:49 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.7ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:49.991668"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:49.991668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:49.993492"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$rJLkZmwTd2eONT127cin/u5isCRXRDU3NYpesROPOfQQf8aF4F8VK"], ["role_id", 2], ["updated_at", "2014-05-27 00:26:49.993492"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:50.005308"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-27 00:26:50.005308"], ["user_id", 2]] 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"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:26:50.013074"], ["updated_at", "2014-05-27 00:26:50.013074"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #1. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:26:50.020893"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:50.024479"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:50.024479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:50.026389"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$Oe5sjPNuC3S5fjaXj3U38.CRLbriCAGqZHP3lIxzEHVnsEnDioSC2"], ["role_id", 3], ["updated_at", "2014-05-27 00:26:50.026389"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:50.029706"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-27 00:26:50.029706"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:26:50.031457"], ["updated_at", "2014-05-27 00:26:50.031457"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-2' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:26:50.034693"], ["slug", "page-2"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:50.037785"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:50.037785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:50.039406"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$LVtRn71.jd2UXddPxBnm8..4uqYeojU1cY9KKr8wZ2hjC7xHNjT9y"], ["role_id", 4], ["updated_at", "2014-05-27 00:26:50.039406"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:50.042496"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-27 00:26:50.042496"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:26:50.044178"], ["updated_at", "2014-05-27 00:26:50.044178"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 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::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" = 'page-3' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:26:50.047170"], ["slug", "page-3"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:26:50 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (3.8ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 13.6ms | ActiveRecord: 0.7ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 19:26:50 -0500 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1  (2.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.122459"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:53.122459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.124098"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:53.124098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:53.125673"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.125673"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.127242"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:53.127242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:53.128823"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.128823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.130020"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:53.130020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:53.131296"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.131296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.132400"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:53.132400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:53.133611"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.133611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.135349"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$89znb8R5hA1TJ6eYebZzXeQprp3PUs1TMqODDYb7dLVXa6HYkLc3O"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.135349"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user16@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:53.135349"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$89znb8R5hA1TJ6eYebZzXeQprp3PUs1TMqODDYb7dLVXa6HYkLc3O"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.135349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.139762"], ["title", "Site Title 6"], ["updated_at", "2014-05-27 00:26:53.139762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user16@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:26:53.158887"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:26:53.158887"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:26:53.159934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:53 -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.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.192560"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:53.192560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.194593"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$sgQqLYpHgsCeUdz/MJhSiuuu1v2o.Z57N4U.Vh35dhMeMv5AM4n6."], ["role_id", 2], ["updated_at", "2014-05-27 00:26:53.194593"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.198127"], ["published", "f"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-27 00:26:53.198127"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:26:53.199975"], ["updated_at", "2014-05-27 00:26:53.199975"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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" = 'page-4' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.202466"], ["slug", "page-4"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-4/edit" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-4"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-4' 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:53 -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.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.7ms)  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.250692"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:53.250692"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.254232"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:53.254232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:53.256068"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.256068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.258583"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:53.258583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:53.260480"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.260480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.262164"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:53.262164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:53.263877"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.263877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.265111"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:53.265111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:53.267367"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.267367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.269610"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$HbweZR9oOzCAu9crnz4QtOHZWa7UzgVUyU74P/e0WD5d02QpAPNZ2"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.269610"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user18@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:53.269610"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$HbweZR9oOzCAu9crnz4QtOHZWa7UzgVUyU74P/e0WD5d02QpAPNZ2"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.269610"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.274332"], ["title", "Site Title 7"], ["updated_at", "2014-05-27 00:26:53.274332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:26:53.290795"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:26:53.290795"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:26:53.291595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:53 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (1.7ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (7.8ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (17.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (33.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (36.9ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 50ms (Views: 41.7ms | ActiveRecord: 1.4ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night..."}, "commit"=>"Create Page"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.387231"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-27 00:26:53.387231"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:26:53.389821"], ["updated_at", "2014-05-27 00:26:53.389821"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.392752"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 18ms (ActiveRecord: 1.6ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.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 "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (6.2ms) 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (8.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (19.9ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 32ms (Views: 24.6ms | ActiveRecord: 1.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.468899"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:53.468899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.470790"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:53.470790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:53.472540"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.472540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.473837"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:53.473837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:53.475845"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.475845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.477309"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:53.477309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:53.478713"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.478713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.479935"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:53.479935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:53.481225"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.481225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.483078"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$ITsUcg3HKLk0Z/ZGa5.6/ueszDiPFG.OCrvMFz8VIBJbeR2VBWOWG"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.483078"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user19@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:53.483078"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$ITsUcg3HKLk0Z/ZGa5.6/ueszDiPFG.OCrvMFz8VIBJbeR2VBWOWG"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.483078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.487310"], ["title", "Site Title 8"], ["updated_at", "2014-05-27 00:26:53.487310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user19@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:26:53.502916"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:26:53.502916"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:26:53.503462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:53 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.4ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.535984"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:53.535984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.538517"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$QrUQRgWG8cv1NFTmyC4gx.PZJAcFYZO0.j2U3JACl8ZiqZILYhaim"], ["role_id", 2], ["updated_at", "2014-05-27 00:26:53.538517"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.545842"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-27 00:26:53.545842"], ["user_id", 2]] 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"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:26:53.549420"], ["updated_at", "2014-05-27 00:26:53.549420"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #5. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-5' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.557083"], ["slug", "page-5"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.562112"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:53.562112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.565023"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$DWwuibN6ibp0GEQUBEeF8.pMne1UMapSBgsGuQ9zlBdugbGyVKga."], ["role_id", 3], ["updated_at", "2014-05-27 00:26:53.565023"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.569359"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-27 00:26:53.569359"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:26:53.571354"], ["updated_at", "2014-05-27 00:26:53.571354"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-6' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.574813"], ["slug", "page-6"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.578441"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:53.578441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.580740"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$8niUh6/8xjw2AOsqrAlVaO4Y/PIDBueEbS.FHYn4lbyeO8Sfr1rE."], ["role_id", 4], ["updated_at", "2014-05-27 00:26:53.580740"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.584518"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-27 00:26:53.584518"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:26:53.586377"], ["updated_at", "2014-05-27 00:26:53.586377"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-7' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.591907"], ["slug", "page-7"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" WHERE "storytime_pages"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (2.2ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 7.5ms | ActiveRecord: 0.7ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages"  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.623176"], ["title", "Site Title 9"], ["updated_at", "2014-05-27 00:26:53.623176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.626596"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:53.626596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.628785"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$x1Qlbeb0o6EI4IMOmJrCI.H7mj6noYLuKVHiwxXA1nLD60EsPHTPq"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.628785"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.642861"], ["title", "Site Title 10"], ["updated_at", "2014-05-27 00:26:53.642861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.646493"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:53.646493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.648779"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$w9QZtJrt2ifUBYJKvysPJO.hydl1QuZnbzKRyYRjggxjVZiljOPby"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.648779"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.663281"], ["title", "Site Title 11"], ["updated_at", "2014-05-27 00:26:53.663281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.666698"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:53.666698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.668877"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$gvnOua8mXGGpuyTLcY9.Qede31MXYqRcEI4DkTaiakSlDpvTjJVbO"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.668877"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.684814"], ["title", "Site Title 12"], ["updated_at", "2014-05-27 00:26:53.684814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.688413"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:53.688413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.690709"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$DRtX7FzUPCrhRODRhJVoYuTJamfSmp8VXqL9N78YkgjHFM3oTAZ7C"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.690709"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.708554"], ["title", "Site Title 13"], ["updated_at", "2014-05-27 00:26:53.708554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.713496"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:53.713496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.716362"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$ITu/0ekTLxK3ytEfCSy.U.ntgf/KwP0ndcG.aRTMle86W.bSpSZpe"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.716362"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.732095"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:53.732095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.734003"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:53.734003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:53.735807"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.735807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.737190"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:53.737190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:53.739073"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.739073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.740619"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:53.740619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:53.742806"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.742806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.744212"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:53.744212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:53.745627"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.745627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.747459"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$XDykDa2Z1VQ1kuh4bavtbuiYgGoWWw2n55PDVXdu6jTa5IgLhcXsi"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.747459"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user28@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:53.747459"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$XDykDa2Z1VQ1kuh4bavtbuiYgGoWWw2n55PDVXdu6jTa5IgLhcXsi"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.747459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user28@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:26:53.767109"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:26:53.767109"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:26:53.767545"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:53 -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.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://www.example.com/dashboard/sites/new Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/users/sign_in Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Devise::SessionsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Redirected to http://www.example.com/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:53 -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.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://www.example.com/dashboard/sites/new Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/users/sign_in Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.811917"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:53.811917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.813581"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:53.813581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:53.815200"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.815200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.816449"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:53.816449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:53.817703"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.817703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.819870"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:53.819870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:53.821954"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.821954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.823598"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:53.823598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:53.825361"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.825361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.836674"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$eHSkWBcbl0l2p7j5kzTGQebyKRapk/eW0XE4dTGfPjiUYL80wFDz2"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.836674"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user29@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:53.836674"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$eHSkWBcbl0l2p7j5kzTGQebyKRapk/eW0XE4dTGfPjiUYL80wFDz2"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.836674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.841837"], ["title", "Site Title 14"], ["updated_at", "2014-05-27 00:26:53.841837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user29@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:26:53.857520"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:26:53.857520"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:26:53.858184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:53 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.7ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:53 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.6ms)  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.943028"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:53.943028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.944660"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:53.944660"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:53.946242"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.946242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.947448"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:53.947448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:53.950339"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.950339"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.951995"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:53.951995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:53.953993"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.953993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.955976"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:53.955976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:53.957513"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.957513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:53.959429"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$gPgL7.QqYlIlDV3KIVfOjOdUFc.OSg05AjN.wZR815/z2mg6hSC6u"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.959429"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user30@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:53.959429"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$gPgL7.QqYlIlDV3KIVfOjOdUFc.OSg05AjN.wZR815/z2mg6hSC6u"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:53.959429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:53.963489"], ["title", "Site Title 15"], ["updated_at", "2014-05-27 00:26:53.963489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user30@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:26:53.978518"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:26:53.978518"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:26:53.978975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:53 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:26:54 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:54 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.7ms)  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:54.045166"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:54.045166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:54.047537"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$EhONhscPYYJvwzXLw0y/kuzEJaK7448rcAc5N2RhYx9K6Q0E2ysjq"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:54.047537"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:54.054880"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:54.054880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:54.057435"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$iban/3Mdyh2iDI6PfCkfIeMZKdg61PjWZI3JC0SfLaliVQmaWdaE2"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:54.057435"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:54.063843"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:54.063843"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:54.066141"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$tYv6zcWAk/KAajXwTnSeeufub/.QN/pC1iSeCQJjh/WxkEe0EomcS"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:54.066141"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:54.072315"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:54.072315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:54.074592"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:54.074592"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:54.077810"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:54.077810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:54.079715"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:54.079715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:54.081393"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:54.081393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:54.082987"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:54.082987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:54.084799"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:54.084799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:54.086060"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:54.086060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:54.087439"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:54.087439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:54.089434"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$lSFvKwnAkzxD3v7xwLLMqO5bNdsWe9IGALIBy6OEzdA0RPV86CU4y"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:54.089434"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user34@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:54.089434"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$lSFvKwnAkzxD3v7xwLLMqO5bNdsWe9IGALIBy6OEzdA0RPV86CU4y"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:54.089434"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:54.096623"], ["title", "Site Title 16"], ["updated_at", "2014-05-27 00:26:54.096623"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:54 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user34@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:26:54.207909"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:26:54.207909"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:26:54.208895"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65276/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26:54 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:54.282873"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:54.282873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:54.285108"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$vaHnxjnCM2.TLik05Z8jC.GbTyWIMHACdnpK87CEZj2rN6vW9XlCK"], ["role_id", 2], ["updated_at", "2014-05-27 00:26:54.285108"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:54.296903"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-27 00:26:54.296903"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:26:54.300850"], ["updated_at", "2014-05-27 00:26:54.300850"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #1. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:54.305442"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:54.305442"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:54.307271"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$mE0TG1BX6BK2n0P5Kkd1x.tW7SEUw0u2UyuUAKCESACdvb6KY4ECq"], ["role_id", 3], ["updated_at", "2014-05-27 00:26:54.307271"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:54.309651"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-27 00:26:54.309651"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:26:54.311581"], ["updated_at", "2014-05-27 00:26:54.311581"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:54.315689"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:54.315689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user37@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:54.317424"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$zYEEjUvw1rWJiY7RLSGKLuoTaEodGzrIBmICOrdfx3toZMWzeTNXG"], ["role_id", 4], ["updated_at", "2014-05-27 00:26:54.317424"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:54.319453"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-27 00:26:54.319453"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:26:54.321315"], ["updated_at", "2014-05-27 00:26:54.321315"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:26:54 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (4.1ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 13.4ms | ActiveRecord: 0.8ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.304906"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:57.304906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.306695"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.306695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:57.309569"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.309569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.311535"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.311535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:57.313313"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.313313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.314759"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:57.314759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:57.316285"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.316285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.317481"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:57.317481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:57.318818"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.318818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.320994"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$iJaHvh/goyTe/NEGbDbVmeMzEr.ywgWspFgxq62STIs1C55yv19Rm"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.320994"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user38@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:57.320994"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$iJaHvh/goyTe/NEGbDbVmeMzEr.ywgWspFgxq62STIs1C55yv19Rm"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.320994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.325095"], ["title", "Site Title 17"], ["updated_at", "2014-05-27 00:26:57.325095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:57 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:57 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user38@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:26:57.343265"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:26:57.343265"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:26:57.344335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26: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 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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (3.7ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 25ms (Views: 23.0ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.387217"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:57.387217"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user39@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.389088"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$rIGBLX8hgWYu44Qzow8c5.GS/9COdCfDit50eAGObHgvxv28HHVuC"], ["role_id", 2], ["updated_at", "2014-05-27 00:26:57.389088"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.391067"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "f"], ["title", "Post #4"], ["updated_at", "2014-05-27 00:26:57.391067"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:26:57.392852"], ["updated_at", "2014-05-27 00:26:57.392852"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:26:57 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26: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 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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.7ms)  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.438598"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:57.438598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.440335"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.440335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:57.442209"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.442209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.443490"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.443490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:57.445644"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.445644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.448017"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:57.448017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:57.450266"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.450266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.452149"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:57.452149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:57.453822"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.453822"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.456321"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$aNnAzsVH8s.0rZ9yz43UwupO.QbRoS8uAOjoA4.nCEsXLDNDNcfW2"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.456321"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user40@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:57.456321"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$aNnAzsVH8s.0rZ9yz43UwupO.QbRoS8uAOjoA4.nCEsXLDNDNcfW2"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.456321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.460600"], ["title", "Site Title 18"], ["updated_at", "2014-05-27 00:26:57.460600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:57 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:57 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user40@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:26:57.477094"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:26:57.477094"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:26:57.477532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26: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 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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (3.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 19:26:57 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.1ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (15.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (19.8ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 34ms (Views: 24.7ms | ActiveRecord: 1.0ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:26:57 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>""}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.557643"], ["excerpt", "It was a dark and stormy night..."], ["title", "The Story"], ["updated_at", "2014-05-27 00:26:57.557643"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:26:57.559543"], ["updated_at", "2014-05-27 00:26:57.559543"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:26:57 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.4ms) 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::Post"]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (2.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", 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (13.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (19.7ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 24.1ms | ActiveRecord: 1.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.635398"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:57.635398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.637174"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.637174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:57.638935"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.638935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.640190"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.640190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:57.642474"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.642474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.644156"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:57.644156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:57.645743"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.645743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.647089"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:57.647089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:57.649124"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.649124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.651232"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$9DeThyq5VdQ4tYV8MgkVKOEN4va9Z5xkCAqnq3aIkLPH9hoDCtoQW"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.651232"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user41@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:57.651232"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$9DeThyq5VdQ4tYV8MgkVKOEN4va9Z5xkCAqnq3aIkLPH9hoDCtoQW"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.651232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.655374"], ["title", "Site Title 19"], ["updated_at", "2014-05-27 00:26:57.655374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:57 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:26:57 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user41@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:26:57.671199"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:26:57.671199"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:26:57.671690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:26: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 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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.703998"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:57.703998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user42@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.706143"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$jxf.iHbHLN7J9t6XZj/c1O1dQXqMMV7Vh8jJCTXH0dTXv//rpfDVW"], ["role_id", 2], ["updated_at", "2014-05-27 00:26:57.706143"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.708497"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-27 00:26:57.708497"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:26:57.710399"], ["updated_at", "2014-05-27 00:26:57.710399"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #5. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.714661"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:57.714661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user43@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.716528"], ["email", "user43@example.com"], ["encrypted_password", "$2a$04$XOL.nAnAQw6EJ8BVtBmXmuIKg/W8DL/nqmWefJJDv/VtiygdRknYG"], ["role_id", 3], ["updated_at", "2014-05-27 00:26:57.716528"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.718620"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-27 00:26:57.718620"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:26:57.720271"], ["updated_at", "2014-05-27 00:26:57.720271"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.724426"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:57.724426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user44@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.726089"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$tZAqsuVHDyr93KXd7J/0w.9SboZm5sAoZLBjB0prWveDck9jM90Pq"], ["role_id", 4], ["updated_at", "2014-05-27 00:26:57.726089"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.728071"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-27 00:26:57.728071"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:26:57.729845"], ["updated_at", "2014-05-27 00:26:57.729845"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:26:57 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."user_id" = 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (2.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.2ms | ActiveRecord: 0.5ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.761096"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:57.761096"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.762795"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.762795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:57.764491"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.764491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.766634"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.766634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:57.768518"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.768518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.770154"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:57.770154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:57.771706"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.771706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.773123"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:57.773123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:57.774557"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.774557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user45@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.776453"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$X0YPZRtO74NISzu4PKKlWO01NYnuZ/zINJE0MT1gaF8R3wuKzIuIa"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.776453"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user45@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:57.776453"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$X0YPZRtO74NISzu4PKKlWO01NYnuZ/zINJE0MT1gaF8R3wuKzIuIa"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.776453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.782235"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:57.782235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.788618"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:57.788618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.790247"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.790247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:57.791915"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.791915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.793469"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.793469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:57.795000"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.795000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.796672"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:57.796672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:57.798165"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.798165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.799471"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:57.799471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:57.800877"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.800877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user47@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.802814"], ["email", "user47@example.com"], ["encrypted_password", "$2a$04$XoqPIoD17EIvdInZW0Aa5.52A4UX3CXoac1I5IZpmZrKZ77bBX7d6"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.802814"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user47@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:57.802814"], ["email", "user47@example.com"], ["encrypted_password", "$2a$04$XoqPIoD17EIvdInZW0Aa5.52A4UX3CXoac1I5IZpmZrKZ77bBX7d6"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.802814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.810689"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:57.810689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.818394"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:57.818394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.820367"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.820367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:57.822288"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.822288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.823789"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.823789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:57.825969"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.825969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.827381"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:57.827381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:57.828803"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.828803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.829975"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:57.829975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:57.831269"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.831269"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user49@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.833297"], ["email", "user49@example.com"], ["encrypted_password", "$2a$04$2ymFuwi2C9CBwtYi61Eef.kHj3flzLxEB8SYo5rPpGa8JOp4M7JHq"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.833297"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user49@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:57.833297"], ["email", "user49@example.com"], ["encrypted_password", "$2a$04$2ymFuwi2C9CBwtYi61Eef.kHj3flzLxEB8SYo5rPpGa8JOp4M7JHq"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.833297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.839578"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:57.839578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.845546"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:57.845546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.847147"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.847147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:57.849027"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.849027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.850777"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.850777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:57.853043"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.853043"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.855653"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:57.855653"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:57.858466"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.858466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.860423"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:57.860423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:57.862038"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.862038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user51@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.864007"], ["email", "user51@example.com"], ["encrypted_password", "$2a$04$9kxh66EEslOX277NtLSTAeTE6WX81X05vzg2QV6vDE1z2NBwQBeQ6"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.864007"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user51@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:57.864007"], ["email", "user51@example.com"], ["encrypted_password", "$2a$04$9kxh66EEslOX277NtLSTAeTE6WX81X05vzg2QV6vDE1z2NBwQBeQ6"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.864007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.873319"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:57.873319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.874947"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.874947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:57.876627"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.876627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.877883"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.877883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:57.879255"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.879255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.881587"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:57.881587"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:57.883383"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.883383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.884837"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:57.884837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:57.886462"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.886462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user52@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.888534"], ["email", "user52@example.com"], ["encrypted_password", "$2a$04$UckvEOmN/p7p8V06yXaxY.UUH.L1pIExbjhilbjNQKXZycjyjwREq"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.888534"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user52@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:57.888534"], ["email", "user52@example.com"], ["encrypted_password", "$2a$04$UckvEOmN/p7p8V06yXaxY.UUH.L1pIExbjhilbjNQKXZycjyjwREq"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.888534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.897497"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:57.897497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.899229"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.899229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:57.900853"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.900853"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.902164"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.902164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:57.903573"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.903573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.906131"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:57.906131"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:57.907807"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.907807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.909131"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:57.909131"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:57.910478"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.910478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user53@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.912335"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$Vx1W7tku6pHEUij24nEiyeexl3C.oUsShFgdDZB1Fl1xMGzgGIBbm"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.912335"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user53@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:57.912335"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$Vx1W7tku6pHEUij24nEiyeexl3C.oUsShFgdDZB1Fl1xMGzgGIBbm"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.912335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.921695"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:57.921695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.925151"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.925151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:57.928506"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.928506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.930673"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.930673"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:57.932703"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.932703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.934080"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:57.934080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:57.944901"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.944901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.946332"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:57.946332"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:57.947722"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.947722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user54@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.949580"], ["email", "user54@example.com"], ["encrypted_password", "$2a$04$2leRUY7YmHHyCCF2ZiropuJb0b5BDoFNjvpooSF4po5gsd619OwI2"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.949580"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user54@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:57.949580"], ["email", "user54@example.com"], ["encrypted_password", "$2a$04$2leRUY7YmHHyCCF2ZiropuJb0b5BDoFNjvpooSF4po5gsd619OwI2"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.949580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.958201"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:57.958201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.959826"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.959826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:57.961598"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.961598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.962985"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.962985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:57.964373"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.964373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.966266"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:57.966266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:57.967716"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.967716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.969068"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:57.969068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:57.970577"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.970577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user55@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.973083"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$PG2lZLNHJdwJ0Lp9OLgUceMg/epebs3MbA7DiQGMrndjC7R5aNlTS"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.973083"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user55@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:57.973083"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$PG2lZLNHJdwJ0Lp9OLgUceMg/epebs3MbA7DiQGMrndjC7R5aNlTS"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.973083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.984240"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:57.984240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.985979"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.985979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:57.987721"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.987721"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:57.989025"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:57.989025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:57.992035"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.992035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user56@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:57.995371"], ["email", "user56@example.com"], ["encrypted_password", "$2a$04$TuuGUc1oD6/7YRBPLf8ZU.D9u0ue0KfsNZWCjKnuqh9Bk8JbWBlu2"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:57.995371"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.003099"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:58.003099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.005452"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.005452"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.008035"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.008035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.010114"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.010114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.012273"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.012273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.014425"], ["email", "user57@example.com"], ["encrypted_password", "$2a$04$OzVAuTFpoEtpS7XM0MY4SOsIdAHBhizu32ErUTWWu/eCBzMdQTv1K"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.014425"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.020875"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:58.020875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.022646"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.022646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.024305"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.024305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.025686"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.025686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.027429"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.027429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user58@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.029426"], ["email", "user58@example.com"], ["encrypted_password", "$2a$04$v31mk2Ry2SDeZdPzSjoVPeSEmuFS00Vhv8DyIBr29AwEBoRg9twM2"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.029426"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.035948"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:58.035948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.038068"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.038068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.040671"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.040671"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.043325"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.043325"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.045452"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.045452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user59@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.047436"], ["email", "user59@example.com"], ["encrypted_password", "$2a$04$uFOCfvk175ur1zWvBim/QuntEuuFGF3CA0PVSmLlnhXmnaq4P09ry"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.047436"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.054112"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:58.054112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.055998"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.055998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.057940"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.057940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.059207"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.059207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.060631"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.060631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user60@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.062872"], ["email", "user60@example.com"], ["encrypted_password", "$2a$04$zT7Rg6LgjxAGIm/XXT80Y.3fqVUXKSozfj9.TL9ee6..aWkD3a/ES"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.062872"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.069045"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:58.069045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.070659"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.070659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.072337"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.072337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.073710"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.073710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.075052"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.075052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user61@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.077558"], ["email", "user61@example.com"], ["encrypted_password", "$2a$04$g32J26GY4W3TRzyht0NAWeOEhWLUyCIip/gfD7GnNaoqqSx4zT0IO"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.077558"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.084037"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:58.084037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.085803"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.085803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.088272"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.088272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.091346"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.091346"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.094147"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.094147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user62@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.096903"], ["email", "user62@example.com"], ["encrypted_password", "$2a$04$osU4J30rtU0oQ5lV7LxY4OYytnCvHbdfWMltztQDcXLgzU4JD/BNu"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.096903"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.103734"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:58.103734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.105429"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.105429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.107178"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.107178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.108484"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.108484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.109821"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.109821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user63@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.112229"], ["email", "user63@example.com"], ["encrypted_password", "$2a$04$X/yifNIWagI.oKol.Y4N0.EH2pQHPrbMUl/NTwXJs7iR3SIEHDJCC"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.112229"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.119088"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.119088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.120690"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.120690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.122422"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.122422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user64@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.124355"], ["email", "user64@example.com"], ["encrypted_password", "$2a$04$tLQBixwRMcdl6pZcnYmFR.oLf9n7wVLqTBdT7Fa1v7y1AvOLGuGaa"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.124355"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.131123"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.131123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.132736"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.132736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.134400"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.134400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user65@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.136376"], ["email", "user65@example.com"], ["encrypted_password", "$2a$04$khqrLFoXClyXdsaRbmCV6.7TQpJdFK1t4ohA9ndHtVuFL.JdiiWlW"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.136376"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.143067"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.143067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.144842"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.144842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.146623"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.146623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user66@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.148596"], ["email", "user66@example.com"], ["encrypted_password", "$2a$04$sLJN9.sVtsbzchxzxZMOH.X.iRBdi59j2/gglhV2dLYDw2BwD7YTq"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.148596"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.156314"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.156314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.158837"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.158837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.161027"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.161027"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user67@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.163685"], ["email", "user67@example.com"], ["encrypted_password", "$2a$04$8YZcyIQhpFvsrcpTaTS3Wuqe7SZk936Xd.LfaNOd86eDmPd6tua2u"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.163685"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.169948"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.169948"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.171749"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.171749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.173462"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.173462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user68@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.175785"], ["email", "user68@example.com"], ["encrypted_password", "$2a$04$CeZ9sFOKiJfphBSa7Dy3.uuEjQIQRwjQ0cwGyFr2qemb5GHIeTW4m"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.175785"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.182626"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.182626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.184303"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.184303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.186015"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.186015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user69@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.188549"], ["email", "user69@example.com"], ["encrypted_password", "$2a$04$EFbjBFib0Yknoq9/tPq4IebNklSU.fqn8TgSnpFL3lSCRSv8dTSUG"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.188549"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.197958"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.197958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.199907"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.199907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.201726"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.201726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user70@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.203760"], ["email", "user70@example.com"], ["encrypted_password", "$2a$04$cSWbAjQp9ZuyrGItAaoGzuoVq.133jIKEJjQzdXDf2CoBjqWYO48y"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.203760"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.5ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.211663"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.211663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.214309"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.214309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.216563"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.216563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user71@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.219706"], ["email", "user71@example.com"], ["encrypted_password", "$2a$04$K./zzcic2iGMExocRI6FLO5FS5V2XSmUqub.Xunbigk0stPPjOt9G"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.219706"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.228632"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.228632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user72@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.231075"], ["email", "user72@example.com"], ["encrypted_password", "$2a$04$xOK3eHvKKX6crHEoy0mi9uzhwUqwd0Ee4faMi4yXPlYFVR9jX/ASq"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.231075"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.245064"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.245064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user73@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.247423"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$snQA8A2hWy7Sq7mlTGp1rusoSI/GVQnXqJlyqU1KP8yG2Qo1lc0rW"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.247423"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.268343"], ["title", "Site Title 20"], ["updated_at", "2014-05-27 00:26:58.268343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.272722"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.272722"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user74@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.276765"], ["email", "user74@example.com"], ["encrypted_password", "$2a$04$9pEo2cdHGtnjaoEaZbkWqukqWb0MhvB1xtumUdV9BVfmaytt499fK"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.276765"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 1ms  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.320509"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:58.320509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.322260"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.322260"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.324086"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.324086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.325563"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.325563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.327351"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.327351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.328793"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:58.328793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:58.330455"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.330455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.332298"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:58.332298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:58.333799"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.333799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user75@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.338695"], ["email", "user75@example.com"], ["encrypted_password", "$2a$04$.psELhQY9d5s3UO8TvlXqeG3KPkVJGzJdxxIxUdz3Bxv5HFhIhjBq"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.338695"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user75@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:58.338695"], ["email", "user75@example.com"], ["encrypted_password", "$2a$04$.psELhQY9d5s3UO8TvlXqeG3KPkVJGzJdxxIxUdz3Bxv5HFhIhjBq"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.338695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.345873"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.345873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.358182"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:58.358182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.361328"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.361328"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.363998"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.363998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.365681"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.365681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.367258"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.367258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.368601"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:58.368601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:58.369945"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.369945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.371231"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:58.371231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:58.372653"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.372653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user77@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.374434"], ["email", "user77@example.com"], ["encrypted_password", "$2a$04$ZCYXaPgjP7I6q3nSmKMfe.rOxk3lCyndz4ziHoZVC6QKfT5jwiWbS"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.374434"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user77@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:58.374434"], ["email", "user77@example.com"], ["encrypted_password", "$2a$04$ZCYXaPgjP7I6q3nSmKMfe.rOxk3lCyndz4ziHoZVC6QKfT5jwiWbS"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.374434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.380180"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.380180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.387128"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:58.387128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.388858"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.388858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.390859"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.390859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.392215"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.392215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.393857"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.393857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.395736"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:58.395736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:58.397353"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.397353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.398593"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:58.398593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:58.399871"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.399871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user79@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.401770"], ["email", "user79@example.com"], ["encrypted_password", "$2a$04$DAtdZDcgsYWIeHyFwh9DVuXwQs5z16CSSme7SFR6RizR7cTyLHFE2"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.401770"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user79@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:58.401770"], ["email", "user79@example.com"], ["encrypted_password", "$2a$04$DAtdZDcgsYWIeHyFwh9DVuXwQs5z16CSSme7SFR6RizR7cTyLHFE2"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.401770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.409914"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.409914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.416932"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:58.416932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.418621"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.418621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.420377"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.420377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.422072"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.422072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.424580"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.424580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.426586"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:58.426586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:58.428567"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.428567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.430006"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:58.430006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:58.431418"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.431418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user81@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.433286"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$6xApD.dqGZ8VpL9BDALIA.uV1phFgJPCVm6gTHTGY3/eOxZCwVtbe"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.433286"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user81@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:58.433286"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$6xApD.dqGZ8VpL9BDALIA.uV1phFgJPCVm6gTHTGY3/eOxZCwVtbe"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.433286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.443135"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:58.443135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.444829"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.444829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.446494"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.446494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.447736"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.447736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.449188"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.449188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.451905"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:58.451905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:58.453493"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.453493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.455379"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:58.455379"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:58.457903"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.457903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user82@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.461105"], ["email", "user82@example.com"], ["encrypted_password", "$2a$04$EJxnOC8oh6Za/VhLLnJzvuVvHA7nf2fHlv61iba2XvJhbT72DU4Y."], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.461105"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user82@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:58.461105"], ["email", "user82@example.com"], ["encrypted_password", "$2a$04$EJxnOC8oh6Za/VhLLnJzvuVvHA7nf2fHlv61iba2XvJhbT72DU4Y."], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.461105"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.470366"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:58.470366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.472065"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.472065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.473779"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.473779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.475089"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.475089"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.476437"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.476437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.478048"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:58.478048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:58.480089"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.480089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.481736"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:58.481736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:58.483397"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.483397"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user83@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.485501"], ["email", "user83@example.com"], ["encrypted_password", "$2a$04$xSgXBGXfaGv1GkTrgczzKu6/YNsTfIp5MZbMPiYKNCKmrBknCnHIu"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.485501"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user83@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:58.485501"], ["email", "user83@example.com"], ["encrypted_password", "$2a$04$xSgXBGXfaGv1GkTrgczzKu6/YNsTfIp5MZbMPiYKNCKmrBknCnHIu"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.485501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.494598"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:58.494598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.496281"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.496281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.497965"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.497965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.499308"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.499308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.500638"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.500638"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.502935"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:58.502935"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:58.505065"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.505065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.507098"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:58.507098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:58.509190"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.509190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user84@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.511415"], ["email", "user84@example.com"], ["encrypted_password", "$2a$04$Jqx4pcKXsQFoUO/ulp9W1u9dHvDcO6lGRx9w2USqWd4J00C.415rG"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.511415"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user84@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:58.511415"], ["email", "user84@example.com"], ["encrypted_password", "$2a$04$Jqx4pcKXsQFoUO/ulp9W1u9dHvDcO6lGRx9w2USqWd4J00C.415rG"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.511415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.520316"], ["name", "admin"], ["updated_at", "2014-05-27 00:26:58.520316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.521941"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.521941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.523741"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.523741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.525043"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.525043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.526380"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.526380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.529061"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:26:58.529061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:26:58.531156"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.531156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.532753"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:26:58.532753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:26:58.534626"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.534626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user85@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.536577"], ["email", "user85@example.com"], ["encrypted_password", "$2a$04$i7lvlX/M4rkSFxWW1sDO5u3t414U7VXCxxZ1Ym.J3YGjxuaU1ksiy"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.536577"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user85@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:26:58.536577"], ["email", "user85@example.com"], ["encrypted_password", "$2a$04$i7lvlX/M4rkSFxWW1sDO5u3t414U7VXCxxZ1Ym.J3YGjxuaU1ksiy"], ["id", 1], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.536577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.546139"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:58.546139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.547905"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.547905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.549674"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.549674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.550943"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.550943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.553103"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.553103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user86@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.556606"], ["email", "user86@example.com"], ["encrypted_password", "$2a$04$E6WSb16jl20owZjP616pLO.GwMegPbx7Be1UeO205jQoGk1a3UJ8S"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.556606"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.564295"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:58.564295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.566053"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.566053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.567783"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.567783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.569137"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.569137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.570948"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.570948"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user87@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.573141"], ["email", "user87@example.com"], ["encrypted_password", "$2a$04$tupFgiti6UmrLzerZqF77elAhvAYU8FYRGUFkC.iCMuEtW2Q2B/nW"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.573141"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.588785"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:58.588785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.590542"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.590542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.592235"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.592235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.593495"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.593495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.594823"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.594823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user88@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.598050"], ["email", "user88@example.com"], ["encrypted_password", "$2a$04$l.YEPqei65C7SJFhiVFRbus55z7mtiBSm7XnhqiINUCzj4Znr6XSO"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.598050"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.604740"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:58.604740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.607220"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.607220"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.610315"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.610315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.612786"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.612786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.614626"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.614626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user89@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.616612"], ["email", "user89@example.com"], ["encrypted_password", "$2a$04$SKYC6SmwF0nkpeoAu6bNXOvayylHb6nW802FDUG4as5wsMDlT0pda"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.616612"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.622763"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:58.622763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.624435"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.624435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.626131"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.626131"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.627363"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.627363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.628858"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.628858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user90@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.632211"], ["email", "user90@example.com"], ["encrypted_password", "$2a$04$a8vlOhxpxaZ3nBMhRzpMJOaRa7FMd1NGogvBNfvnT2I1Qscc6jlx6"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.632211"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.640158"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:58.640158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.642699"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.642699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.644799"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.644799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.647766"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.647766"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.649546"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.649546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user91@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.651532"], ["email", "user91@example.com"], ["encrypted_password", "$2a$04$WM2BmWMD8gAkb2KQF.SWxO2qhkctuh.G7BXbzG65vhBKbb1rmn5Ou"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.651532"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.658247"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:58.658247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.659908"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.659908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.662063"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.662063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.664739"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.664739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.667491"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.667491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user92@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.670370"], ["email", "user92@example.com"], ["encrypted_password", "$2a$04$8eWX4.sy5kQkcwn9X9GB8.7rPstjletLpUehkZgWJxTjZEBmf4HMK"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.670370"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.679274"], ["name", "editor"], ["updated_at", "2014-05-27 00:26:58.679274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.681509"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.681509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.683276"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.683276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.685146"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.685146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:26:58.687554"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.687554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user93@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.690760"], ["email", "user93@example.com"], ["encrypted_password", "$2a$04$1aYax3LgZz5pq4rfW//Pw.IlVhfzM9b3QE1rsECun2wGVhO5Dc/c6"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.690760"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.699330"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.699330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.701044"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.701044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.702756"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.702756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user94@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.704669"], ["email", "user94@example.com"], ["encrypted_password", "$2a$04$gpnfr8rnZhCPbbMmIQU4J.wgQ/o8jePgyo90.I796.U./7wl5MfFK"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.704669"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.711928"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.711928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.713722"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.713722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.715486"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.715486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user95@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.717545"], ["email", "user95@example.com"], ["encrypted_password", "$2a$04$m.ZAgb2ioHsO7M0LzeISi.ofjghHusm0sub9GZfuK591eIEdM43FC"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.717545"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.724984"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.724984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.727878"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.727878"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.730094"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.730094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user96@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.733477"], ["email", "user96@example.com"], ["encrypted_password", "$2a$04$wbmAyICp2.hV1Svgd9OZ0.8rg5OUbZ9gCVsIck3YrVCHSbgwr.vQm"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.733477"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.740571"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.740571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.742348"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.742348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.744076"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.744076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user97@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.745920"], ["email", "user97@example.com"], ["encrypted_password", "$2a$04$XBqs5nYrTpOHdrr1NH0.DeP1tboOAqdkiMepcgWIgK5n5iht2at.2"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.745920"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.752331"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.752331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.754079"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.754079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.755821"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.755821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user98@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.758087"], ["email", "user98@example.com"], ["encrypted_password", "$2a$04$9e9hI2hQE5D6aGtkbQAqzO7o1PEiO7yQs2YDlV/E4/qjE3JJ42emy"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.758087"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.764866"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.764866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.766572"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.766572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.768280"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.768280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user99@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.770210"], ["email", "user99@example.com"], ["encrypted_password", "$2a$04$wps3RhAW9yH1OwCG7WzSceSfT4qkLPkhAABFgMAa2yInLwLaDEXeW"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.770210"]]  (0.4ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.778739"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.778739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.780616"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.780616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.782437"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.782437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user100@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.784624"], ["email", "user100@example.com"], ["encrypted_password", "$2a$04$QdMi4xxVZHDuzRz1PH05HefpskzrSTqFs3R1NSH5NsquWvNTUNoe2"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.784624"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.791384"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.791384"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.793123"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:26:58.793123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:26:58.794816"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.794816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user101@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.796667"], ["email", "user101@example.com"], ["encrypted_password", "$2a$04$SfSk8aHxwuPUP9v7jCAPf.FFgLCGZyvOtf13iNbgmoM2R3gNd5KG2"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.796667"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'tony@stark.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.804295"], ["email", "tony@stark.com"], ["encrypted_password", "$2a$04$QZhS6s6A7kFtWv2Pa9TyN.F84IOB7VNOfeJ5lwVyztQCQD714qR4q"], ["updated_at", "2014-05-27 00:26:58.804295"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.813245"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.813245"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user102@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.815849"], ["email", "user102@example.com"], ["encrypted_password", "$2a$04$heT5gdsEr/K7FZpDRCLUG.riYHpA66pyB9UOgt4brdUGI7uJMSBQi"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.815849"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.821761"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.821761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user103@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.823846"], ["email", "user103@example.com"], ["encrypted_password", "$2a$04$gM3VkWaN9q3XE6N3cLJXO.Di/XzLc8Gq7.NgnSG/6IC/X0TDQ2/9e"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.823846"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.830958"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.830958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user104@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.833195"], ["email", "user104@example.com"], ["encrypted_password", "$2a$04$6Zb.2N3A7LW4.IiPHl1rGOrjwHZ0RgAx.r5TTqUwenjX74ThJTMji"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.833195"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.841146"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.841146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user105@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.845746"], ["email", "user105@example.com"], ["encrypted_password", "$2a$04$ywy1e/89TRWS0WOD5koKWueraYdrqNlquET7q0du9qLqgfYCdrtcK"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.845746"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.852225"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.852225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user106@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.855325"], ["email", "user106@example.com"], ["encrypted_password", "$2a$04$INkD60dCWM3bT9gbN.ME3.vT21UMvlxT/yLtfGawc76EuA/e7pmuS"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.855325"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.861426"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.861426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user107@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.863625"], ["email", "user107@example.com"], ["encrypted_password", "$2a$04$8oteLpoEdd9XjEaa.Vfv7e1kZD2LMQmVIcWu.UrwlImOXeTtcs9YG"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.863625"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.868663"], ["title", "Site Title 21"], ["updated_at", "2014-05-27 00:26:58.868663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.872385"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.872385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user108@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.874791"], ["email", "user108@example.com"], ["encrypted_password", "$2a$04$jItn.2/zBHXAh0t/8b6rT.hgNVMf5lxoQjmkp1D.2i2PhjIeJXxuW"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.874791"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.889934"], ["title", "Site Title 22"], ["updated_at", "2014-05-27 00:26:58.889934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.894688"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.894688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user109@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.897591"], ["email", "user109@example.com"], ["encrypted_password", "$2a$04$bkMjdKzDabeckYxf1QhR0eoSq1NojQ0.WXU.8lssc3JeafkBMwYbi"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.897591"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.914052"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.914052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user110@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.917366"], ["email", "user110@example.com"], ["encrypted_password", "$2a$04$HTf.bc1DMk1k25L5LJ9yO.LW/ozM1k238vMPLk0mem8jWY6aTvdj."], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.917366"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.923693"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.923693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user111@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.926391"], ["email", "user111@example.com"], ["encrypted_password", "$2a$04$fWSy.GQSPzMLeh.4AMByLu9wD3qv6Paav6x4V.w7AqB/3fSB6zJ9K"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.926391"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:26:58.932634"], ["name", "writer"], ["updated_at", "2014-05-27 00:26:58.932634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user112@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:26:58.934928"], ["email", "user112@example.com"], ["encrypted_password", "$2a$04$Pj9ooGgCpQoYMyWm8oOjKOfwfOPKM20CG53dK1x38FnRYFllH.tea"], ["role_id", 1], ["updated_at", "2014-05-27 00:26:58.934928"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:24.823200"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:24.823200"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:24.828546"], ["name", "editor"], ["updated_at", "2014-05-27 00:30:24.828546"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:24.830551"], ["name", "admin"], ["updated_at", "2014-05-27 00:30:24.830551"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:24.835936"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:30:24.835936"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:24.838702"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:30:24.838702"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:24.841053"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:30:24.841053"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:24.843319"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:30:24.843319"]]  (0.5ms) commit 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 (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:30:24.864798"], ["role_id", 1], ["updated_at", "2014-05-27 00:30:24.864798"]]  (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-05-27 00:30:24.870590"], ["role_id", 2], ["updated_at", "2014-05-27 00:30:24.870590"]]  (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-05-27 00:30:24.872764"], ["role_id", 3], ["updated_at", "2014-05-27 00:30:24.872764"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:30:24.874942"], ["role_id", 2], ["updated_at", "2014-05-27 00:30:24.874942"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:30:24.876999"], ["role_id", 3], ["updated_at", "2014-05-27 00:30:24.876999"]]  (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", 3], ["created_at", "2014-05-27 00:30:24.879713"], ["role_id", 3], ["updated_at", "2014-05-27 00:30:24.879713"]]  (1.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", 4], ["created_at", "2014-05-27 00:30:24.884164"], ["role_id", 3], ["updated_at", "2014-05-27 00:30:24.884164"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:24.903379"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 00:30:24.903379"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:24.941771"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:24.941771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:24.964047"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$kphNOD9HLUuQNq.vt.DY0.kj09Ka0Tepj0M4jObOAVdWFOEzyBejC"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:24.964047"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:30:24.964047"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$kphNOD9HLUuQNq.vt.DY0.kj09Ka0Tepj0M4jObOAVdWFOEzyBejC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:30:24.964047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:24 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (36.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 298ms (Views: 273.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:30:25.343347"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:30:25.343347"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:30:25.344573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:30:25 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (17.3ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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.2ms) SELECT 1 AS one 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (25.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (28.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 64ms (Views: 59.9ms | ActiveRecord: 2.2ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:25.439301"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:25.439301"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:25.441474"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$MYL5dzlmu2BYQvMwK9w2AuwssTeKnE.R.IJgYWysQUhOk9612tnGa"], ["role_id", 5], ["updated_at", "2014-05-27 00:30:25.441474"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:25.450449"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:30:25.450449"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:25.457617"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:25.457617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:25.460522"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$xVDBNiiA4Sx8Y12wR96Vu.G4Pm2QbrFE8kFj50HUA6Wxx1LHZfODC"], ["role_id", 6], ["updated_at", "2014-05-27 00:30:25.460522"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:25.466922"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:30:25.466922"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:30:25 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (5.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (8.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (16.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 35ms (Views: 30.8ms | ActiveRecord: 1.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:25.519496"], ["title", "Site Title 2"], ["updated_at", "2014-05-27 00:30:25.519496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:25.523400"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:25.523400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:25.526133"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$XOlqedxnSrkNkyKNMIjG0uEC0cbf6M.nfM4Ox.OhDVzz9mO5r6Ii6"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:25.526133"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user4@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:30:25.526133"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$XOlqedxnSrkNkyKNMIjG0uEC0cbf6M.nfM4Ox.OhDVzz9mO5r6Ii6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:30:25.526133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:28 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 19:30:28 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 19:30:28 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user4@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:30:29.255349"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:30:29.255349"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:30:29.256662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65391/ Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:30: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#index 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.5ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:29.347824"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:29.347824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:29.350349"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$thEwg1CBVuFWqKSE5FK5ju6zXajsJKNa6/qaP3jfeltqEqorxdxVa"], ["role_id", 5], ["updated_at", "2014-05-27 00:30:29.350349"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:29.357540"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:30:29.357540"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 19:30:29 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.3ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.7ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (7.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (37.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (44.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 77ms (Views: 54.6ms | ActiveRecord: 2.5ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 19:30:29 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 19:30:29 -0500  (4.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:31.207939"], ["title", "Site Title 3"], ["updated_at", "2014-05-27 00:30:31.207939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:31.211749"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:31.211749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:31.214968"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$2FKrfIYTGI5UIPHPUdKCFeBP3/w6Fu7NC3Wuj/AFCVesQ8gg39PKK"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:31.214968"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user6@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:30:31.214968"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$2FKrfIYTGI5UIPHPUdKCFeBP3/w6Fu7NC3Wuj/AFCVesQ8gg39PKK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:30:31.214968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:31 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:30:31.351876"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:30:31.351876"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:30:31.352467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65391/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:30:31 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.1ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:31.437839"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:31.437839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:31.440246"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$p135WD/790bUHqzOwvarX.e3jgtNFc3pJdYL6Ab9jmlmCHUrCUiUS"], ["role_id", 5], ["updated_at", "2014-05-27 00:30:31.440246"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:31.486737"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:30:31.486737"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:30:31 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (5.9ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 14.5ms | ActiveRecord: 1.0ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-26 19:30:32 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.4ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Media Load (0.4ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 19ms (ActiveRecord: 1.8ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:33.035224"], ["title", "Site Title 4"], ["updated_at", "2014-05-27 00:30:33.035224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:33.040906"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:33.040906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:33.044883"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$Dej4YnhKnmS9mLmqFJQh4uBV2.Bn0l80ev555oBovwDaQdtsVvACW"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:33.044883"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user8@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.6ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:30:33.044883"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$Dej4YnhKnmS9mLmqFJQh4uBV2.Bn0l80ev555oBovwDaQdtsVvACW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:30:33.044883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:30:33.289725"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:30:33.289725"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:30:33.290321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65391/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:30: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#index 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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.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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (9.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 16.9ms | ActiveRecord: 1.1ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:30:33 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (7.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 22ms (Views: 18.1ms | ActiveRecord: 1.2ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:30:33 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:33.665514"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:30:33.665514"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (4.8ms) Completed 200 OK in 30ms (Views: 16.0ms | ActiveRecord: 0.6ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:35.099698"], ["name", "admin"], ["updated_at", "2014-05-27 00:30:35.099698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:35.101433"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:30:35.101433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:30:35.103171"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:35.103171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:35.104436"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:30:35.104436"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:30:35.106583"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:35.106583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:35.108193"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:30:35.108193"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:30:35.109807"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:35.109807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:35.111280"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:30:35.111280"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:30:35.112869"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:35.112869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:35.115169"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$2esvjf1mMcUiPgt7agy7g.tPeutK6ZoxKvoJlHsbY6tZ1zNUM5GJG"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:35.115169"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user9@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:30:35.115169"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$2esvjf1mMcUiPgt7agy7g.tPeutK6ZoxKvoJlHsbY6tZ1zNUM5GJG"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:30:35.115169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:35.120768"], ["title", "Site Title 5"], ["updated_at", "2014-05-27 00:30:35.120768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:35 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:30:35.253546"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:30:35.253546"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:30:35.254088"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65391/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:30:35 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:35.342657"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:35.342657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:35.345021"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$V8Hh/bBxrnU/x.lIljNkmu1ZDBj923docpdzHxUT2i0YbCwv9hyKu"], ["role_id", 5], ["updated_at", "2014-05-27 00:30:35.345021"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:35.348263"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-27 00:30:35.348263"], ["user_id", 2]] 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", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:35.354277"], ["updated_at", "2014-05-27 00:30:35.354277"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #1. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:35.359735"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:35.359735"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:35.361947"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$WcN6TmAonk84Cbz4UwZTz.QvvOr5omTxM5Q7suviGlDWy0RWcWxBa"], ["role_id", 6], ["updated_at", "2014-05-27 00:30:35.361947"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:35.364487"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-27 00:30:35.364487"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:35.366641"], ["updated_at", "2014-05-27 00:30:35.366641"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:35.371304"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:35.371304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:35.373522"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$v24ienjn6l2vwhqYh8hG1.k9CegpO9ta86mp.fMrtrtD7NicVtSse"], ["role_id", 7], ["updated_at", "2014-05-27 00:30:35.373522"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:35.376041"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-27 00:30:35.376041"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:35.378199"], ["updated_at", "2014-05-27 00:30:35.378199"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:30:35 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (6.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (7.7ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 18.3ms | ActiveRecord: 1.0ms) Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-26 19:30:36 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.1ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 12ms (ActiveRecord: 1.2ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:36.541416"], ["name", "admin"], ["updated_at", "2014-05-27 00:30:36.541416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:36.543415"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:30:36.543415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:30:36.545615"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:36.545615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:36.547185"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:30:36.547185"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:30:36.549264"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:36.549264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:36.550517"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:30:36.550517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:30:36.551799"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:36.551799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:36.552912"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:30:36.552912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:30:36.554141"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:36.554141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:36.556014"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$6b6VaIdQdbcuNPM7Hgg6eevub6fjuogSywn/Lw/YNjHazPAw9o3du"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:36.556014"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user13@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:30:36.556014"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$6b6VaIdQdbcuNPM7Hgg6eevub6fjuogSywn/Lw/YNjHazPAw9o3du"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:30:36.556014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:36.560844"], ["title", "Site Title 6"], ["updated_at", "2014-05-27 00:30:36.560844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:30:36.581234"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:30:36.581234"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:30:36.582730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:30:36 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (8.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:36.625457"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:36.625457"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:36.627901"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$WaJyDuX00SGjlM85j7qz9.U218Zjnwq18D8mshy6uAEvdpB9zvs6m"], ["role_id", 5], ["updated_at", "2014-05-27 00:30:36.627901"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:36.630586"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "f"], ["title", "Post #4"], ["updated_at", "2014-05-27 00:30:36.630586"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:36.633072"], ["updated_at", "2014-05-27 00:30:36.633072"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:30:36 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.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::Post"]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (8.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", 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]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (15.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (30.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 46ms (Views: 37.6ms | ActiveRecord: 1.9ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-26 19:30:36 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #4. It was a dark and stormy night.", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.1ms) SAVEPOINT active_record_1 Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] 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", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["title", "The Story"], ["updated_at", "2014-05-27 00:30:36.704439"]] 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"]] 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"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:30:36.707487"], ["updated_at", "2014-05-27 00:30:36.707487"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:30:36 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (12.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", 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.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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (62.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (65.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (74.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (90.6ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 107ms (Views: 98.1ms | ActiveRecord: 1.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 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"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:36.877578"], ["name", "admin"], ["updated_at", "2014-05-27 00:30:36.877578"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:36.879955"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:30:36.879955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:30:36.882437"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:36.882437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:36.884182"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:30:36.884182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:30:36.886163"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:36.886163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:36.887699"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:30:36.887699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:30:36.889218"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:36.889218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:36.890494"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:30:36.890494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:30:36.892857"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:36.892857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:36.895503"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$gAOoliS0QYjUq24/bRM/huWQ44LRH33I3LdHZTW6nfE8x0dcTo0Tq"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:36.895503"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user15@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:30:36.895503"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$gAOoliS0QYjUq24/bRM/huWQ44LRH33I3LdHZTW6nfE8x0dcTo0Tq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:30:36.895503"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:36.903681"], ["title", "Site Title 7"], ["updated_at", "2014-05-27 00:30:36.903681"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user15@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:30:36.927127"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:30:36.927127"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:30:36.927551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:30:36 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 1.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:36.964636"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:36.964636"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:36.967084"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$AcenEUgEi0VnGxuqWs8a7OTCbZpjJxDe9T.Wfpfc7HK3JvjEjbT7q"], ["role_id", 5], ["updated_at", "2014-05-27 00:30:36.967084"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:36.984246"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-27 00:30:36.984246"], ["user_id", 2]] 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"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:36.989962"], ["updated_at", "2014-05-27 00:30:36.989962"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #1. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:36.999920"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.003836"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:37.003836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.005852"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$IGbrruF8VFUKDdlIQICDN..GFhkYN/xcqKqAimkrDZbBy8f8v2X8i"], ["role_id", 6], ["updated_at", "2014-05-27 00:30:37.005852"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.009680"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-27 00:30:37.009680"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:37.012193"], ["updated_at", "2014-05-27 00:30:37.012193"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 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::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" = 'page-2' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.016723"], ["slug", "page-2"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.020819"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:37.020819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.023329"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$yYGd2MSl3M.QrTjlrvM1GuRsFbZ6Sj6DfiMeBue2Lchydcx5jMsQq"], ["role_id", 7], ["updated_at", "2014-05-27 00:30:37.023329"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.028373"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-27 00:30:37.028373"], ["user_id", 4]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:37.031194"], ["updated_at", "2014-05-27 00:30:37.031194"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 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::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" = 'page-3' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.035804"], ["slug", "page-3"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:30:37 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (8.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (10.8ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 32ms (Views: 22.9ms | ActiveRecord: 1.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.150726"], ["name", "admin"], ["updated_at", "2014-05-27 00:30:37.150726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.152858"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:30:37.152858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:30:37.155133"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:37.155133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.156847"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:30:37.156847"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:30:37.159551"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:37.159551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.161305"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:30:37.161305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:30:37.162974"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:37.162974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.164750"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:30:37.164750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:30:37.166249"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:37.166249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.168493"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$YGFNMMKRuUTlD3YDZsQvQu0KkDD9muf4IgEjVDQC/EZhdpxJi9GUe"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:37.168493"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user19@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:30:37.168493"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$YGFNMMKRuUTlD3YDZsQvQu0KkDD9muf4IgEjVDQC/EZhdpxJi9GUe"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:30:37.168493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.174666"], ["title", "Site Title 8"], ["updated_at", "2014-05-27 00:30:37.174666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user19@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:30:37.195659"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:30:37.195659"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:30:37.196218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:30: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::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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.5ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (8.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 15.3ms | ActiveRecord: 1.2ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.243130"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:37.243130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.245780"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$g2wLJKSK1PVG5RtEhIg9g.aXszyOyVX.tl3qQ64utiE/RnvIlx2em"], ["role_id", 5], ["updated_at", "2014-05-27 00:30:37.245780"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.250589"], ["published", "f"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-27 00:30:37.250589"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:37.253279"], ["updated_at", "2014-05-27 00:30:37.253279"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] 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" = 'page-4' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.256811"], ["slug", "page-4"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-4/edit" for 127.0.0.1 at 2014-05-26 19:30:37 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-4"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-4' 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.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"]] 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", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (1.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", 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_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (12.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (19.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 39ms (Views: 29.3ms | ActiveRecord: 1.7ms) Started PATCH "/dashboard/pages/page-4" for 127.0.0.1 at 2014-05-26 19:30:37 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Update Page", "id"=>"page-4"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-4' 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.1ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-27 00:30:37.324853"]] 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", 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) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:30:37.327406"], ["updated_at", "2014-05-27 00:30:37.327406"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.330307"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 22ms (ActiveRecord: 1.7ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-26 19:30:37 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' 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::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.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"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (4.2ms) 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"]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (9.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (17.3ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 32ms (Views: 23.7ms | ActiveRecord: 1.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.428897"], ["name", "admin"], ["updated_at", "2014-05-27 00:30:37.428897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.431096"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:30:37.431096"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 5], ["created_at", "2014-05-27 00:30:37.433353"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:37.433353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.435432"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:30:37.435432"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 6], ["created_at", "2014-05-27 00:30:37.437607"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:37.437607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.439271"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:30:37.439271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 7], ["created_at", "2014-05-27 00:30:37.441133"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:37.441133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.442724"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:30:37.442724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 8], ["created_at", "2014-05-27 00:30:37.444574"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:37.444574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.446529"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$iMAaR2p5uwx9E2VEgtj8.umhNr4zs39q2Rr0eLOqektYeyGsCLCj6"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:37.446529"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user21@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:30:37.446529"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$iMAaR2p5uwx9E2VEgtj8.umhNr4zs39q2Rr0eLOqektYeyGsCLCj6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:30:37.446529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.451480"], ["title", "Site Title 9"], ["updated_at", "2014-05-27 00:30:37.451480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:30:37.582027"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:30:37.582027"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:30:37.583394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65391/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:30: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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (16.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (18.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 23.3ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.690548"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:37.690548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.693282"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$BtWawaS1XuQxAHR5rbMcFemnUt.F3BmHaoymCMWDPgImJpGWZmZq2"], ["role_id", 5], ["updated_at", "2014-05-27 00:30:37.693282"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.697966"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-27 00:30:37.697966"], ["user_id", 2]] 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"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:37.700658"], ["updated_at", "2014-05-27 00:30:37.700658"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #5. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-5' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.705409"], ["slug", "page-5"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.709442"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:37.709442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.711856"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$pP9eOyA4OIX4jceGu5TWA.PuhOclXHxBM5ob/8I2Bf5QgVZidvFZW"], ["role_id", 6], ["updated_at", "2014-05-27 00:30:37.711856"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.716418"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-27 00:30:37.716418"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:37.719412"], ["updated_at", "2014-05-27 00:30:37.719412"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 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::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" = 'page-6' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.5ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.725670"], ["slug", "page-6"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:37.730439"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:37.730439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.733718"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$EaJKYbW5IyNZazgBbXBw8e8sLbietO6ok8hfO5LpM6.5HTi.qKLAe"], ["role_id", 7], ["updated_at", "2014-05-27 00:30:37.733718"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.737689"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-27 00:30:37.737689"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:37.740476"], ["updated_at", "2014-05-27 00:30:37.740476"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 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::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" = 'page-7' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:37.744657"], ["slug", "page-7"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:30:37 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (6.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 19ms (Views: 13.2ms | ActiveRecord: 1.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-5" for 127.0.0.1 at 2014-05-26 19:30:39 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-5"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-5' 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.1ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) 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::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 14ms (ActiveRecord: 1.3ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:39.282757"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:39.282757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:39.285585"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$7eMD1kk8R9Oz.5xV/z8Tl.g/dStdQ53enBJ.LzsrHrhF/hgLGUuHa"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:39.285585"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user25@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:30:39.285585"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$7eMD1kk8R9Oz.5xV/z8Tl.g/dStdQ53enBJ.LzsrHrhF/hgLGUuHa"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:30:39.285585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:39.320214"], ["title", "Site Title 10"], ["updated_at", "2014-05-27 00:30:39.320214"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:39.325764"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:39.325764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:39.328507"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$YSkfQt76ZpX3wPtuD5TuEusUaEulp0UzCJOxqd3BwUxZzlZSvEWra"], ["role_id", 4], ["updated_at", "2014-05-27 00:30:39.328507"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user26@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:30:39.328507"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$YSkfQt76ZpX3wPtuD5TuEusUaEulp0UzCJOxqd3BwUxZzlZSvEWra"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:30:39.328507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 4ms  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.441573"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:59.441573"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.446107"], ["name", "editor"], ["updated_at", "2014-05-27 00:30:59.446107"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.448291"], ["name", "admin"], ["updated_at", "2014-05-27 00:30:59.448291"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.454147"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:30:59.454147"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.457281"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:30:59.457281"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.459224"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:30:59.459224"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.461118"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:30:59.461118"]]  (0.6ms) commit 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 (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:30:59.478260"], ["role_id", 1], ["updated_at", "2014-05-27 00:30:59.478260"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:30:59.483116"], ["role_id", 2], ["updated_at", "2014-05-27 00:30:59.483116"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:30:59.485192"], ["role_id", 3], ["updated_at", "2014-05-27 00:30:59.485192"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:30:59.487565"], ["role_id", 2], ["updated_at", "2014-05-27 00:30:59.487565"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:30:59.489641"], ["role_id", 3], ["updated_at", "2014-05-27 00:30:59.489641"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:30:59.491631"], ["role_id", 3], ["updated_at", "2014-05-27 00:30:59.491631"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:30:59.494150"], ["role_id", 3], ["updated_at", "2014-05-27 00:30:59.494150"]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.509188"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:59.509188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.520432"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$f4eDpQCfCsHAaSGYoDB7LuEZlfmpdR/ixWWnZxOJJ3PTLXhcqpRBi"], ["role_id", 7], ["updated_at", "2014-05-27 00:30:59.520432"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:30:59.520432"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$f4eDpQCfCsHAaSGYoDB7LuEZlfmpdR/ixWWnZxOJJ3PTLXhcqpRBi"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:30:59.520432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.548600"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-27 00:30:59.548600"], ["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", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:59.556309"], ["updated_at", "2014-05-27 00:30:59.556309"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #1. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.565389"], ["name", "tag1"], ["updated_at", "2014-05-27 00:30:59.565389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.567415"], ["name", "tag2"], ["updated_at", "2014-05-27 00:30:59.567415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.573709"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:30:59.573709"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.575337"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:30:59.575337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.582190"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:59.582190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.584411"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$XJ4OoNaKtYzWsTSE.Q5FlenkSQPAyrYU/Cfp6i9T1gmOg9PIrWA52"], ["role_id", 7], ["updated_at", "2014-05-27 00:30:59.584411"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user2@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:30:59.584411"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$XJ4OoNaKtYzWsTSE.Q5FlenkSQPAyrYU/Cfp6i9T1gmOg9PIrWA52"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:30:59.584411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.590784"], ["name", "tag1"], ["updated_at", "2014-05-27 00:30:59.590784"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.0ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.592639"], ["name", "tag2"], ["updated_at", "2014-05-27 00:30:59.592639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.595454"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-27 00:30:59.595454"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.596315"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:30:59.596315"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.597088"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:30:59.597088"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:59.598985"], ["updated_at", "2014-05-27 00:30:59.598985"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.603012"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:59.603012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.604680"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$0vZ8n5LxxMLB4aES9r7r/O8t9xng4piFnTBnqOKOmROz2wXeZc4Ru"], ["role_id", 8], ["updated_at", "2014-05-27 00:30:59.604680"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.608073"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-27 00:30:59.608073"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.608798"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-27 00:30:59.608798"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:59.610633"], ["updated_at", "2014-05-27 00:30:59.610633"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.0ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.0ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.629335"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:59.629335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.634247"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$mE9HRu4Uvf59c/7Lxq0HkOV0pS2qHFCUm9UF/SO8sAPr9wHqapab2"], ["role_id", 7], ["updated_at", "2014-05-27 00:30:59.634247"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user4@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:30:59.634247"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$mE9HRu4Uvf59c/7Lxq0HkOV0pS2qHFCUm9UF/SO8sAPr9wHqapab2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:30:59.634247"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.650460"], ["name", "tag1"], ["updated_at", "2014-05-27 00:30:59.650460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.653461"], ["name", "tag2"], ["updated_at", "2014-05-27 00:30:59.653461"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.657459"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-27 00:30:59.657459"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.658739"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:30:59.658739"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.659691"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:30:59.659691"]] 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", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:59.662748"], ["updated_at", "2014-05-27 00:30:59.662748"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #4. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.669008"], ["name", "writer"], ["updated_at", "2014-05-27 00:30:59.669008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.671971"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$CL0IXRkoEFZYhGMksJvsauQfsQ293tc1q.kXryUcGxD5NzNUVGs5K"], ["role_id", 8], ["updated_at", "2014-05-27 00:30:59.671971"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.679005"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-27 00:30:59.679005"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.680077"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-27 00:30:59.680077"]] 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"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:30:59.682432"], ["updated_at", "2014-05-27 00:30:59.682432"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #5. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_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" WHERE "storytime_tags"."name" = 'tag1' GROUP BY storytime_taggings.tag_id LIMIT 1 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" WHERE "storytime_tags"."name" = 'tag2' GROUP BY storytime_taggings.tag_id LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.693401"], ["name", "admin"], ["updated_at", "2014-05-27 00:30:59.693401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.696027"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:30:59.696027"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:30:59.698602"], ["role_id", 7], ["updated_at", "2014-05-27 00:30:59.698602"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.700967"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:30:59.700967"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:30:59.702569"], ["role_id", 7], ["updated_at", "2014-05-27 00:30:59.702569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.704060"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:30:59.704060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:30:59.705449"], ["role_id", 7], ["updated_at", "2014-05-27 00:30:59.705449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:30:59.706720"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:30:59.706720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:30:59.708083"], ["role_id", 7], ["updated_at", "2014-05-27 00:30:59.708083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:30:59.709846"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$X3fecowiRxva8UZTNFPeNeSH4VUEk9IicdovUGI3.EQcHCc8YCx4e"], ["role_id", 7], ["updated_at", "2014-05-27 00:30:59.709846"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user6@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:30:59.709846"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$X3fecowiRxva8UZTNFPeNeSH4VUEk9IicdovUGI3.EQcHCc8YCx4e"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:30:59.709846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:59 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (18.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 172ms (Views: 158.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:30:59 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:30:59.953612"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:30:59.953612"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:30:59.954747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:30:59 -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.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://www.example.com/dashboard/sites/new Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:30:59 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' LIMIT 1 Storytime::Role Load (0.0ms) 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" = 3 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (21.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (23.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]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 55ms (Views: 38.5ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:31:00 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (8.3ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 14.0ms | ActiveRecord: 0.6ms) Started POST "/dashboard/sites" for 127.0.0.1 at 2014-05-26 19:31:00 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:00.100927"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site"], ["updated_at", "2014-05-27 00:31:00.100927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/sites/1/edit Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:31:00 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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::Role Load (0.0ms) 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" = 3 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.6ms) Storytime::Role Load (0.1ms) 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.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.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" Storytime::Action Load (0.0ms) 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", 4]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 5]] 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", 6]] 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", 7]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (41.1ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 53ms (Views: 48.9ms | ActiveRecord: 1.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.205545"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:00.205545"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.207339"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:00.207339"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:00.209198"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.209198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.210538"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:00.210538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:00.213525"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.213525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.215066"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:00.215066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:00.216672"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.216672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.218169"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:00.218169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:00.219729"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.219729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:00.221607"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$81pWSPKy.KFgpRQz1QndG.S6PH1sGONche0bZkvjZ9yxtfHJIjqya"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.221607"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user7@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:00.221607"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$81pWSPKy.KFgpRQz1QndG.S6PH1sGONche0bZkvjZ9yxtfHJIjqya"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:00.221607"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.226085"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 00:31:00.226085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:00 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:00 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:00.240816"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:00.240816"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:00.241254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:00 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.2ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 26ms (Views: 23.8ms | ActiveRecord: 1.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:31:00 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.0ms) Storytime::Role Load (0.1ms) 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.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.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" Storytime::Action Load (0.0ms) 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", 4]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 5]] 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", 6]] 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", 7]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (38.0ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 47ms (Views: 43.0ms | ActiveRecord: 1.2ms) Started PATCH "/dashboard/sites/1" for 127.0.0.1 at 2014-05-26 19:31:00 -0500 Processing by Storytime::Dashboard::SitesController#update as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site's New Name", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Update Site", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_sites" SET "footer" = ?, "ga_tracking_id" = ?, "header" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_sites"."id" = 1 [["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site's New Name"], ["updated_at", "2014-05-27 00:31:00.350894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.4ms) Storytime::Role Load (0.1ms) 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.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.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" Storytime::Action Load (0.0ms) 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", 4]] 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", 5]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 6]] 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", 7]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (38.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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 50ms (Views: 43.3ms | ActiveRecord: 1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.478756"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:00.478756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.480558"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:00.480558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:00.482231"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.482231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.483413"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:00.483413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:00.485300"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.485300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.486640"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:00.486640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:00.487928"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.487928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.489019"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:00.489019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:00.490222"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.490222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:00.492061"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$MHxOfw84.DqyV35dhs6jCeu6exX572LqUlZu9tldp6BipV0qLr1Ey"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.492061"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user8@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:00.492061"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$MHxOfw84.DqyV35dhs6jCeu6exX572LqUlZu9tldp6BipV0qLr1Ey"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:00.492061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.497222"], ["title", "Site Title 2"], ["updated_at", "2014-05-27 00:31:00.497222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:00 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:00 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:00.511453"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:00.511453"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:00.511968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:00 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.4ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 1.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:31:00 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:31:00 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.5ms) Storytime::Role Load (0.1ms) 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.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.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" Storytime::Action Load (0.0ms) 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", 4]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 5]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 6]] 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", 7]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (37.0ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 46ms (Views: 42.0ms | ActiveRecord: 1.2ms)  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.641497"], ["title", "Site Title 3"], ["updated_at", "2014-05-27 00:31:00.641497"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.647581"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:00.647581"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:00.651321"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$QZs1PZt3uD.Fqgr3LmeiQOT9YO3mLyC2pUK1JwcO3cVDCrACK15L2"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.651321"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user9@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:00.651321"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$QZs1PZt3uD.Fqgr3LmeiQOT9YO3mLyC2pUK1JwcO3cVDCrACK15L2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:00.651321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:00.670044"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-27 00:31:00.670044"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:00.673673"], ["updated_at", "2014-05-27 00:31:00.673673"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #1. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:00.683197"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-1" for 127.0.0.1 at 2014-05-26 19:31:00 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-1"} 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"."published" = 't' AND "storytime_pages"."slug" = 'page-1' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 11.6ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.717733"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:00.717733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.719339"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:00.719339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:00.720903"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.720903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.722054"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:00.722054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:00.723272"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.723272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.724371"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:00.724371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:00.726240"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.726240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.727365"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:00.727365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:00.728568"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.728568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:00.730375"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$AWzsUgMDENohxsMWE6VMnOFJrQCdzPGGICytdUTW9DM.uKRaNk8WO"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:00.730375"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user10@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:00.730375"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$AWzsUgMDENohxsMWE6VMnOFJrQCdzPGGICytdUTW9DM.uKRaNk8WO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:00.730375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:00.734686"], ["title", "Site Title 4"], ["updated_at", "2014-05-27 00:31:00.734686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:02 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 19:31:02 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 19:31:02 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:03 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user10@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:03.163595"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:03.163595"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:03.164671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65423/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:03 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.2ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:03.243086"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:03.243086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:03.245539"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$sP6bWvDd36.loof0/HjRve.6Dlv.b7HemEs4mzHH/zbyw9uraszki"], ["role_id", 8], ["updated_at", "2014-05-27 00:31:03.245539"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:03.249257"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-27 00:31:03.249257"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:03.251297"], ["updated_at", "2014-05-27 00:31:03.251297"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:03.254691"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:03.257839"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:03.257839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:03.259466"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$7e.gHZnwo7XvaXpcPspm2eQY6i0sjeYS3r9G9sLoaTFj8M6a99W3S"], ["role_id", 9], ["updated_at", "2014-05-27 00:31:03.259466"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:03.262503"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-27 00:31:03.262503"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:03.264112"], ["updated_at", "2014-05-27 00:31:03.264112"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-3' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:03.267147"], ["slug", "page-3"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:03.270204"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:03.270204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:03.271794"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$LP7xhpmkyDKBCVk5tPMbyuUSZitvUVHU8zXc3tdcDFieuNHrufoBK"], ["role_id", 10], ["updated_at", "2014-05-27 00:31:03.271794"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:03.274787"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-27 00:31:03.274787"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:03.276407"], ["updated_at", "2014-05-27 00:31:03.276407"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #4. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-4' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:03.279346"], ["slug", "page-4"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:31:03 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (7.6ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 16.5ms | ActiveRecord: 0.9ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 19:31:03 -0500 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-2" for 127.0.0.1 at 2014-05-26 19:31:04 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-2"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-2' 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.1ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) 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::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 16ms (ActiveRecord: 1.3ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.388124"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:04.388124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.389727"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:04.389727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:04.391287"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:04.391287"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.392467"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:04.392467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:04.393728"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:04.393728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.395403"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:04.395403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:04.397341"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:04.397341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.399060"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:04.399060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:04.400538"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:04.400538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.402871"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$c7i4Y8S.exw79fJcuQ0tCuZBB/f4ener0tw3IcIQfMdVfTheh9pCi"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:04.402871"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user14@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:04.402871"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$c7i4Y8S.exw79fJcuQ0tCuZBB/f4ener0tw3IcIQfMdVfTheh9pCi"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:04.402871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.407962"], ["title", "Site Title 5"], ["updated_at", "2014-05-27 00:31:04.407962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:04 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:04.423214"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:04.423214"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:04.424323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:04 -0500 Storytime::Site Load (0.4ms) 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.4ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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.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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 1.2ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.465119"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:04.465119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.466882"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$3hN9pWLkTaGI0iS14Ad9oeN3bPhLZf63dTU9lWE/g5lhKBmlJCBxi"], ["role_id", 8], ["updated_at", "2014-05-27 00:31:04.466882"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.469920"], ["published", "f"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-27 00:31:04.469920"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:04.471675"], ["updated_at", "2014-05-27 00:31:04.471675"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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" = 'page-5' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.473971"], ["slug", "page-5"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-5/edit" for 127.0.0.1 at 2014-05-26 19:31:04 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-5"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-5' 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (2.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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/Documents/projects/benroesch.com/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", 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_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (6.5ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (13.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (20.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (31.3ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 44ms (Views: 37.3ms | ActiveRecord: 1.7ms) Started PATCH "/dashboard/pages/page-5" for 127.0.0.1 at 2014-05-26 19:31:04 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Update Page", "id"=>"page-5"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-5' 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::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 CACHE (0.2ms) SELECT 1 AS one 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]]  (0.1ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-27 00:31:04.545533"]] 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.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:31:04.559599"], ["updated_at", "2014-05-27 00:31:04.559599"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.562654"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 36ms (ActiveRecord: 1.9ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-26 19:31:04 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.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"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (8.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", 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_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (9.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (21.5ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 34ms (Views: 27.2ms | ActiveRecord: 1.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 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"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.646786"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:04.646786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.648836"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:04.648836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:04.650922"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:04.650922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.652486"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:04.652486"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:04.654680"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:04.654680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.656190"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:04.656190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:04.657825"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:04.657825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.659291"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:04.659291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:04.661234"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:04.661234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.663640"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$IiqxJ1Kx/RZwZuEWkzLdPeI9VNNoctVya98gjUVWehWbmQu04ZZDu"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:04.663640"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user16@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:04.663640"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$IiqxJ1Kx/RZwZuEWkzLdPeI9VNNoctVya98gjUVWehWbmQu04ZZDu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:04.663640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.668804"], ["title", "Site Title 6"], ["updated_at", "2014-05-27 00:31:04.668804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:04 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user16@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:04.685226"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:04.685226"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:04.685692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:04 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 13.1ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-26 19:31:04 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (1.7ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (9.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (11.6ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 19.1ms | ActiveRecord: 1.2ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:31:04 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Create Page"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.772956"], ["published", "f"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-27 00:31:04.772956"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:31:04.775965"], ["updated_at", "2014-05-27 00:31:04.775965"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.780911"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 28ms (ActiveRecord: 2.1ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-26 19:31:04 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.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", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (3.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", 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.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/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (13.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (22.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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 39ms (Views: 28.4ms | ActiveRecord: 2.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.867323"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:04.867323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.869232"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:04.869232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:04.871168"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:04.871168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.872566"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:04.872566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:04.874574"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:04.874574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.876775"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:04.876775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:04.878957"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:04.878957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.880592"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:04.880592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:04.882607"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:04.882607"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.884639"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$3IBhDt59Uo6ca3tGzCk34e3z7xrd5xg9ZNjBaI1XTSmI/vqVXoKfC"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:04.884639"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user17@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:04.884639"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$3IBhDt59Uo6ca3tGzCk34e3z7xrd5xg9ZNjBaI1XTSmI/vqVXoKfC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:04.884639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.889315"], ["title", "Site Title 7"], ["updated_at", "2014-05-27 00:31:04.889315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:04 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user17@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:04.905797"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:04.905797"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:04.906243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:04 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.2ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.942685"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:04.942685"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.945014"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$DGC8Vw9PKryufimNY5VQfeS4gFpibh3iUSRHozDRE3Uy4yk/0TPwa"], ["role_id", 8], ["updated_at", "2014-05-27 00:31:04.945014"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.948501"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-27 00:31:04.948501"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:04.950429"], ["updated_at", "2014-05-27 00:31:04.950429"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-6' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.954369"], ["slug", "page-6"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.957716"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:04.957716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.959542"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$9EXOnEcopBt4HBD5AiKqyuF1ipx7WcUqgX3wW1uljseilu7K7oa7a"], ["role_id", 9], ["updated_at", "2014-05-27 00:31:04.959542"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.962780"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-27 00:31:04.962780"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:04.964508"], ["updated_at", "2014-05-27 00:31:04.964508"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-7' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.967858"], ["slug", "page-7"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:04.971090"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:04.971090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.972847"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$0Jipp33.tDjE/yU8fQOA2ef4gCPksIUF32QXWrZZGHbSXOoZzLxHe"], ["role_id", 10], ["updated_at", "2014-05-27 00:31:04.972847"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-8' 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" = 'page-8') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.976286"], ["published", "t"], ["slug", "page-8"], ["title", "Page #8"], ["updated_at", "2014-05-27 00:31:04.976286"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:04.978054"], ["updated_at", "2014-05-27 00:31:04.978054"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #8. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-8' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:04.981379"], ["slug", "page-8"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:31:04 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (5.6ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 11.8ms | ActiveRecord: 0.9ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (2.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:05.055994"], ["title", "Site Title 8"], ["updated_at", "2014-05-27 00:31:05.055994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:05.059357"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:05.059357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:05.061581"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$caKMB3iWrFWkKSv9XvcLiel9uRTt1EKIwpP28gaZ/SF5HvKs.k4h6"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:05.061581"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user21@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:05.061581"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$caKMB3iWrFWkKSv9XvcLiel9uRTt1EKIwpP28gaZ/SF5HvKs.k4h6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:05.061581"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:05 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user21@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:05.191152"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:05.191152"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:05.192171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65423/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:05 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:05.271251"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:05.271251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:05.273317"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$XAZnbyjq8F84WxcuMjiC6efI.dcJH4SANvSDRTZKzMfevLfbWdcsC"], ["role_id", 8], ["updated_at", "2014-05-27 00:31:05.273317"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:05.280490"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:31:05.280490"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 19:31:05 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.3ms) 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/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (19.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (26.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 35.4ms | ActiveRecord: 1.4ms) Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 19:31:06 -0500  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:06.725908"], ["title", "Site Title 9"], ["updated_at", "2014-05-27 00:31:06.725908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:06.729199"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:06.729199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:06.731169"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$b.rEBbro.zNJTPqYxNIRu.uT0jTr0OXiafuhq3fXva7qIimWUfnm."], ["role_id", 7], ["updated_at", "2014-05-27 00:31:06.731169"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user23@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:06.731169"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$b.rEBbro.zNJTPqYxNIRu.uT0jTr0OXiafuhq3fXva7qIimWUfnm."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:06.731169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:06 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user23@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:06.845628"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:06.845628"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:06.846146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65423/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:06 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:06.928280"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:06.928280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:06.930292"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$vaHG04wngUot62PsmeP18OkmHdj/z65JXAVGmPQ9Nz3bh.KwANvC6"], ["role_id", 8], ["updated_at", "2014-05-27 00:31:06.930292"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:06.935044"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:31:06.935044"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:31:06 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (5.1ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 16.8ms | ActiveRecord: 0.9ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-26 19:31:07 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 6ms (ActiveRecord: 0.6ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:07.929150"], ["title", "Site Title 10"], ["updated_at", "2014-05-27 00:31:07.929150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:07.932407"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:07.932407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:07.934421"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$60Qr.xPEYA4JSFwn7yeVo.8DcbmnfX8GkGalPx4e6RGEsEDWCUPva"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:07.934421"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user25@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:07.934421"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$60Qr.xPEYA4JSFwn7yeVo.8DcbmnfX8GkGalPx4e6RGEsEDWCUPva"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:07.934421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:07 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user25@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:07.958340"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:07.958340"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:07.959374"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19: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::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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.1ms) Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:07.992264"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:07.992264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:07.994124"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$LR1p97D7csd./LqZYmt3V.8fT8kHMx83jUph0fWwSN/0qz8yA53Xu"], ["role_id", 8], ["updated_at", "2014-05-27 00:31:07.994124"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:07.998458"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:31:07.998458"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:08.003898"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:08.003898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:08.006061"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$/7Z08qxLu1GggPKsrntb3OOxcHnnVMcDdoeVoSkso17w0doMLFBW6"], ["role_id", 9], ["updated_at", "2014-05-27 00:31:08.006061"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:08.010986"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:31:08.010986"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:31:08 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (6.8ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 14.2ms | ActiveRecord: 0.8ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:08.046881"], ["title", "Site Title 11"], ["updated_at", "2014-05-27 00:31:08.046881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:08.051383"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:08.051383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:08.054535"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$AWwE5US/GmFuK8706NVImOgPbc3Bn49sS8jQQdccLxH.KTtg7rZFS"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:08.054535"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user28@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:08.054535"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$AWwE5US/GmFuK8706NVImOgPbc3Bn49sS8jQQdccLxH.KTtg7rZFS"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:08.054535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:08 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user28@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:08.174325"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:08.174325"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:08.175296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65423/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:08 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.1ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.9ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:31:08 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (4.9ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 14.4ms | ActiveRecord: 1.0ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:31:08 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:08.376451"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:31:08.376451"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (11.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (13.5ms) Completed 200 OK in 38ms (Views: 24.8ms | ActiveRecord: 1.0ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.363695"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.363695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.366010"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$wX8pHYiON.Z/eoXptEfupu7xKmuI5vXXbc5amvERN0qd9KV.WSfYG"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.366010"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user29@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.366010"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$wX8pHYiON.Z/eoXptEfupu7xKmuI5vXXbc5amvERN0qd9KV.WSfYG"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.366010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-9' 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" = 'page-9') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.373462"], ["published", "t"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-27 00:31:09.373462"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:09.375493"], ["updated_at", "2014-05-27 00:31:09.375493"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #9. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-9' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.378945"], ["slug", "page-9"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.385181"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.385181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.386918"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.386918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.388661"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.388661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.390665"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$sUNghP7tuKWq2FrYkT6sjuq3yU9QrERjO3gCY5rYkxyoUp4439DYW"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.390665"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user30@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.390665"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$sUNghP7tuKWq2FrYkT6sjuq3yU9QrERjO3gCY5rYkxyoUp4439DYW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.390665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.401191"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.401191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.403017"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.403017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.404954"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.404954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.408170"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$BxcLu0q4NaDaWVm2VRIvxeruGMwjWnAAroE0Zu1uB5pSBzc9z//9u"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.408170"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user31@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.408170"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$BxcLu0q4NaDaWVm2VRIvxeruGMwjWnAAroE0Zu1uB5pSBzc9z//9u"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.408170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.420697"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.420697"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.422833"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.422833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.424632"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.424632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.426617"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$Jmp0SfY0eW2JxQtAUOSsTu/ZSR5Mpfi8Bn2fJHQyaguSupVodZ036"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.426617"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user32@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.426617"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$Jmp0SfY0eW2JxQtAUOSsTu/ZSR5Mpfi8Bn2fJHQyaguSupVodZ036"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.426617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.437029"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.437029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.438987"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.438987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.441830"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.441830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.446057"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$EQE9dGP2oRjqEO9ZvdZmO.pBFS5LGuo11672Mjz0gsime61RLu00m"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.446057"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user33@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.446057"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$EQE9dGP2oRjqEO9ZvdZmO.pBFS5LGuo11672Mjz0gsime61RLu00m"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.446057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.456112"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.456112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.457956"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.457956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.459700"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.459700"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.461658"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$fGmPGe2UqZVWT16Yv0SaE.qghvtzB9NMB2NIQZNyNqAjRSR3XQM6W"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.461658"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user34@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.461658"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$fGmPGe2UqZVWT16Yv0SaE.qghvtzB9NMB2NIQZNyNqAjRSR3XQM6W"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.461658"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.473914"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.473914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.476709"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.476709"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.481459"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.481459"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.484896"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$iBxb1i0E8wc54u4VHHAfjO6D8ifYfxFt2ysMwlZzmBefYtPTo/E9m"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.484896"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user35@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.484896"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$iBxb1i0E8wc54u4VHHAfjO6D8ifYfxFt2ysMwlZzmBefYtPTo/E9m"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.484896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.494383"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.494383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.500214"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.500214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.502031"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.502031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.503740"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.503740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user37@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.505671"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$aUvvKYprXUmxfvh5RbDUpuH62GRFPFhBJk5CuANJyF8ByMZ8SeVbW"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.505671"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user37@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.505671"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$aUvvKYprXUmxfvh5RbDUpuH62GRFPFhBJk5CuANJyF8ByMZ8SeVbW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.505671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.513323"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.513323"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.521437"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.521437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.523130"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.523130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.526131"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.526131"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user39@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.531723"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$d1esLWzGjTa6VAuTdy106.ewdlG2DClV3d3Gvcpyn36rTiCUmt88C"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.531723"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user39@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.531723"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$d1esLWzGjTa6VAuTdy106.ewdlG2DClV3d3Gvcpyn36rTiCUmt88C"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.531723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.539273"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.539273"]]  (0.0ms) RELEASE SAVEPOINT active_record_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]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.549218"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:09.549218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.551246"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.551246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.553066"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.553066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.554732"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.554732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.556313"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.556313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.558891"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$9wfHf/rqb5T1DPZxPnMx0./6BCfAOgv6TaM2yDR7MDej.fTKzGpjq"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.558891"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user41@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.558891"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$9wfHf/rqb5T1DPZxPnMx0./6BCfAOgv6TaM2yDR7MDej.fTKzGpjq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.558891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.568721"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:09.568721"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.570562"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.570562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.572337"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.572337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.575071"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.575071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.577299"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.577299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user42@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.580962"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$a22FhBpNVDBwKq6GMLaXlOQ9TOD/26Q8m.ras1XvG4Zs5yaj5czR."], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.580962"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user42@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.580962"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$a22FhBpNVDBwKq6GMLaXlOQ9TOD/26Q8m.ras1XvG4Zs5yaj5czR."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.580962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.593753"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:09.593753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.595528"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.595528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.597539"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.597539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.599668"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.599668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.601795"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.601795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user43@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.604318"], ["email", "user43@example.com"], ["encrypted_password", "$2a$04$TculNFYQ2SXXe6nMsFNlIuya5uRiT0vH8VGtltInfcmvTjPoRas22"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.604318"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user43@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.604318"], ["email", "user43@example.com"], ["encrypted_password", "$2a$04$TculNFYQ2SXXe6nMsFNlIuya5uRiT0vH8VGtltInfcmvTjPoRas22"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.604318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.614363"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:09.614363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.616625"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.616625"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.618559"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.618559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.620403"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.620403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.622509"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.622509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user44@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.625842"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$td4OsTzspuGOiFBnctT6feU2xiMZ6yofLoStPMGOueD0VJM1Uhvke"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.625842"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user44@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.625842"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$td4OsTzspuGOiFBnctT6feU2xiMZ6yofLoStPMGOueD0VJM1Uhvke"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.625842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.640684"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:09.640684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.642679"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.642679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.644711"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.644711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.646102"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.646102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.647595"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.647595"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user45@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.649568"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$yMa9sUgPewNG8lsGvJd7NetAF8gTn7rEciffTeb6j7Qj/dqKMe4t6"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.649568"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user45@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.649568"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$yMa9sUgPewNG8lsGvJd7NetAF8gTn7rEciffTeb6j7Qj/dqKMe4t6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.649568"]]  (0.0ms) RELEASE SAVEPOINT active_record_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]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.661563"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:09.661563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.663220"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.663220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.664943"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.664943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.666272"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.666272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.667637"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.667637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user46@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.670385"], ["email", "user46@example.com"], ["encrypted_password", "$2a$04$nH/5TlIgy.WWNCt5ZFaz4uytlYEHKQzo9wkNgUZ3aE8hX1iVGNaVW"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.670385"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user46@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.670385"], ["email", "user46@example.com"], ["encrypted_password", "$2a$04$nH/5TlIgy.WWNCt5ZFaz4uytlYEHKQzo9wkNgUZ3aE8hX1iVGNaVW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.670385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.677122"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.677122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.682593"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:09.682593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.684192"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.684192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.685894"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.685894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.687280"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.687280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.688633"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.688633"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user48@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.691809"], ["email", "user48@example.com"], ["encrypted_password", "$2a$04$fvpXzk9I88f7az341vnU0.sGn6QUon8DjM3h1vpU0GSnAK4tH.58W"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.691809"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user48@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.691809"], ["email", "user48@example.com"], ["encrypted_password", "$2a$04$fvpXzk9I88f7az341vnU0.sGn6QUon8DjM3h1vpU0GSnAK4tH.58W"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.691809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.700771"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.700771"]]  (0.0ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.707812"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:09.707812"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.709476"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.709476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.711167"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.711167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.712446"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.712446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.713796"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.713796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user50@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.717964"], ["email", "user50@example.com"], ["encrypted_password", "$2a$04$rmI76lfzbyDB08nbZ2siwOllNih9LJl5TUP9dB/Pdt7kkzKdKGYEe"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.717964"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user50@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.717964"], ["email", "user50@example.com"], ["encrypted_password", "$2a$04$rmI76lfzbyDB08nbZ2siwOllNih9LJl5TUP9dB/Pdt7kkzKdKGYEe"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.717964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.727942"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.727942"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.736506"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:09.736506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.738205"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.738205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.739742"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.739742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.740915"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.740915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.742209"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.742209"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.744094"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:09.744094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:09.745940"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.745940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.747217"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:09.747217"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:09.748531"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.748531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user52@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.750425"], ["email", "user52@example.com"], ["encrypted_password", "$2a$04$/ETymbcU6p0ihpGZ9jmDbefgd0dfzdb2u7f4wbgyuB4IDhdl51hJG"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.750425"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user52@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.750425"], ["email", "user52@example.com"], ["encrypted_password", "$2a$04$/ETymbcU6p0ihpGZ9jmDbefgd0dfzdb2u7f4wbgyuB4IDhdl51hJG"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.750425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.759358"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:09.759358"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.761472"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.761472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.764063"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.764063"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.766337"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.766337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.768980"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.768980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.770498"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:09.770498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:09.771938"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.771938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.773184"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:09.773184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:09.775285"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.775285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user53@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.779091"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$6Hoq2eRLTi9m7ccPHIO.R.AVDHw5hVxzCzKbZBwCdaoyXzcsRwKSG"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.779091"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user53@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.779091"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$6Hoq2eRLTi9m7ccPHIO.R.AVDHw5hVxzCzKbZBwCdaoyXzcsRwKSG"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.779091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.789698"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:09.789698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.791493"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.791493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.793209"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.793209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.794525"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.794525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.796218"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.796218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.797756"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:09.797756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:09.799360"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.799360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.800617"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:09.800617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:09.802014"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.802014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user54@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.803968"], ["email", "user54@example.com"], ["encrypted_password", "$2a$04$xHj6tDRoQpyKXOvmE90AnObfTZuhj7yo8EVWuSw5JX1rX6QKQhcKW"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.803968"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user54@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.803968"], ["email", "user54@example.com"], ["encrypted_password", "$2a$04$xHj6tDRoQpyKXOvmE90AnObfTZuhj7yo8EVWuSw5JX1rX6QKQhcKW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.803968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.812789"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:09.812789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.814541"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.814541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.816251"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.816251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.817668"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.817668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.820052"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.820052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.822673"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:09.822673"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:09.825250"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.825250"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.828315"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:09.828315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:09.830779"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.830779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user55@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.832861"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$fS7sRUPEbm3uafv6as4Zu.mc2vj6yvnHrB9BaJ9ph.2l4uszlntku"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.832861"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user55@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.832861"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$fS7sRUPEbm3uafv6as4Zu.mc2vj6yvnHrB9BaJ9ph.2l4uszlntku"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.832861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.841857"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:09.841857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.843567"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.843567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.845242"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.845242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.846563"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.846563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.847987"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.847987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.849517"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:09.849517"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:09.851005"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.851005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.852358"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:09.852358"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:09.853627"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.853627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user56@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.855898"], ["email", "user56@example.com"], ["encrypted_password", "$2a$04$RcrheSKOYSA.4shGg2bW5e1MZd0hOg.XEPPcxXx.m8FXtPw0DUuwO"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.855898"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user56@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.855898"], ["email", "user56@example.com"], ["encrypted_password", "$2a$04$RcrheSKOYSA.4shGg2bW5e1MZd0hOg.XEPPcxXx.m8FXtPw0DUuwO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.855898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.866616"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:09.866616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.868420"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.868420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.870943"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.870943"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.872925"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.872925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.875694"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.875694"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.877639"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:09.877639"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:09.879551"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.879551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.881135"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:09.881135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:09.884042"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.884042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.888041"], ["email", "user57@example.com"], ["encrypted_password", "$2a$04$iZfvz9OyYoyAdJiwvdLA.eckDH4GMu5XPIk.6lqJZcH6VBzFM9rle"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.888041"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user57@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.888041"], ["email", "user57@example.com"], ["encrypted_password", "$2a$04$iZfvz9OyYoyAdJiwvdLA.eckDH4GMu5XPIk.6lqJZcH6VBzFM9rle"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.888041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.898585"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.898585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.907922"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:09.907922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.910727"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.910727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.914918"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.914918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.917469"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.917469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.920010"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.920010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.922265"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:09.922265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:09.926999"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.926999"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.930627"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:09.930627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:09.933813"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.933813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user59@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.937484"], ["email", "user59@example.com"], ["encrypted_password", "$2a$04$djLdVz1XhbAcGEPXlvL5D.VxrLNJpnaTVDfPj.2riRcA19aK9dYw6"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.937484"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user59@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.937484"], ["email", "user59@example.com"], ["encrypted_password", "$2a$04$djLdVz1XhbAcGEPXlvL5D.VxrLNJpnaTVDfPj.2riRcA19aK9dYw6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.937484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.948261"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.948261"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.958609"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:09.958609"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.960926"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.960926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:09.963239"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.963239"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.965189"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:09.965189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:09.967613"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.967613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.969160"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:09.969160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:09.970718"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.970718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.972043"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:09.972043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:09.973586"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.973586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user61@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:09.985729"], ["email", "user61@example.com"], ["encrypted_password", "$2a$04$2C.WPzRdWB0c2F4shMHucuwN0zG9/nsYSoxkhkOR2s3KeRpVrBIeS"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:09.985729"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user61@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:09.985729"], ["email", "user61@example.com"], ["encrypted_password", "$2a$04$2C.WPzRdWB0c2F4shMHucuwN0zG9/nsYSoxkhkOR2s3KeRpVrBIeS"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:09.985729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:09.994258"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:09.994258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:10.002101"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:10.002101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user63@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.004519"], ["email", "user63@example.com"], ["encrypted_password", "$2a$04$JejhvL1FqWoTuxUSe7uInuN5evYSFZOYKB0IFrzWfAlMCsVat0fay"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:10.004519"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user63@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:10.004519"], ["email", "user63@example.com"], ["encrypted_password", "$2a$04$JejhvL1FqWoTuxUSe7uInuN5evYSFZOYKB0IFrzWfAlMCsVat0fay"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:10.004519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.012895"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-27 00:31:10.012895"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:10.015894"], ["updated_at", "2014-05-27 00:31:10.015894"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" ORDER BY "storytime_versions"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "New Content"], ["created_at", "2014-05-27 00:31:10.020936"], ["updated_at", "2014-05-27 00:31:10.020936"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1 Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #6. It was a dark and stormy night. The End.' WHERE "storytime_posts"."id" = 1 SQL (0.1ms) UPDATE "storytime_versions" SET "updated_at" = '2014-05-27 00:31:10.027654' WHERE "storytime_versions"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:10.033067"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:10.033067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user64@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.036120"], ["email", "user64@example.com"], ["encrypted_password", "$2a$04$CLxRcgHOFXiH4v7p/pyBS.tuHCL3s718Z0MxiwFuk6ILdMosom0uC"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:10.036120"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user64@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:10.036120"], ["email", "user64@example.com"], ["encrypted_password", "$2a$04$CLxRcgHOFXiH4v7p/pyBS.tuHCL3s718Z0MxiwFuk6ILdMosom0uC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:10.036120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.042872"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-27 00:31:10.042872"], ["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", "Testing 123"], ["created_at", "2014-05-27 00:31:10.047240"], ["updated_at", "2014-05-27 00:31:10.047240"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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) UPDATE "storytime_posts" SET "content" = 'Testing 123', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_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"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "New Content"], ["created_at", "2014-05-27 00:31:10.054176"], ["updated_at", "2014-05-27 00:31:10.054176"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:10.061407"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:10.061407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user65@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.063837"], ["email", "user65@example.com"], ["encrypted_password", "$2a$04$25Mi3n3x.oowX7Sz/36pK.bl2NoRsXVwaihNiQwd8VWUjR6iku.Ue"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:10.063837"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user65@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:10.063837"], ["email", "user65@example.com"], ["encrypted_password", "$2a$04$25Mi3n3x.oowX7Sz/36pK.bl2NoRsXVwaihNiQwd8VWUjR6iku.Ue"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:10.063837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.071119"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "f"], ["title", "Post #8"], ["updated_at", "2014-05-27 00:31:10.071119"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 00:31:10.073092"], ["updated_at", "2014-05-27 00:31:10.073092"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "excerpt" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["excerpt", "New Excerpt"], ["updated_at", "2014-05-27 00:31:10.074957"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_versions"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:10.082347"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:10.082347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user66@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.084629"], ["email", "user66@example.com"], ["encrypted_password", "$2a$04$n.3KttsEucZJFxH8R5eeuub0E0j7QOD0tgNjaNlZYiOO4LMFvOOM6"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:10.084629"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user66@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:10.084629"], ["email", "user66@example.com"], ["encrypted_password", "$2a$04$n.3KttsEucZJFxH8R5eeuub0E0j7QOD0tgNjaNlZYiOO4LMFvOOM6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:10.084629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.090442"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "f"], ["title", "Post #9"], ["updated_at", "2014-05-27 00:31:10.090442"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 00:31:10.092217"], ["updated_at", "2014-05-27 00:31:10.092217"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "storytime_versions" 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" ORDER BY "storytime_versions"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:10.101186"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:10.101186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user67@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.103608"], ["email", "user67@example.com"], ["encrypted_password", "$2a$04$XPTfwaagdk9zIjkVUMhfL.7azvdPUEl5beHnmRjUVvDsKA/xg.s1S"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:10.103608"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user67@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:10.103608"], ["email", "user67@example.com"], ["encrypted_password", "$2a$04$XPTfwaagdk9zIjkVUMhfL.7azvdPUEl5beHnmRjUVvDsKA/xg.s1S"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:10.103608"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.110770"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "f"], ["title", "Post #10"], ["updated_at", "2014-05-27 00:31:10.110770"], ["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.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 00:31:10.114261"], ["updated_at", "2014-05-27 00:31:10.114261"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Testing 123', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:10.120824"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:10.120824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user68@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.123218"], ["email", "user68@example.com"], ["encrypted_password", "$2a$04$OJUinl4Rx8y4hRTyF1T.r.aeqxypBMUo7EgEfdjHZ8lUTRqb7.iDi"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:10.123218"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user68@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:10.123218"], ["email", "user68@example.com"], ["encrypted_password", "$2a$04$OJUinl4Rx8y4hRTyF1T.r.aeqxypBMUo7EgEfdjHZ8lUTRqb7.iDi"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:10.123218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.129398"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "f"], ["title", "Post #11"], ["updated_at", "2014-05-27 00:31:10.129398"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 00:31:10.131314"], ["updated_at", "2014-05-27 00:31:10.131314"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."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"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'tony@stark.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.139090"], ["email", "tony@stark.com"], ["encrypted_password", "$2a$04$fg8wsrWvlOCKhiS1x/5pl.SELKExqPC2fKNuExyr9/PoTj/O.gJFu"], ["updated_at", "2014-05-27 00:31:10.139090"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'tony@stark.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:10.139090"], ["email", "tony@stark.com"], ["encrypted_password", "$2a$04$fg8wsrWvlOCKhiS1x/5pl.SELKExqPC2fKNuExyr9/PoTj/O.gJFu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:10.139090"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:10.151267"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:10.151267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:10.153080"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:10.153080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:10.154858"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:10.154858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:10.156168"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:10.156168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:10.157478"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:10.157478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:10.159899"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:10.159899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:10.161924"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:10.161924"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:10.163502"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:10.163502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:10.165421"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:10.165421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user69@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.167549"], ["email", "user69@example.com"], ["encrypted_password", "$2a$04$CeODpX0yfwlopkWACJhiiOHnUOIOoHN8JOWxtuVphyVK0GXUgahn."], ["role_id", 7], ["updated_at", "2014-05-27 00:31:10.167549"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user69@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:10.167549"], ["email", "user69@example.com"], ["encrypted_password", "$2a$04$CeODpX0yfwlopkWACJhiiOHnUOIOoHN8JOWxtuVphyVK0GXUgahn."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:10.167549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:10.172686"], ["title", "Site Title 12"], ["updated_at", "2014-05-27 00:31:10.172686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:10 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:10 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user69@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user69@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:10.282175"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:10.282175"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:10.282666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65423/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:10 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.1ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:10.362813"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:10.362813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user70@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.365004"], ["email", "user70@example.com"], ["encrypted_password", "$2a$04$Vk3C5Oh2Hsb6U4LgproN4ehYBX/r8SJWPBEGIWoIvUTyuW457iI1i"], ["role_id", 8], ["updated_at", "2014-05-27 00:31:10.365004"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.367173"], ["excerpt", "Post #12. It was a dark and stormy night."], ["published", "t"], ["title", "Post #12"], ["updated_at", "2014-05-27 00:31:10.367173"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:10.369111"], ["updated_at", "2014-05-27 00:31:10.369111"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:10.374569"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:10.374569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user71@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.376592"], ["email", "user71@example.com"], ["encrypted_password", "$2a$04$gfvBq1KciId5S.YRlDW/au05vaLJEo0pFr21s97TB4flhW/eBZ/vC"], ["role_id", 9], ["updated_at", "2014-05-27 00:31:10.376592"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.378875"], ["excerpt", "Post #13. It was a dark and stormy night."], ["published", "t"], ["title", "Post #13"], ["updated_at", "2014-05-27 00:31:10.378875"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:10.380788"], ["updated_at", "2014-05-27 00:31:10.380788"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #8. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:10.385110"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:10.385110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user72@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.386843"], ["email", "user72@example.com"], ["encrypted_password", "$2a$04$yyKrO1gaDsUEqfc529LdVebCd4WRYXESwkv//sHiNpPuXWzJWc.hu"], ["role_id", 10], ["updated_at", "2014-05-27 00:31:10.386843"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:10.388816"], ["excerpt", "Post #14. It was a dark and stormy night."], ["published", "t"], ["title", "Post #14"], ["updated_at", "2014-05-27 00:31:10.388816"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:10.390553"], ["updated_at", "2014-05-27 00:31:10.390553"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #9. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:31:10 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.8ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 12.9ms | ActiveRecord: 0.9ms) Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-26 19:31:11 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.1ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] Storytime::Tagging Load (0.2ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 12ms (ActiveRecord: 1.1ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.460696"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:11.460696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.462429"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:11.462429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:11.464111"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:11.464111"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.465358"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:11.465358"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:11.466699"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:11.466699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.468302"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:11.468302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:11.469679"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:11.469679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.470840"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:11.470840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:11.472118"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:11.472118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user73@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:11.473995"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$hthF.mLSRQ7Gip0eY5Ydsu7HvM3QNHz8OsoDqDWWH4Sx6VLgUYOz6"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:11.473995"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user73@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:11.473995"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$hthF.mLSRQ7Gip0eY5Ydsu7HvM3QNHz8OsoDqDWWH4Sx6VLgUYOz6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:11.473995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.478440"], ["title", "Site Title 13"], ["updated_at", "2014-05-27 00:31:11.478440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:11 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user73@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user73@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:11.494283"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:11.494283"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:11.495343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:11 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.3ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 12.6ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.531300"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:11.531300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user74@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:11.533530"], ["email", "user74@example.com"], ["encrypted_password", "$2a$04$4XMZzPFK1qdnECyqAnC0YuxOGzojufmqEsBJF0kAm2OY8fMsVfsfG"], ["role_id", 8], ["updated_at", "2014-05-27 00:31:11.533530"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:11.535764"], ["excerpt", "Post #15. It was a dark and stormy night."], ["published", "f"], ["title", "Post #15"], ["updated_at", "2014-05-27 00:31:11.535764"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:11.537634"], ["updated_at", "2014-05-27 00:31:11.537634"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:31:11 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.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::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (1.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", 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.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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (12.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (17.7ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 32ms (Views: 25.0ms | ActiveRecord: 1.5ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-26 19:31:11 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #15. It was a dark and stormy night.", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.0ms) SAVEPOINT active_record_1 Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] 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", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["title", "The Story"], ["updated_at", "2014-05-27 00:31:11.590376"]] 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", 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:31:11.592528"], ["updated_at", "2014-05-27 00:31:11.592528"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 13ms (ActiveRecord: 1.0ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:31:11 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.7ms) 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::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/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", 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.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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (21.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (27.9ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 33.0ms | ActiveRecord: 1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.682745"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:11.682745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.684366"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:11.684366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:11.686017"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:11.686017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.687264"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:11.687264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:11.690031"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:11.690031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.691908"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:11.691908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:11.693703"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:11.693703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.695297"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:11.695297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:11.696672"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:11.696672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user75@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:11.698503"], ["email", "user75@example.com"], ["encrypted_password", "$2a$04$5kazDfpUJ3IRrCGBA.3xheTnLUL8lHDMiulLw0WoYXpLanrRTxdbq"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:11.698503"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user75@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:11.698503"], ["email", "user75@example.com"], ["encrypted_password", "$2a$04$5kazDfpUJ3IRrCGBA.3xheTnLUL8lHDMiulLw0WoYXpLanrRTxdbq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:11.698503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.703347"], ["title", "Site Title 14"], ["updated_at", "2014-05-27 00:31:11.703347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:11 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user75@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user75@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:11.719290"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:11.719290"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:11.719918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:11 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 1.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 19:31:11 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (1.4ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (10.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (12.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 17.6ms | ActiveRecord: 1.2ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:31:11 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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.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]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:11.793467"], ["excerpt", "It was a dark and stormy night..."], ["published", "f"], ["title", "The Story"], ["updated_at", "2014-05-27 00:31:11.793467"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:31:11.795335"], ["updated_at", "2014-05-27 00:31:11.795335"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 11ms (ActiveRecord: 0.9ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:31:11 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.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::Post"]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/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", 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.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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (12.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (20.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 32ms (Views: 25.6ms | ActiveRecord: 1.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.875908"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:11.875908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.877663"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:11.877663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:11.879241"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:11.879241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.880443"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:11.880443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:11.881765"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:11.881765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.884235"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:11.884235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:11.885922"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:11.885922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.887305"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:11.887305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:11.888823"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:11.888823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user76@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:11.890788"], ["email", "user76@example.com"], ["encrypted_password", "$2a$04$XE.o71rWdK3LmPs6LsOJr.R3TQIzyFfRvtRcPW3ejHvcnfAy864dK"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:11.890788"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user76@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:11.890788"], ["email", "user76@example.com"], ["encrypted_password", "$2a$04$XE.o71rWdK3LmPs6LsOJr.R3TQIzyFfRvtRcPW3ejHvcnfAy864dK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:11.890788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.895295"], ["title", "Site Title 15"], ["updated_at", "2014-05-27 00:31:11.895295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:11 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user76@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user76@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:11.910495"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:11.910495"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:11.910976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:11 -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.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (3.3ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 12.4ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.945096"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:11.945096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user77@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:11.946938"], ["email", "user77@example.com"], ["encrypted_password", "$2a$04$ZTjlUD3v2o1V9.6VneQg.eZ.C3aAjk64dUQXWHiL3YEdmeFC8mJeO"], ["role_id", 8], ["updated_at", "2014-05-27 00:31:11.946938"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:11.948950"], ["excerpt", "Post #16. It was a dark and stormy night."], ["published", "t"], ["title", "Post #16"], ["updated_at", "2014-05-27 00:31:11.948950"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:11.950750"], ["updated_at", "2014-05-27 00:31:11.950750"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #11. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.954789"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:11.954789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user78@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:11.956488"], ["email", "user78@example.com"], ["encrypted_password", "$2a$04$9tIhVGRDR2jrWT0w0ma...QlJ8o7kxq7fLSxohq6RzGowVYnGaHLm"], ["role_id", 9], ["updated_at", "2014-05-27 00:31:11.956488"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:11.958408"], ["excerpt", "Post #17. It was a dark and stormy night."], ["published", "t"], ["title", "Post #17"], ["updated_at", "2014-05-27 00:31:11.958408"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #12. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:11.960097"], ["updated_at", "2014-05-27 00:31:11.960097"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #12. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:11.964138"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:11.964138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user79@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:11.965850"], ["email", "user79@example.com"], ["encrypted_password", "$2a$04$78PiTEpE7/dakn8.Xwj/fewXGyRWhyAEMnxCc09VY/vQmYxp/3qsa"], ["role_id", 10], ["updated_at", "2014-05-27 00:31:11.965850"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:11.967884"], ["excerpt", "Post #18. It was a dark and stormy night."], ["published", "t"], ["title", "Post #18"], ["updated_at", "2014-05-27 00:31:11.967884"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #13. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:11.970399"], ["updated_at", "2014-05-27 00:31:11.970399"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #13. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:31:11 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 11.4ms | ActiveRecord: 0.8ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.9ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.077681"], ["title", "Site Title 16"], ["updated_at", "2014-05-27 00:31:12.077681"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.081454"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:12.081454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user80@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.084105"], ["email", "user80@example.com"], ["encrypted_password", "$2a$04$bOrjEYPsYUkhF2UdRiavael26azcCUex93bwz7CRETkm9hcQaZqpC"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:12.084105"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user80@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:12.084105"], ["email", "user80@example.com"], ["encrypted_password", "$2a$04$bOrjEYPsYUkhF2UdRiavael26azcCUex93bwz7CRETkm9hcQaZqpC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:12.084105"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 4ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.126352"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:12.126352"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user81@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.128932"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$HeylWlC/3icWpHV/c2bWdONgmMKjy5./HCKbJYxKYGW9frLRh8JQi"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:12.128932"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user81@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:12.128932"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$HeylWlC/3icWpHV/c2bWdONgmMKjy5./HCKbJYxKYGW9frLRh8JQi"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:12.128932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.148956"], ["title", "Site Title 17"], ["updated_at", "2014-05-27 00:31:12.148956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.153903"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:12.153903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user82@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.157722"], ["email", "user82@example.com"], ["encrypted_password", "$2a$04$yejPsCnMP30ka0L4M7sPkunXkZQh8rtGyz28gp0FI0VQheFZf8v56"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:12.157722"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user82@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:12.157722"], ["email", "user82@example.com"], ["encrypted_password", "$2a$04$yejPsCnMP30ka0L4M7sPkunXkZQh8rtGyz28gp0FI0VQheFZf8v56"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:12.157722"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.164913"], ["excerpt", "Post #19. It was a dark and stormy night."], ["published", "t"], ["title", "Post #19"], ["updated_at", "2014-05-27 00:31:12.164913"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #14. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:12.167399"], ["updated_at", "2014-05-27 00:31:12.167399"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #14. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.172299"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:12.172299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user83@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.174507"], ["email", "user83@example.com"], ["encrypted_password", "$2a$04$3ftJgz6Yn/VcOaAjhpwr/eYWRvVcM9yEPsKCoxXINh04YgFPUA2R2"], ["role_id", 8], ["updated_at", "2014-05-27 00:31:12.174507"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.177021"], ["excerpt", "Post #20. It was a dark and stormy night."], ["published", "t"], ["title", "Post #20"], ["updated_at", "2014-05-27 00:31:12.177021"], ["user_id", 2]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #15. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:12.178746"], ["updated_at", "2014-05-27 00:31:12.178746"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #15. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.182958"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:12.182958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user84@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.184890"], ["email", "user84@example.com"], ["encrypted_password", "$2a$04$xrNw5.yjpvYS/tszl4mfjuQE2.PFYcLvzuk6nDH4kdJAWnesY7JSe"], ["role_id", 9], ["updated_at", "2014-05-27 00:31:12.184890"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.186934"], ["excerpt", "Post #21. It was a dark and stormy night."], ["published", "t"], ["title", "Post #21"], ["updated_at", "2014-05-27 00:31:12.186934"], ["user_id", 3]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #16. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:12.188629"], ["updated_at", "2014-05-27 00:31:12.188629"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #16. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-26 19:31:12 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.9ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.309982"], ["title", "Site Title 18"], ["updated_at", "2014-05-27 00:31:12.309982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.313651"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:12.313651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user85@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.315825"], ["email", "user85@example.com"], ["encrypted_password", "$2a$04$zv3mjYuuhS49NFc5hj5b4.cu4DAIVLzvT7vSUdiVg5vSSL8Ktc2.S"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:12.315825"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user85@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:12.315825"], ["email", "user85@example.com"], ["encrypted_password", "$2a$04$zv3mjYuuhS49NFc5hj5b4.cu4DAIVLzvT7vSUdiVg5vSSL8Ktc2.S"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:12.315825"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.323264"], ["excerpt", "Post #22. It was a dark and stormy night."], ["published", "t"], ["title", "Post #22"], ["updated_at", "2014-05-27 00:31:12.323264"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #17. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:12.325679"], ["updated_at", "2014-05-27 00:31:12.325679"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #17. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-26 19:31:12 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} 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"."published" = 't' AND "storytime_posts"."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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.4ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.368492"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:12.368492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user86@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.370798"], ["email", "user86@example.com"], ["encrypted_password", "$2a$04$I2lSEzfcRMHNhXob8dG4t.0hWw584j65WllC1PaiacD35YOEHnaBq"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:12.370798"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user86@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:12.370798"], ["email", "user86@example.com"], ["encrypted_password", "$2a$04$I2lSEzfcRMHNhXob8dG4t.0hWw584j65WllC1PaiacD35YOEHnaBq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:12.370798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.377251"], ["name", "tag1"], ["updated_at", "2014-05-27 00:31:12.377251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.379117"], ["name", "tag2"], ["updated_at", "2014-05-27 00:31:12.379117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.382025"], ["excerpt", "Post #23. It was a dark and stormy night."], ["published", "t"], ["title", "Post #23"], ["updated_at", "2014-05-27 00:31:12.382025"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.382871"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:31:12.382871"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.383608"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:31:12.383608"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #18. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:12.385540"], ["updated_at", "2014-05-27 00:31:12.385540"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #18. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.389745"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:12.389745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user87@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.391482"], ["email", "user87@example.com"], ["encrypted_password", "$2a$04$.2pxuEODyetD7saCuDNBPufBLnNLWo.2HotRGgJSj4YVW0iCNkOV."], ["role_id", 8], ["updated_at", "2014-05-27 00:31:12.391482"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.2ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.395593"], ["excerpt", "Post #24. It was a dark and stormy night."], ["published", "t"], ["title", "Post #24"], ["updated_at", "2014-05-27 00:31:12.395593"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.396831"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-27 00:31:12.396831"]] 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"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #19. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:12.399599"], ["updated_at", "2014-05-27 00:31:12.399599"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #19. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) 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.0ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_tags"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.415968"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:12.415968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user88@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.419500"], ["email", "user88@example.com"], ["encrypted_password", "$2a$04$Cs37SKdlrW3Ho2EUI3EMa.GBELuZTPuWJpPgVR2uoA7uwB5o.7cJO"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:12.419500"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user88@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:12.419500"], ["email", "user88@example.com"], ["encrypted_password", "$2a$04$Cs37SKdlrW3Ho2EUI3EMa.GBELuZTPuWJpPgVR2uoA7uwB5o.7cJO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:12.419500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.429893"], ["name", "tag1"], ["updated_at", "2014-05-27 00:31:12.429893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.432059"], ["name", "tag2"], ["updated_at", "2014-05-27 00:31:12.432059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.436128"], ["excerpt", "Post #25. It was a dark and stormy night."], ["published", "t"], ["title", "Post #25"], ["updated_at", "2014-05-27 00:31:12.436128"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.437123"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:31:12.437123"]] SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.438206"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:31:12.438206"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #20. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:12.440533"], ["updated_at", "2014-05-27 00:31:12.440533"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #20. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.448197"], ["name", "tag1"], ["updated_at", "2014-05-27 00:31:12.448197"]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.451232"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-27 00:31:12.451232"]] 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"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #20. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.461248"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:12.461248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user89@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.463604"], ["email", "user89@example.com"], ["encrypted_password", "$2a$04$Lb5cHh6rEzX74K3WfDXNoOSTVpFfo4iTSEL/i27egTNc98h5LgPUu"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:12.463604"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user89@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:12.463604"], ["email", "user89@example.com"], ["encrypted_password", "$2a$04$Lb5cHh6rEzX74K3WfDXNoOSTVpFfo4iTSEL/i27egTNc98h5LgPUu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:12.463604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.470420"], ["name", "tag1"], ["updated_at", "2014-05-27 00:31:12.470420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.472280"], ["name", "tag2"], ["updated_at", "2014-05-27 00:31:12.472280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.475184"], ["excerpt", "Post #26. It was a dark and stormy night."], ["published", "t"], ["title", "Post #26"], ["updated_at", "2014-05-27 00:31:12.475184"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.476072"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:31:12.476072"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.476839"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:31:12.476839"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #21. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:12.478858"], ["updated_at", "2014-05-27 00:31:12.478858"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #21. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.483111"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:12.483111"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user90@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.484958"], ["email", "user90@example.com"], ["encrypted_password", "$2a$04$oFo2KLEavUC8VJgCpK7e0.QAVhxFW/mSiMbPuG8j/q8Sd7mqWRVYm"], ["role_id", 8], ["updated_at", "2014-05-27 00:31:12.484958"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.488531"], ["excerpt", "Post #27. It was a dark and stormy night."], ["published", "t"], ["title", "Post #27"], ["updated_at", "2014-05-27 00:31:12.488531"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.489344"], ["post_id", 2], ["tag_id", 2], ["updated_at", "2014-05-27 00:31:12.489344"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #22. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:31:12.491159"], ["updated_at", "2014-05-27 00:31:12.491159"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #22. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.497536"], ["name", "tag1"], ["updated_at", "2014-05-27 00:31:12.497536"]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.499353"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-27 00:31:12.499353"]] 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"]] 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"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #21. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.510094"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:12.510094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.511809"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:12.511809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:12.513565"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:12.513565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.514841"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:12.514841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:12.516274"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:12.516274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.518079"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:12.518079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:12.519871"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:12.519871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.521555"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:12.521555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:12.523188"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:12.523188"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user91@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.526038"], ["email", "user91@example.com"], ["encrypted_password", "$2a$04$/aMzuo1kPVZVvmmiQ3F2nu.NrLuxAvS8vNnerywlpcmeA47.bDMpG"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:12.526038"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user91@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:12.526038"], ["email", "user91@example.com"], ["encrypted_password", "$2a$04$/aMzuo1kPVZVvmmiQ3F2nu.NrLuxAvS8vNnerywlpcmeA47.bDMpG"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:12.526038"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.531870"], ["title", "Site Title 19"], ["updated_at", "2014-05-27 00:31:12.531870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:12 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:12 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user91@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user91@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:12.645314"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:12.645314"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:12.646285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:65423/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:12 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.726838"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:12.726838"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user92@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.729240"], ["email", "user92@example.com"], ["encrypted_password", "$2a$04$WKWR1ijx9FIGRUGQTNj46.h92RkE2h/jfe/gLJkm9hkwQEZZKhJuK"], ["role_id", 8], ["updated_at", "2014-05-27 00:31:12.729240"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.733255"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:12.733255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user93@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.735937"], ["email", "user93@example.com"], ["encrypted_password", "$2a$04$M/6M2cb.QF8z9zYAe.o4nuz8waKF81aeV7g9DQh5mZ3vcpqS4/Rz6"], ["role_id", 9], ["updated_at", "2014-05-27 00:31:12.735937"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:12.740804"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:12.740804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user94@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:12.743372"], ["email", "user94@example.com"], ["encrypted_password", "$2a$04$vhlE7OdVn2xwJwbrwH1hk.MXVbfPv8YOfDN81VcJ.BMXl4XLXu6zG"], ["role_id", 10], ["updated_at", "2014-05-27 00:31:12.743372"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:31:12 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '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.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::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 8]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 9]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 10]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (6.3ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 19.2ms | ActiveRecord: 1.1ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" DESC LIMIT 1 Started DELETE "/dashboard/users/4" for 127.0.0.1 at 2014-05-26 19:31:13 -0500 Processing by Storytime::Dashboard::UsersController#destroy as JS Parameters: {"id"=>"4"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 4]] 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.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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_users" WHERE "storytime_users"."id" = ? [["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 9ms (ActiveRecord: 0.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 4]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:13.748922"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:13.748922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:13.750696"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:13.750696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:13.752353"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:13.752353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:13.753683"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:13.753683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:13.755150"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:13.755150"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:13.756313"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:13.756313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:13.757627"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:13.757627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:13.758741"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:13.758741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:13.759987"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:13.759987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user95@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:13.762084"], ["email", "user95@example.com"], ["encrypted_password", "$2a$04$M1aXwlGNDdM8jMo8aPEMvOrNy2s7Q82N6bu2VwnfeXz4i3RNM9.NC"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:13.762084"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user95@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:13.762084"], ["email", "user95@example.com"], ["encrypted_password", "$2a$04$M1aXwlGNDdM8jMo8aPEMvOrNy2s7Q82N6bu2VwnfeXz4i3RNM9.NC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:13.762084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:13.766966"], ["title", "Site Title 20"], ["updated_at", "2014-05-27 00:31:13.766966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:13 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user95@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user95@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:13.783110"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:13.783110"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:13.784194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:13 -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.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 11.4ms | ActiveRecord: 1.0ms) Started GET "/dashboard/users/new" for 127.0.0.1 at 2014-05-26 19:31:13 -0500 Processing by Storytime::Dashboard::UsersController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 20.9ms | ActiveRecord: 0.8ms) Started POST "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:31:13 -0500 Processing by Storytime::Dashboard::UsersController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"new_user@example.com", "role_id"=>"1", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Create User"} Storytime::User Load (1.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]]  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'new_user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:13.859533"], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$PUEdaeYKss.Gj8.SOplHPOwU6bGqItfKWK3nmKu8kiYV0Aqmj3KD."], ["role_id", 1], ["updated_at", "2014-05-27 00:31:13.859533"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/users Completed 302 Found in 12ms (ActiveRecord: 1.7ms) Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:31:13 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (2.2ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 8.5ms | ActiveRecord: 0.7ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:13.914997"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:13.914997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:13.916689"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:13.916689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:13.918704"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:13.918704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:13.920147"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:13.920147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:13.922072"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:13.922072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:13.923942"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:13.923942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:13.925398"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:13.925398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:13.926634"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:13.926634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:13.927875"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:13.927875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user96@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:13.929685"], ["email", "user96@example.com"], ["encrypted_password", "$2a$04$fyrhbGUaa5lLhrYeHSczROKzbeqt6DjeVVl.S8PGZjFvckqMXbIY2"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:13.929685"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user96@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:13.929685"], ["email", "user96@example.com"], ["encrypted_password", "$2a$04$fyrhbGUaa5lLhrYeHSczROKzbeqt6DjeVVl.S8PGZjFvckqMXbIY2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:13.929685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:13.934090"], ["title", "Site Title 21"], ["updated_at", "2014-05-27 00:31:13.934090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:13 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user96@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user96@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:13.948645"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:13.948645"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:13.949168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:13 -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.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 13.0ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:13.987371"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:13.987371"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user97@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:13.990721"], ["email", "user97@example.com"], ["encrypted_password", "$2a$04$k2hvrmW9MXdyW8X2kFJ.Oem1eOZfhfOSRSEpq5tWqk9XVAQ3NLJcq"], ["role_id", 8], ["updated_at", "2014-05-27 00:31:13.990721"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users/2/edit" for 127.0.0.1 at 2014-05-26 19:31:13 -0500 Processing by Storytime::Dashboard::UsersController#edit as HTML Parameters: {"id"=>"2"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 14.6ms | ActiveRecord: 1.0ms) Started PATCH "/dashboard/users/2" for 127.0.0.1 at 2014-05-26 19:31:14 -0500 Processing by Storytime::Dashboard::UsersController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"new_email@example.com", "role_id"=>"8"}, "commit"=>"Update User", "id"=>"2"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]]  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'new_email@example.com' AND "storytime_users"."id" != 2) LIMIT 1 SQL (0.1ms) UPDATE "storytime_users" SET "email" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 2 [["email", "new_email@example.com"], ["updated_at", "2014-05-27 00:31:14.029980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/users Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:31:14 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 8]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (2.4ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 9.7ms | ActiveRecord: 0.9ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.073800"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:14.073800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.075561"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.075561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.077337"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.077337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.078648"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.078648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.080105"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.080105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.081973"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:14.081973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:14.083390"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.083390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.084604"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:14.084604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:14.085921"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.085921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user98@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.087717"], ["email", "user98@example.com"], ["encrypted_password", "$2a$04$8GGF01ERmBR9wuqedXvT6ulwMuhoPiAq2veGmmW32pA99AhDod78."], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.087717"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user98@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.087717"], ["email", "user98@example.com"], ["encrypted_password", "$2a$04$8GGF01ERmBR9wuqedXvT6ulwMuhoPiAq2veGmmW32pA99AhDod78."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.087717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.092616"], ["title", "Site Title 22"], ["updated_at", "2014-05-27 00:31:14.092616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:14 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:31:14 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user98@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user98@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:31:14.109395"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:31:14.109395"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:31:14.109914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:31:14 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (8.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 13.2ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.143369"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.143369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user99@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.145215"], ["email", "user99@example.com"], ["encrypted_password", "$2a$04$QD32Z9kFnGm1.Xot/4GcCedta7UmFqyzDt7XZfl2zT0PUNDqxc9Ny"], ["role_id", 8], ["updated_at", "2014-05-27 00:31:14.145215"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.148383"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.148383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user100@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.150036"], ["email", "user100@example.com"], ["encrypted_password", "$2a$04$aaJ1i.jM.7fN/nfLoAZ4u.K95a7pcpn5.wr50flRoHgomQ4qbGrdq"], ["role_id", 9], ["updated_at", "2014-05-27 00:31:14.150036"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.153136"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.153136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user101@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.154712"], ["email", "user101@example.com"], ["encrypted_password", "$2a$04$hs8G8GDF9v8.4.ecGHmwy.aq/OlnU.s6f2NbfAlmXF3czVIbSclOm"], ["role_id", 10], ["updated_at", "2014-05-27 00:31:14.154712"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:31:14 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 8]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 9]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 10]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (4.9ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 11.9ms | ActiveRecord: 0.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users"  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.266123"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.266123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.267823"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.267823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.269523"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.269523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user102@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.272140"], ["email", "user102@example.com"], ["encrypted_password", "$2a$04$oiUgXmk2xuMd8PZkYEed0OvSn8C58Nd7VCSkwPNQ2We1wA2iYoiXm"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.272140"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user102@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.272140"], ["email", "user102@example.com"], ["encrypted_password", "$2a$04$oiUgXmk2xuMd8PZkYEed0OvSn8C58Nd7VCSkwPNQ2We1wA2iYoiXm"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.272140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.281446"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.281446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.283113"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.283113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.284760"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.284760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user103@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.286604"], ["email", "user103@example.com"], ["encrypted_password", "$2a$04$s1DCkfsoDx9/f5sKeXwiKuRQTirdLWcMcOcp2tYxItxUXApDkJ7nC"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.286604"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user103@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.286604"], ["email", "user103@example.com"], ["encrypted_password", "$2a$04$s1DCkfsoDx9/f5sKeXwiKuRQTirdLWcMcOcp2tYxItxUXApDkJ7nC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.286604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.297149"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.297149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.299079"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.299079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.300859"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.300859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user104@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.302767"], ["email", "user104@example.com"], ["encrypted_password", "$2a$04$SM0OZWvao4xoUVy7TvvtUeofO/LV5HtSwEhUK9HhhqP9/Ewm/7yey"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.302767"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user104@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.302767"], ["email", "user104@example.com"], ["encrypted_password", "$2a$04$SM0OZWvao4xoUVy7TvvtUeofO/LV5HtSwEhUK9HhhqP9/Ewm/7yey"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.302767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.316285"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.316285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.317872"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.317872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.321141"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.321141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user105@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.325135"], ["email", "user105@example.com"], ["encrypted_password", "$2a$04$vrc.z/2LZ5R.cMbpSyUyeOYdDXlL0rXHv0qPYCENOKSjWuttu/BRO"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.325135"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user105@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.325135"], ["email", "user105@example.com"], ["encrypted_password", "$2a$04$vrc.z/2LZ5R.cMbpSyUyeOYdDXlL0rXHv0qPYCENOKSjWuttu/BRO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.325135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.335258"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.335258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.336852"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.336852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.338386"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.338386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user106@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.340209"], ["email", "user106@example.com"], ["encrypted_password", "$2a$04$bC7McL0a3xit5K.6mCzOTuYyvbg1ZpTOR1qJPVeqrcOeweVKNJFsq"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.340209"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user106@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.340209"], ["email", "user106@example.com"], ["encrypted_password", "$2a$04$bC7McL0a3xit5K.6mCzOTuYyvbg1ZpTOR1qJPVeqrcOeweVKNJFsq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.340209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.351817"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.351817"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.353556"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.353556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.355275"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.355275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user107@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.359957"], ["email", "user107@example.com"], ["encrypted_password", "$2a$04$5TKn/IrWe3EWfvtK0NrmB.ocR6zvPkEh6wkLaNkJDzc.RqMutF8fW"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.359957"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user107@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.359957"], ["email", "user107@example.com"], ["encrypted_password", "$2a$04$5TKn/IrWe3EWfvtK0NrmB.ocR6zvPkEh6wkLaNkJDzc.RqMutF8fW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.359957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.366946"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.366946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.372815"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.372815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.374432"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.374432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.375965"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.375965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user109@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.378015"], ["email", "user109@example.com"], ["encrypted_password", "$2a$04$UIxeEuv9Bq.u6f3ug/XEduM0HjoYjLGRqTHFh5qMnpTFUUiPlIRCC"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.378015"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user109@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.378015"], ["email", "user109@example.com"], ["encrypted_password", "$2a$04$UIxeEuv9Bq.u6f3ug/XEduM0HjoYjLGRqTHFh5qMnpTFUUiPlIRCC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.378015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.385998"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.385998"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.396035"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.396035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.397959"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.397959"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.399718"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.399718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user111@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.401712"], ["email", "user111@example.com"], ["encrypted_password", "$2a$04$u/YOH/Q25YEANxhbPWsX1uux1Xrxr3UE5ZSvlY8m4eGRWMXfxPbF6"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.401712"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user111@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.401712"], ["email", "user111@example.com"], ["encrypted_password", "$2a$04$u/YOH/Q25YEANxhbPWsX1uux1Xrxr3UE5ZSvlY8m4eGRWMXfxPbF6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.401712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.408507"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.408507"]]  (0.0ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.418084"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:14.418084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.419772"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.419772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.421466"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.421466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.422766"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.422766"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.424428"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.424428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user113@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.426448"], ["email", "user113@example.com"], ["encrypted_password", "$2a$04$Kz1SKHjGF0hMLIyPkWJQLuB8aNxH0JXLnzOSl8/1hk3Xox1EkZvji"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.426448"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user113@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.426448"], ["email", "user113@example.com"], ["encrypted_password", "$2a$04$Kz1SKHjGF0hMLIyPkWJQLuB8aNxH0JXLnzOSl8/1hk3Xox1EkZvji"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.426448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.438755"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:14.438755"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.441298"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.441298"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.445294"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.445294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.447479"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.447479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.449420"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.449420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user114@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.451453"], ["email", "user114@example.com"], ["encrypted_password", "$2a$04$J1GGnt1dQF9exnFTrC9iyeYhJBOqBx6x7HhGpMbe2jSxUETKY/KMK"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.451453"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user114@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.451453"], ["email", "user114@example.com"], ["encrypted_password", "$2a$04$J1GGnt1dQF9exnFTrC9iyeYhJBOqBx6x7HhGpMbe2jSxUETKY/KMK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.451453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.460435"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:14.460435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.462084"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.462084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.463858"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.463858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.465149"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.465149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.466485"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.466485"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user115@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.468781"], ["email", "user115@example.com"], ["encrypted_password", "$2a$04$7bMQijfn9lqj1LBz.pQyW.XVr4sgvzsI4ZkdQv9nK5vRHBvPur5oO"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.468781"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user115@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.468781"], ["email", "user115@example.com"], ["encrypted_password", "$2a$04$7bMQijfn9lqj1LBz.pQyW.XVr4sgvzsI4ZkdQv9nK5vRHBvPur5oO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.468781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.481863"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:14.481863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.483579"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.483579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.485279"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.485279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.486611"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.486611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.487930"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.487930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user116@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.490122"], ["email", "user116@example.com"], ["encrypted_password", "$2a$04$oVZiJPP5qHoEM.S1fhLEqOer3uS1Hnn2AmxomWNEoKjAq41WwmqKS"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.490122"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user116@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.490122"], ["email", "user116@example.com"], ["encrypted_password", "$2a$04$oVZiJPP5qHoEM.S1fhLEqOer3uS1Hnn2AmxomWNEoKjAq41WwmqKS"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.490122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.499357"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:14.499357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.501023"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.501023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.502709"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.502709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.503989"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.503989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.505421"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.505421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user117@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.507802"], ["email", "user117@example.com"], ["encrypted_password", "$2a$04$2M0R.9yR3RnNI3xrntFDFOBU9DP0q1I.lQgZWkkf0au0xIZV5Urpu"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.507802"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user117@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.507802"], ["email", "user117@example.com"], ["encrypted_password", "$2a$04$2M0R.9yR3RnNI3xrntFDFOBU9DP0q1I.lQgZWkkf0au0xIZV5Urpu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.507802"]]  (0.0ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.520931"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:14.520931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.523159"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.523159"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.526867"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.526867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.529268"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.529268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.530913"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.530913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user118@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.533174"], ["email", "user118@example.com"], ["encrypted_password", "$2a$04$hUTCbfhoBPQbXj4iG1YAneMwXxMG2eW3mZqGHYz7vTXe/ZdSsrr4W"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.533174"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user118@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.533174"], ["email", "user118@example.com"], ["encrypted_password", "$2a$04$hUTCbfhoBPQbXj4iG1YAneMwXxMG2eW3mZqGHYz7vTXe/ZdSsrr4W"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.533174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.539973"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.539973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.545917"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:14.545917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.547493"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.547493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.549122"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.549122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.550310"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.550310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.551748"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.551748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user120@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.554450"], ["email", "user120@example.com"], ["encrypted_password", "$2a$04$XHbsMe0KGidu4MGTyRg4yeoTbnjeLaoXUVvGE7PN.B1ksBRzw7XiK"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.554450"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user120@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.554450"], ["email", "user120@example.com"], ["encrypted_password", "$2a$04$XHbsMe0KGidu4MGTyRg4yeoTbnjeLaoXUVvGE7PN.B1ksBRzw7XiK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.554450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.563392"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.563392"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.571347"], ["name", "editor"], ["updated_at", "2014-05-27 00:31:14.571347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.572926"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.572926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.574598"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.574598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.575942"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.575942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.577413"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.577413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user122@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.580603"], ["email", "user122@example.com"], ["encrypted_password", "$2a$04$UMegV2u3aGQVG1cIn2wJPun8YNLF1pB9iNAwlMrdD0SlziZDcl43e"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.580603"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user122@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.580603"], ["email", "user122@example.com"], ["encrypted_password", "$2a$04$UMegV2u3aGQVG1cIn2wJPun8YNLF1pB9iNAwlMrdD0SlziZDcl43e"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.580603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.587960"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.587960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.596008"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:14.596008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.597681"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.597681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.599366"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.599366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.600675"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.600675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.602024"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.602024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.604211"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:14.604211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:14.605953"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.605953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.607853"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:14.607853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:14.610454"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.610454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user124@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.612981"], ["email", "user124@example.com"], ["encrypted_password", "$2a$04$1IKzOStfR7KDFBbZtm9svuPKgsXsYcumEa0wsVOscjGjIrwTlmhlS"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.612981"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user124@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.612981"], ["email", "user124@example.com"], ["encrypted_password", "$2a$04$1IKzOStfR7KDFBbZtm9svuPKgsXsYcumEa0wsVOscjGjIrwTlmhlS"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.612981"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.622414"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:14.622414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.624499"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.624499"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.626550"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.626550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.628224"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.628224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.631262"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.631262"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.633176"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:14.633176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:14.635091"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.635091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.636529"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:14.636529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:14.637864"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.637864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user125@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.639773"], ["email", "user125@example.com"], ["encrypted_password", "$2a$04$kDoj/pSreqg1xPWvtJcDBO3a5NgSxbgrmNtpw1aCShvHM9R2BnVrK"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.639773"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user125@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.639773"], ["email", "user125@example.com"], ["encrypted_password", "$2a$04$kDoj/pSreqg1xPWvtJcDBO3a5NgSxbgrmNtpw1aCShvHM9R2BnVrK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.639773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.648795"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:14.648795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.650412"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.650412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.652035"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.652035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.653342"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.653342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.654881"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.654881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.656734"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:14.656734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:14.659429"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.659429"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.662154"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:14.662154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:14.663997"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.663997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user126@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.666230"], ["email", "user126@example.com"], ["encrypted_password", "$2a$04$rFjj7jUxpcst14RhJIFgaOmLRaLMzrFlPFn2udMOXejdE94z5BLUW"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.666230"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user126@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.666230"], ["email", "user126@example.com"], ["encrypted_password", "$2a$04$rFjj7jUxpcst14RhJIFgaOmLRaLMzrFlPFn2udMOXejdE94z5BLUW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.666230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.675253"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:14.675253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.676849"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.676849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.678474"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.678474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.679750"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.679750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.681071"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.681071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.682610"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:14.682610"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:14.684682"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.684682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.686352"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:14.686352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:14.687964"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.687964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user127@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.690143"], ["email", "user127@example.com"], ["encrypted_password", "$2a$04$8OBSS1zaIOoMaVUDRv5vruOEPVPqjfnsxE0r8hK8oU39mLEc3aLB."], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.690143"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user127@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.690143"], ["email", "user127@example.com"], ["encrypted_password", "$2a$04$8OBSS1zaIOoMaVUDRv5vruOEPVPqjfnsxE0r8hK8oU39mLEc3aLB."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.690143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.699632"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:14.699632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.701353"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.701353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.703169"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.703169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.704863"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.704863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.707059"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.707059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.709887"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:14.709887"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:14.712311"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.712311"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.714093"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:14.714093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:14.715682"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.715682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user128@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.717599"], ["email", "user128@example.com"], ["encrypted_password", "$2a$04$QtgahT97apOEP5IdRcscxudk6U0tTXX3HyEMuLIepomfOjFtRI3Se"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.717599"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user128@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.717599"], ["email", "user128@example.com"], ["encrypted_password", "$2a$04$QtgahT97apOEP5IdRcscxudk6U0tTXX3HyEMuLIepomfOjFtRI3Se"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.717599"]]  (0.0ms) RELEASE SAVEPOINT active_record_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]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.730075"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:14.730075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.731863"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.731863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.733505"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.733505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.734779"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.734779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.737087"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.737087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.739128"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:14.739128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:14.740909"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.740909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.742721"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:14.742721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:14.744187"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.744187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user129@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.746642"], ["email", "user129@example.com"], ["encrypted_password", "$2a$04$aCub7M50Qk5rUSDcIx9gbOam4DBDMZLya8ejPdpSwY3k.ugiUi3T."], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.746642"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user129@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.746642"], ["email", "user129@example.com"], ["encrypted_password", "$2a$04$aCub7M50Qk5rUSDcIx9gbOam4DBDMZLya8ejPdpSwY3k.ugiUi3T."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.746642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.752819"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.752819"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.759023"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:14.759023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.761054"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.761054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.763555"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.763555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.765367"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.765367"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.767708"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.767708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.769506"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:14.769506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:14.771275"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.771275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.772947"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:14.772947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:14.783437"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.783437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user131@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.785867"], ["email", "user131@example.com"], ["encrypted_password", "$2a$04$vcsMPcm9X4Hd8D26Sac2PO8WSNySkrLTn3nPP.q6P4Qkx1PgKfbDq"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.785867"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user131@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.785867"], ["email", "user131@example.com"], ["encrypted_password", "$2a$04$vcsMPcm9X4Hd8D26Sac2PO8WSNySkrLTn3nPP.q6P4Qkx1PgKfbDq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.785867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.793218"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.793218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.801806"], ["name", "admin"], ["updated_at", "2014-05-27 00:31:14.801806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.803766"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.803766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 9], ["created_at", "2014-05-27 00:31:14.805496"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.805496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.806811"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:31:14.806811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 10], ["created_at", "2014-05-27 00:31:14.808611"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.808611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.810057"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:31:14.810057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 11], ["created_at", "2014-05-27 00:31:14.811417"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.811417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.812551"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:31:14.812551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 12], ["created_at", "2014-05-27 00:31:14.813844"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.813844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user133@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:31:14.815762"], ["email", "user133@example.com"], ["encrypted_password", "$2a$04$M96oLUvVqZQz../V6rx2oOJZ/vM9.kysxmvfwL2OniPY/7pOCljru"], ["role_id", 7], ["updated_at", "2014-05-27 00:31:14.815762"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user133@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:31:14.815762"], ["email", "user133@example.com"], ["encrypted_password", "$2a$04$M96oLUvVqZQz../V6rx2oOJZ/vM9.kysxmvfwL2OniPY/7pOCljru"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:31:14.815762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:31:14.821665"], ["name", "writer"], ["updated_at", "2014-05-27 00:31:14.821665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:02.240620"], ["name", "writer"], ["updated_at", "2014-05-27 00:43:02.240620"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:02.245937"], ["name", "editor"], ["updated_at", "2014-05-27 00:43:02.245937"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:02.247735"], ["name", "admin"], ["updated_at", "2014-05-27 00:43:02.247735"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:43:02.252826"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:43:02.252826"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:43:02.255686"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:43:02.255686"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:43:02.257626"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:43:02.257626"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:43:02.259449"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:43:02.259449"]]  (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.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.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-05-27 00:43:02.286635"], ["role_id", 1], ["updated_at", "2014-05-27 00:43:02.286635"]]  (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", 2], ["created_at", "2014-05-27 00:43:02.294353"], ["role_id", 2], ["updated_at", "2014-05-27 00:43:02.294353"]]  (1.2ms) 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-05-27 00:43:02.298047"], ["role_id", 3], ["updated_at", "2014-05-27 00:43:02.298047"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:43:02.301668"], ["role_id", 2], ["updated_at", "2014-05-27 00:43:02.301668"]]  (1.0ms) 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-05-27 00:43:02.306903"], ["role_id", 3], ["updated_at", "2014-05-27 00:43:02.306903"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:43:02.309146"], ["role_id", 3], ["updated_at", "2014-05-27 00:43:02.309146"]]  (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", 4], ["created_at", "2014-05-27 00:43:02.312762"], ["role_id", 3], ["updated_at", "2014-05-27 00:43:02.312762"]]  (1.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:02.332038"], ["name", "writer"], ["updated_at", "2014-05-27 00:43:02.332038"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:02.334009"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:43:02.334009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 13], ["created_at", "2014-05-27 00:43:02.338087"], ["role_id", 10], ["updated_at", "2014-05-27 00:43:02.338087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:43:02.353525"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$zqaI0qSYhW9bio0MkeBXRO9FXOX/ECmkk9bbsu0zDLo3csaoos.Fm"], ["role_id", 10], ["updated_at", "2014-05-27 00:43:02.353525"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:43:02.353525"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$zqaI0qSYhW9bio0MkeBXRO9FXOX/ECmkk9bbsu0zDLo3csaoos.Fm"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:43:02.353525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:02.372782"], ["name", "writer"], ["updated_at", "2014-05-27 00:43:02.372782"]]  (0.0ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:02.396319"], ["name", "writer"], ["updated_at", "2014-05-27 00:43:02.396319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:02.398087"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:43:02.398087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 13], ["created_at", "2014-05-27 00:43:02.400516"], ["role_id", 10], ["updated_at", "2014-05-27 00:43:02.400516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:43:02.403379"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$BSRYYa1GGjOvQ93Y6u7eG.pmZtt6dRu1.xVNhiQqL/Ns0Zvf/3mbG"], ["role_id", 10], ["updated_at", "2014-05-27 00:43:02.403379"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user3@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:43:02.403379"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$BSRYYa1GGjOvQ93Y6u7eG.pmZtt6dRu1.xVNhiQqL/Ns0Zvf/3mbG"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:43:02.403379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:02.413672"], ["name", "writer"], ["updated_at", "2014-05-27 00:43:02.413672"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:34.106147"], ["name", "writer"], ["updated_at", "2014-05-27 00:43:34.106147"]]  (2.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:34.111736"], ["name", "editor"], ["updated_at", "2014-05-27 00:43:34.111736"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:34.113642"], ["name", "admin"], ["updated_at", "2014-05-27 00:43:34.113642"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:43:34.118645"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:43:34.118645"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:43:34.121379"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:43:34.121379"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:43:34.123353"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:43:34.123353"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:43:34.125313"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:43:34.125313"]]  (0.7ms) commit 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 (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:43:34.144160"], ["role_id", 1], ["updated_at", "2014-05-27 00:43:34.144160"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:43:34.149034"], ["role_id", 2], ["updated_at", "2014-05-27 00:43:34.149034"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:43:34.151141"], ["role_id", 3], ["updated_at", "2014-05-27 00:43:34.151141"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:43:34.153189"], ["role_id", 2], ["updated_at", "2014-05-27 00:43:34.153189"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:43:34.155081"], ["role_id", 3], ["updated_at", "2014-05-27 00:43:34.155081"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:43:34.157630"], ["role_id", 3], ["updated_at", "2014-05-27 00:43:34.157630"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:43:34.162857"], ["role_id", 3], ["updated_at", "2014-05-27 00:43:34.162857"]]  (1.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:34.184058"], ["name", "writer"], ["updated_at", "2014-05-27 00:43:34.184058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:34.185833"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:43:34.185833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 17], ["created_at", "2014-05-27 00:43:34.188415"], ["role_id", 13], ["updated_at", "2014-05-27 00:43:34.188415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:43:34.199169"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$7KI5nW1ljE3RlyfS2PNvCOhONsY3jKRwX8esVPLdDvrC1ehafShKS"], ["role_id", 13], ["updated_at", "2014-05-27 00:43:34.199169"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:43:34.199169"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$7KI5nW1ljE3RlyfS2PNvCOhONsY3jKRwX8esVPLdDvrC1ehafShKS"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:43:34.199169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:34.214962"], ["name", "writer"], ["updated_at", "2014-05-27 00:43:34.214962"]]  (0.0ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:34.234960"], ["name", "writer"], ["updated_at", "2014-05-27 00:43:34.234960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:34.236571"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:43:34.236571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 17], ["created_at", "2014-05-27 00:43:34.238182"], ["role_id", 13], ["updated_at", "2014-05-27 00:43:34.238182"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:43:34.239983"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$9SySItHgWlJy9H/7v489vunbrGnFBGoZhlj8bdIzyawtdOrGWakH2"], ["role_id", 13], ["updated_at", "2014-05-27 00:43:34.239983"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user3@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:43:34.239983"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$9SySItHgWlJy9H/7v489vunbrGnFBGoZhlj8bdIzyawtdOrGWakH2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:43:34.239983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:34.248742"], ["name", "writer"], ["updated_at", "2014-05-27 00:43:34.248742"]]  (0.0ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:34.257523"], ["name", "writer"], ["updated_at", "2014-05-27 00:43:34.257523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:34.259155"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:43:34.259155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 17], ["created_at", "2014-05-27 00:43:34.260787"], ["role_id", 13], ["updated_at", "2014-05-27 00:43:34.260787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:43:34.262608"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$f0AOOXw.4uhI7gTV5XMUSu/8AYb0NUa8NfakcmuEzKMe5iU8PHXlq"], ["role_id", 13], ["updated_at", "2014-05-27 00:43:34.262608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:34.266405"], ["name", "writer"], ["updated_at", "2014-05-27 00:43:34.266405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:34.288071"], ["name", "writer"], ["updated_at", "2014-05-27 00:43:34.288071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:34.289699"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:43:34.289699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 17], ["created_at", "2014-05-27 00:43:34.291334"], ["role_id", 13], ["updated_at", "2014-05-27 00:43:34.291334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:43:34.293118"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$pg2fq37dE.qnFiRVZngVUe0xEMg435jXm/Y8YdIsNyoiXDAWCv29G"], ["role_id", 13], ["updated_at", "2014-05-27 00:43:34.293118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:43:34.296549"], ["name", "writer"], ["updated_at", "2014-05-27 00:43:34.296549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 13]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:19.996743"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:19.996743"]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:20.002823"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:20.002823"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:20.004671"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:20.004671"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:20.009654"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:45:20.009654"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:20.012572"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:20.012572"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:20.014579"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:20.014579"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:20.016380"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:20.016380"]]  (0.7ms) commit 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 (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:45:20.035901"], ["role_id", 1], ["updated_at", "2014-05-27 00:45:20.035901"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:45:20.040843"], ["role_id", 2], ["updated_at", "2014-05-27 00:45:20.040843"]]  (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-05-27 00:45:20.043869"], ["role_id", 3], ["updated_at", "2014-05-27 00:45:20.043869"]]  (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-05-27 00:45:20.046773"], ["role_id", 2], ["updated_at", "2014-05-27 00:45:20.046773"]]  (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-05-27 00:45:20.050497"], ["role_id", 3], ["updated_at", "2014-05-27 00:45:20.050497"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:45:20.054890"], ["role_id", 3], ["updated_at", "2014-05-27 00:45:20.054890"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:45:20.059748"], ["role_id", 3], ["updated_at", "2014-05-27 00:45:20.059748"]]  (1.5ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:20.083891"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:20.083891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:20.085873"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:20.085873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 21], ["created_at", "2014-05-27 00:45:20.088525"], ["role_id", 16], ["updated_at", "2014-05-27 00:45:20.088525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:20.099039"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$nH3m8oV3MtOgfgAg9ksfI.7gi1aonWFU6fG3E83FKAn83H5abV2sC"], ["role_id", 16], ["updated_at", "2014-05-27 00:45:20.099039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:20.102629"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:20.102629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:20.114319"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:20.114319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:20.115855"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:20.115855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 21], ["created_at", "2014-05-27 00:45:20.117340"], ["role_id", 16], ["updated_at", "2014-05-27 00:45:20.117340"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:20.119142"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$ZO1QFxZPdARFkjcC6OJ14eczcN8ExL46JCqZ238Q2KCkfcAwrw/H2"], ["role_id", 16], ["updated_at", "2014-05-27 00:45:20.119142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:20.123117"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:20.123117"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 16]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:20.144544"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:20.144544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:20.146074"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:20.146074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 21], ["created_at", "2014-05-27 00:45:20.147908"], ["role_id", 16], ["updated_at", "2014-05-27 00:45:20.147908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:20.150978"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$UdMssQt4QWOaS9UnrNOeneKEtG8yzJD84ZfiWCIicrJ5Ul7s5iZ7G"], ["role_id", 16], ["updated_at", "2014-05-27 00:45:20.150978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:20.156326"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:20.156326"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:20.174353"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:20.174353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:20.175856"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:20.175856"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 21], ["created_at", "2014-05-27 00:45:20.177383"], ["role_id", 16], ["updated_at", "2014-05-27 00:45:20.177383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:20.179109"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$6..5r5F16yyC0Q4CEedAGuNFJRSel/RgwqZJvR8MexIl9Oafpk.Li"], ["role_id", 16], ["updated_at", "2014-05-27 00:45:20.179109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:20.182468"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:20.182468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 16]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.794536"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:24.794536"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.799178"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:24.799178"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.801084"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:24.801084"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:24.806158"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:45:24.806158"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:24.808996"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:24.808996"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:24.810956"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:24.810956"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:24.812860"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:24.812860"]]  (0.7ms) commit 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 (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:45:24.829581"], ["role_id", 1], ["updated_at", "2014-05-27 00:45:24.829581"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:45:24.834461"], ["role_id", 2], ["updated_at", "2014-05-27 00:45:24.834461"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:45:24.836472"], ["role_id", 3], ["updated_at", "2014-05-27 00:45:24.836472"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:45:24.838474"], ["role_id", 2], ["updated_at", "2014-05-27 00:45:24.838474"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:45:24.840415"], ["role_id", 3], ["updated_at", "2014-05-27 00:45:24.840415"]]  (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", 3], ["created_at", "2014-05-27 00:45:24.842325"], ["role_id", 3], ["updated_at", "2014-05-27 00:45:24.842325"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:45:24.844781"], ["role_id", 3], ["updated_at", "2014-05-27 00:45:24.844781"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.859201"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:24.859201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.861014"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:24.861014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:24.863499"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.863499"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.864784"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:24.864784"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:24.866091"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.866091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.867245"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:24.867245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:24.868439"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.868439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.869481"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:24.869481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:24.870848"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.870848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:24.881160"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$OJu8NaEp28z2zJ.3NtsWEecYX/cU6eV6UC6OBW.E0sRlaiTBTehgC"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.881160"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:24.881160"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$OJu8NaEp28z2zJ.3NtsWEecYX/cU6eV6UC6OBW.E0sRlaiTBTehgC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:24.881160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.896401"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:24.896401"]]  (0.0ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.918551"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:24.918551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.920158"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:24.920158"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:24.921840"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.921840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.923042"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:24.923042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:24.924279"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.924279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.926253"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:24.926253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:24.928467"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.928467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.930441"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:24.930441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:24.932475"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.932475"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:24.935266"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$k11q832mGE9xwONKRbyfxOerL6VpbbBim.XkVXoxMe0tG37DQ2q7S"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.935266"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user3@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:24.935266"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$k11q832mGE9xwONKRbyfxOerL6VpbbBim.XkVXoxMe0tG37DQ2q7S"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:24.935266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.941620"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:24.941620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.948646"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:24.948646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.950166"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:24.950166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:24.951925"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.951925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.953222"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:24.953222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:24.954555"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.954555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.955702"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:24.955702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:24.957538"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.957538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.959491"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:24.959491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:24.961977"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.961977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:24.965154"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$4reSYCQA0Wd/zMylUxBciOuSc1ekxLXkIqOuCIc/Zm8A4NvpaCf4q"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.965154"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user5@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:24.965154"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$4reSYCQA0Wd/zMylUxBciOuSc1ekxLXkIqOuCIc/Zm8A4NvpaCf4q"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:24.965154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.971363"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:24.971363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.977155"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:24.977155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.978655"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:24.978655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:24.980204"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.980204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.981363"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:24.981363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:24.982575"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.982575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.983662"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:24.983662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:24.985448"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.985448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.986638"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:24.986638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:24.987882"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.987882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:24.989572"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$LWtl.TrEDa/3cnjPahfFJuv1xE4MfQiygF35lk.JVnfkh7rbe/xK2"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:24.989572"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user7@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:24.989572"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$LWtl.TrEDa/3cnjPahfFJuv1xE4MfQiygF35lk.JVnfkh7rbe/xK2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:24.989572"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:24.999800"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:24.999800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.001319"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.001319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.002895"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.002895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.004086"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.004086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:25.005372"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.005372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.006528"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:25.006528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:25.008449"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.008449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.010236"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:25.010236"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:25.011845"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.011845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.013811"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$uIC0UnICFhD9YVJGwjPGQeSrYzKoP6XDgxOxM6fjA23KQb8znqr5O"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.013811"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user8@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:25.013811"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$uIC0UnICFhD9YVJGwjPGQeSrYzKoP6XDgxOxM6fjA23KQb8znqr5O"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:25.013811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.022926"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:25.022926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.024535"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.024535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.026641"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.026641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.028724"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.028724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:25.032412"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.032412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.034499"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:25.034499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:25.036786"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.036786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.038578"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:25.038578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:25.039945"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.039945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.041776"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$onhbrdOfwAqTc4Mgad37Luyt.qiBk2cCPz.qhUgzXOD0dvL8SWbzS"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.041776"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user9@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:25.041776"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$onhbrdOfwAqTc4Mgad37Luyt.qiBk2cCPz.qhUgzXOD0dvL8SWbzS"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:25.041776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.050950"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:25.050950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.052565"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.052565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.054346"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.054346"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.055797"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.055797"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:25.057509"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.057509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.059896"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:25.059896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:25.062954"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.062954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.065379"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:25.065379"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:25.066998"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.066998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.069182"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$kXYjH.RLqqeWSkb/0FIyCeEly6Nx8DqH184v1RT8ZnqIsL8ZTX4HK"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.069182"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user10@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:25.069182"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$kXYjH.RLqqeWSkb/0FIyCeEly6Nx8DqH184v1RT8ZnqIsL8ZTX4HK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:25.069182"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.077945"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:25.077945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.079527"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.079527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.081125"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.081125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.082432"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.082432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:25.083684"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.083684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.085121"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:25.085121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:25.086554"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.086554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.087720"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:25.087720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:25.088968"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.088968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.090732"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$Gu2ckPWnC3VNKKDxCsyTIOfjUhtxKHrI8K0X/e2t2c9Pn.iCBG5Ri"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.090732"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user11@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:25.090732"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$Gu2ckPWnC3VNKKDxCsyTIOfjUhtxKHrI8K0X/e2t2c9Pn.iCBG5Ri"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:25.090732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.100105"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:25.100105"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.101707"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.101707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.103326"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.103326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.104566"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.104566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:25.106060"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.106060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.108490"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$iXYDBl2GoNqbonjWwRo/kOwRV2bHQTNl9VwQnLTjjvjClYinasn7m"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.108490"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user12@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:25.108490"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$iXYDBl2GoNqbonjWwRo/kOwRV2bHQTNl9VwQnLTjjvjClYinasn7m"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:25.108490"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.130152"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:25.130152"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.139576"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:25.139576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.141407"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.141407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.143223"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.143223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.144530"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.144530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:25.146373"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.146373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.148385"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$NaCZLDPsjh8CYyze70mvJeIR8bGCEBWXjn1.0gRM13axmINks88G2"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.148385"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user14@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:25.148385"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$NaCZLDPsjh8CYyze70mvJeIR8bGCEBWXjn1.0gRM13axmINks88G2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:25.148385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.156313"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:25.156313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.164118"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:25.164118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.165828"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.165828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.168139"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.168139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.169386"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.169386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:25.171473"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.171473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.174446"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$C/duUSxBnHhiLWuIQRg6M.egzZkqGJbMjWm7xHRQYtk55NH3ZqWcC"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.174446"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user16@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:25.174446"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$C/duUSxBnHhiLWuIQRg6M.egzZkqGJbMjWm7xHRQYtk55NH3ZqWcC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:25.174446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.183437"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:25.183437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.189791"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:25.189791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.191408"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.191408"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.193032"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.193032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.194258"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.194258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:25.195603"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.195603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.197902"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$FpTE7GBhQaeyQ3p2SfmEkOxQGu6TXtouOAdwoswUA.X.hMe7yS1ua"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.197902"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user18@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:25.197902"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$FpTE7GBhQaeyQ3p2SfmEkOxQGu6TXtouOAdwoswUA.X.hMe7yS1ua"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:25.197902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.209455"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:25.209455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.211069"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.211069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.212679"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.212679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.214020"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.214020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:25.215347"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.215347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.217597"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$J4itzYZ8lDvm9dZn9y9jGuXsQOiRdgzNrVoAikVWpLKZ9pvEnimTW"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.217597"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user19@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:25.217597"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$J4itzYZ8lDvm9dZn9y9jGuXsQOiRdgzNrVoAikVWpLKZ9pvEnimTW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:25.217597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.228316"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:25.228316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.231133"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.231133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.233177"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.233177"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.235018"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.235018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:25.237354"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.237354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.239986"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$UOvSHhl3R/F/tfG8TO2XPuqjWdw1VajkMHXIfH5rfznMb82QQS8AW"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.239986"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user20@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:25.239986"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$UOvSHhl3R/F/tfG8TO2XPuqjWdw1VajkMHXIfH5rfznMb82QQS8AW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:25.239986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.249926"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:25.249926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.251459"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.251459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.253071"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.253071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.254309"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.254309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:25.255574"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.255574"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.258469"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$/10bmwGKJjIOPZGzEdETUu9zPboY32dUPj4giOJXtpWbr9kfdru7u"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.258469"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user21@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:25.258469"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$/10bmwGKJjIOPZGzEdETUu9zPboY32dUPj4giOJXtpWbr9kfdru7u"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:25.258469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.269746"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:25.269746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.271674"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.271674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.273486"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.273486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.275005"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.275005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:25.277367"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.277367"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.280661"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$AFsMS0AkXc0DxPvTM7vifOWYB3uo/elJ9X2jaPi63u7QAXzJ96L6."], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.280661"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user22@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:25.280661"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$AFsMS0AkXc0DxPvTM7vifOWYB3uo/elJ9X2jaPi63u7QAXzJ96L6."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:25.280661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.291857"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:25.291857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.293575"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.293575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.295269"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.295269"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.297197"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$XK5t4MLfAFsroJVJZHyfp.L5uwlPfNlWC2fB3UEQy0P3HpKXdG1xy"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.297197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.301299"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:25.301299"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 19]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.312380"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:25.312380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.315315"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.315315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.317295"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.317295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.319901"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$LTcrtHNjpsMBBc963L1/T..uGlPeGw5FCUb3pp/V7uffSAjHLEZiO"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.319901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.323365"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:25.323365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 19]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.330802"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:25.330802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.332362"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.332362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.333923"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.333923"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.335788"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$1m.zCxbZVCGCf5U/cW0WzOqddaYQbhpFoUl9Zmj/DnIdQCXyLu38a"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.335788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.339993"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:25.339993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.347509"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:25.347509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.349156"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.349156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.350837"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.350837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.352742"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$dSozp4V2D16xj6aIou7qku651tBo8254FdrmkbHfjFCpzOTbkGqvK"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.352742"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 19]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.363111"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:25.363111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.365608"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.365608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.367429"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.367429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.369746"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$pga6ee0.OHLbR/8Y1a68R.8HmgZ7OjD5253QkM.FSqBkCGtxsQkFC"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.369746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.376441"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:25.376441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.378086"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.378086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.379945"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.379945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.382017"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$KlLvj0arPFzLqCskZUDkn.G3VStDyqUDGNUVDxKQnhAdkyU1D/JRO"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.382017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.389254"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:25.389254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.390949"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.390949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.392895"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.392895"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.396615"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$oliSvCX6OjmC.o82h.ybZeT9nzA1/0vIxdckLO67d3DNJIJxjS5xu"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.396615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.404029"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:25.404029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.405702"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:25.405702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:25.407307"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.407307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.409191"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$GM/RleKjdcXe1fHqwKJ8SuhKCN92xsP/YWgI5PWJRrfntn4EeImA6"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.409191"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.420033"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 00:45:25.420033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:25.424927"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:25.424927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:25.428563"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$jLVtpWMwRYCLvIczsdizNuhAqLbkqeX3foFeYc0TV5dRXDISf7LSq"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:25.428563"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user34@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:25.428563"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$jLVtpWMwRYCLvIczsdizNuhAqLbkqeX3foFeYc0TV5dRXDISf7LSq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:25.428563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:27 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (34.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 259ms (Views: 240.0ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 19:45:27 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 19:45:27 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user34@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:27.994269"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:27.994269"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:27.995577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49454/ Completed 302 Found in 15ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:28 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (16.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (10.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (13.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.5ms) Completed 200 OK in 46ms (Views: 43.3ms | ActiveRecord: 1.4ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:28.116242"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:28.116242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:28.118190"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$CgCpwKvtELYDdCU79Glulu00fjOR3ZJvVBYd4.PQeykn2/g.KrEwm"], ["role_id", 20], ["updated_at", "2014-05-27 00:45:28.118190"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:28.128328"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:45:28.128328"], ["user_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 19:45:28 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (4.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (15.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (39.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (44.9ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 67ms (Views: 56.9ms | ActiveRecord: 1.8ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 19:45:28 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 19:45:28 -0500  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:29.588544"], ["title", "Site Title 2"], ["updated_at", "2014-05-27 00:45:29.588544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:29.591909"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:29.591909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:29.594060"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$OCtvzYzGouYyMNPqikbUVO/hIHnUo3EtfC0lJQf17NS6hfuVq6tqC"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:29.594060"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user36@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:29.594060"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$OCtvzYzGouYyMNPqikbUVO/hIHnUo3EtfC0lJQf17NS6hfuVq6tqC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:29.594060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user36@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:29.710288"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:29.710288"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:29.710777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49454/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:29 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:29.787686"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:29.787686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user37@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:29.789674"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$NA/9s78dNcgvR9bPZC9il.mlMUBBlC9bZsaEzgOEpzOrkNcdei/62"], ["role_id", 20], ["updated_at", "2014-05-27 00:45:29.789674"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:29.794389"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:45:29.794389"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:45:29 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.9ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (7.1ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 18.0ms | ActiveRecord: 0.9ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-26 19:45:30 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 8ms (ActiveRecord: 0.5ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:30.783231"], ["title", "Site Title 3"], ["updated_at", "2014-05-27 00:45:30.783231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:30.786441"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:30.786441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:30.788420"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$5KJwd1FLqD5..UmyGcnhQ.ah3vC5nLbaJX3bLgNG9R2Uw4AJkif96"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:30.788420"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user38@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:30.788420"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$5KJwd1FLqD5..UmyGcnhQ.ah3vC5nLbaJX3bLgNG9R2Uw4AJkif96"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:30.788420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user38@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:30.807785"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:30.807785"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:30.808835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:30 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.1ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (53.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (55.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 62ms (Views: 60.5ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:30.889691"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:30.889691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user39@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:30.891676"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$ot5fvwh2aD81r8Fezf6Jju0v8n4meKmCj73NU2osCr75/M9EpvLHe"], ["role_id", 20], ["updated_at", "2014-05-27 00:45:30.891676"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:30.896860"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:45:30.896860"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:30.903078"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:30.903078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:30.905559"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$p.092CQ36n9YpDHfzGny8.xD0O2.sNewWalSlzJnALTuN72FHjmZC"], ["role_id", 21], ["updated_at", "2014-05-27 00:45:30.905559"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:30.910484"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:45:30.910484"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:45:30 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (3.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (8.4ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 16.7ms | ActiveRecord: 1.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:30.948963"], ["title", "Site Title 4"], ["updated_at", "2014-05-27 00:45:30.948963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:30.952258"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:30.952258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:30.954394"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$/SIPSxp0K6SG/9A4JbKq0.2vsDPuLDfmuB1sBWhSA4PdxLWRvzMBa"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:30.954394"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user41@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:30.954394"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$/SIPSxp0K6SG/9A4JbKq0.2vsDPuLDfmuB1sBWhSA4PdxLWRvzMBa"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:30.954394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user41@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:31.065922"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:31.065922"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:31.066866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49454/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45: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::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (3.1ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 12.9ms | ActiveRecord: 1.1ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:45:31 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (3.1ms) 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.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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.7ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:45:31 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:31.252797"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:45:31.252797"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (3.8ms) Completed 200 OK in 31ms (Views: 16.7ms | ActiveRecord: 0.8ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.172924"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:32.172924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user42@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.175140"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$DZH2KB1N6qOPt5HKbCjff./TmYPqJScOWMBX/F/I4gN2YD6YDBs0a"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:32.175140"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user42@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:32.175140"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$DZH2KB1N6qOPt5HKbCjff./TmYPqJScOWMBX/F/I4gN2YD6YDBs0a"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:32.175140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.190225"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-27 00:45:32.190225"], ["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::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:32.197460"], ["updated_at", "2014-05-27 00:45:32.197460"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #1. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.206657"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.212526"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:32.212526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user43@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.215722"], ["email", "user43@example.com"], ["encrypted_password", "$2a$04$WSIMjHKjqGjyfbvgTdh/DOjO6GXzROHBfTAQ0wcM9s7aNamjBeJ76"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:32.215722"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user43@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:32.215722"], ["email", "user43@example.com"], ["encrypted_password", "$2a$04$WSIMjHKjqGjyfbvgTdh/DOjO6GXzROHBfTAQ0wcM9s7aNamjBeJ76"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:32.215722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.226911"], ["name", "tag1"], ["updated_at", "2014-05-27 00:45:32.226911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.229473"], ["name", "tag2"], ["updated_at", "2014-05-27 00:45:32.229473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.236831"], ["excerpt", "Post #25. It was a dark and stormy night."], ["published", "t"], ["title", "Post #25"], ["updated_at", "2014-05-27 00:45:32.236831"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.237930"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:45:32.237930"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.238814"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:45:32.238814"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #25. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:32.240869"], ["updated_at", "2014-05-27 00:45:32.240869"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #25. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.245367"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:32.245367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user44@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.247375"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$zJnRiIebMjuQiOdcwRar6.DpZUtYwuJpvivaa4rpt3MYYzGK10inC"], ["role_id", 20], ["updated_at", "2014-05-27 00:45:32.247375"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.253828"], ["excerpt", "Post #26. It was a dark and stormy night."], ["published", "t"], ["title", "Post #26"], ["updated_at", "2014-05-27 00:45:32.253828"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.254846"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-27 00:45:32.254846"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #26. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:32.257004"], ["updated_at", "2014-05-27 00:45:32.257004"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #26. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 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" WHERE "storytime_tags"."name" = 'tag1' GROUP BY storytime_taggings.tag_id LIMIT 1 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" WHERE "storytime_tags"."name" = 'tag2' GROUP BY storytime_taggings.tag_id LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.264526"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:32.264526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user45@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.269062"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$z/YefrltW2L5uD/79ADmmuoGaltSdtP1syIvT.JUO5r5waPbc/.PK"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:32.269062"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user45@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:32.269062"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$z/YefrltW2L5uD/79ADmmuoGaltSdtP1syIvT.JUO5r5waPbc/.PK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:32.269062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.276825"], ["name", "tag1"], ["updated_at", "2014-05-27 00:45:32.276825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.0ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.278668"], ["name", "tag2"], ["updated_at", "2014-05-27 00:45:32.278668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.0ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.281471"], ["excerpt", "Post #27. It was a dark and stormy night."], ["published", "t"], ["title", "Post #27"], ["updated_at", "2014-05-27 00:45:32.281471"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.282288"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:45:32.282288"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.283049"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:45:32.283049"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #27. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:32.285051"], ["updated_at", "2014-05-27 00:45:32.285051"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #27. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.289462"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:32.289462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user46@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.291162"], ["email", "user46@example.com"], ["encrypted_password", "$2a$04$ksapbWITyNR44P/udfYNdeKiTltjxort30xaXbdpaaLR1S.x0Jp86"], ["role_id", 20], ["updated_at", "2014-05-27 00:45:32.291162"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.294737"], ["excerpt", "Post #28. It was a dark and stormy night."], ["published", "t"], ["title", "Post #28"], ["updated_at", "2014-05-27 00:45:32.294737"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.295528"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-27 00:45:32.295528"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #28. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:32.297641"], ["updated_at", "2014-05-27 00:45:32.297641"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #28. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 2]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.0ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.314082"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:32.314082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user47@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.317856"], ["email", "user47@example.com"], ["encrypted_password", "$2a$04$pV60UjfXt8v1AlxqtlIOqe9F0ihvwOCuxlT2uuZhnOtHMrQ6oFNIa"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:32.317856"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.4ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user47@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:32.317856"], ["email", "user47@example.com"], ["encrypted_password", "$2a$04$pV60UjfXt8v1AlxqtlIOqe9F0ihvwOCuxlT2uuZhnOtHMrQ6oFNIa"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:32.317856"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.324856"], ["excerpt", "Post #29. It was a dark and stormy night."], ["published", "t"], ["title", "Post #29"], ["updated_at", "2014-05-27 00:45:32.324856"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #29. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:32.326755"], ["updated_at", "2014-05-27 00:45:32.326755"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #29. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.329958"], ["name", "tag1"], ["updated_at", "2014-05-27 00:45:32.329958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.331793"], ["name", "tag2"], ["updated_at", "2014-05-27 00:45:32.331793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.333230"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:45:32.333230"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.334335"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:45:32.334335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.340235"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:32.340235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.341944"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:32.341944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:32.343639"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:32.343639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.344868"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:32.344868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:32.346227"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:32.346227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.348371"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:32.348371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:32.349936"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:32.349936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.351191"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:32.351191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:32.352663"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:32.352663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user48@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.354552"], ["email", "user48@example.com"], ["encrypted_password", "$2a$04$PDrwTMP3eL9W8NpAX3joVOZLCLvBfcg7PTMNAJ0yW7sbpEnTIjVHa"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:32.354552"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user48@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:32.354552"], ["email", "user48@example.com"], ["encrypted_password", "$2a$04$PDrwTMP3eL9W8NpAX3joVOZLCLvBfcg7PTMNAJ0yW7sbpEnTIjVHa"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:32.354552"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.359118"], ["title", "Site Title 5"], ["updated_at", "2014-05-27 00:45:32.359118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user48@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user48@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:32.467803"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:32.467803"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:32.468277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49454/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45: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::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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.4ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (3.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.549876"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:32.549876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user49@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.551820"], ["email", "user49@example.com"], ["encrypted_password", "$2a$04$pXlN4nQ/G0kcEDG.e7L/k.lxVaIPD8Se6xLR2Ax.fnZmEJGWdejXe"], ["role_id", 20], ["updated_at", "2014-05-27 00:45:32.551820"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.555048"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-27 00:45:32.555048"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:32.556911"], ["updated_at", "2014-05-27 00:45:32.556911"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.560309"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.563590"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:32.563590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user50@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.565640"], ["email", "user50@example.com"], ["encrypted_password", "$2a$04$uBy/bB0vmB8Rb1mbwjDei.gvRnnTBAl3JzicO6OH/LO28f3f5DoNO"], ["role_id", 21], ["updated_at", "2014-05-27 00:45:32.565640"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.570863"], ["published", "t"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-27 00:45:32.570863"], ["user_id", 3]] 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::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:32.573749"], ["updated_at", "2014-05-27 00:45:32.573749"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 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::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" = 'page-3' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.579889"], ["slug", "page-3"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:32.584822"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:32.584822"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user51@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.587618"], ["email", "user51@example.com"], ["encrypted_password", "$2a$04$aHnqnqhOTrBmPdA.UNjC4.53pZTvWy6Q5YopDgw3jFans.KxRWBjS"], ["role_id", 22], ["updated_at", "2014-05-27 00:45:32.587618"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.593307"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-27 00:45:32.593307"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:32.596100"], ["updated_at", "2014-05-27 00:45:32.596100"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #4. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-4' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:32.601127"], ["slug", "page-4"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:45:32 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (6.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (8.9ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 19.2ms | ActiveRecord: 0.9ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-2" for 127.0.0.1 at 2014-05-26 19:45:33 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-2"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.8ms) 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" = 'page-2' 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.1ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) 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::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 24ms (ActiveRecord: 2.0ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:33.703213"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:33.703213"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:33.705836"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:33.705836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:33.709290"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:33.709290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:33.713410"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:33.713410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:33.717692"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:33.717692"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:33.721129"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:33.721129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:33.723656"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:33.723656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:33.725806"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:33.725806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:33.734112"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:33.734112"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user52@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:33.738130"], ["email", "user52@example.com"], ["encrypted_password", "$2a$04$JBngTzd1ybCz5CXNuiIPA.2dHfpt4RS6Uzz5aBQ3BSt65cPOsyAXq"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:33.738130"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user52@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:33.738130"], ["email", "user52@example.com"], ["encrypted_password", "$2a$04$JBngTzd1ybCz5CXNuiIPA.2dHfpt4RS6Uzz5aBQ3BSt65cPOsyAXq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:33.738130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:33.752182"], ["title", "Site Title 6"], ["updated_at", "2014-05-27 00:45:33.752182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user52@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.4ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user52@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:33.779346"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:33.779346"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:33.781448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.8ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:33 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (4.3ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (12.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 24.8ms | ActiveRecord: 1.4ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:33.841413"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:33.841413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user53@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:33.844119"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$NweCizXyiuq4eeKrQ4kJ5O0ywrKYCIYwS/aFTuLU6xy10OtP41C2a"], ["role_id", 20], ["updated_at", "2014-05-27 00:45:33.844119"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:33.848367"], ["published", "f"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-27 00:45:33.848367"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:33.850236"], ["updated_at", "2014-05-27 00:45:33.850236"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] 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" = 'page-5' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:33.853611"], ["slug", "page-5"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-5/edit" for 127.0.0.1 at 2014-05-26 19:45:33 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-5"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-5' 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.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"]] 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", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (6.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", 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_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (13.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (27.5ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 37.2ms | ActiveRecord: 1.8ms) Started PATCH "/dashboard/pages/page-5" for 127.0.0.1 at 2014-05-26 19:45:33 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Update Page", "id"=>"page-5"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.4ms) 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" = 'page-5' 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.1ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-27 00:45:33.925436"]] 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", 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) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:45:33.928800"], ["updated_at", "2014-05-27 00:45:33.928800"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:33.931661"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 23ms (ActiveRecord: 2.1ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-26 19:45:33 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (2.7ms) 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"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (9.2ms) 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"]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (9.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (22.0ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 35ms (Views: 27.6ms | ActiveRecord: 1.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.014772"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:34.014772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.016536"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:34.016536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:34.018457"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:34.018457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.019799"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:34.019799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:34.021879"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:34.021879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.024606"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:34.024606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:34.026852"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:34.026852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.028724"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:34.028724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:34.030756"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:34.030756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user54@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.032937"], ["email", "user54@example.com"], ["encrypted_password", "$2a$04$AwX41fgFuedledIzUfFzS.FhxUMOUJyCpRU1M6qBsHdb74muPTzR2"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:34.032937"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user54@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:34.032937"], ["email", "user54@example.com"], ["encrypted_password", "$2a$04$AwX41fgFuedledIzUfFzS.FhxUMOUJyCpRU1M6qBsHdb74muPTzR2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:34.032937"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.038426"], ["title", "Site Title 7"], ["updated_at", "2014-05-27 00:45:34.038426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user54@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user54@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:34.062148"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:34.062148"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:34.062794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:34 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.6ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 13.5ms | ActiveRecord: 1.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-26 19:45:34 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (2.1ms) 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/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (11.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/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 Exists (0.1ms) SELECT 1 AS one 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 36ms (Views: 24.3ms | ActiveRecord: 1.6ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:45:34 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Create Page"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.160545"], ["published", "f"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-27 00:45:34.160545"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:45:34.163520"], ["updated_at", "2014-05-27 00:45:34.163520"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.167282"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 19ms (ActiveRecord: 1.7ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-26 19:45:34 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/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 "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (2.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", 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.9ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (13.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (20.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 29.6ms | ActiveRecord: 2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.263186"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:34.263186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.265964"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:34.265964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:34.269520"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:34.269520"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.272135"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:34.272135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:34.274686"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:34.274686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.276685"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:34.276685"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:34.278876"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:34.278876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.280773"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:34.280773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:34.282701"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:34.282701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user55@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.284835"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$Rvb2tYEJiVJHAGVZaSd4HuJa5gVf4F8edf6Ejer/6VUilV4hdr5AK"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:34.284835"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user55@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:34.284835"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$Rvb2tYEJiVJHAGVZaSd4HuJa5gVf4F8edf6Ejer/6VUilV4hdr5AK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:34.284835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.289431"], ["title", "Site Title 8"], ["updated_at", "2014-05-27 00:45:34.289431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user55@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user55@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:34.305342"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:34.305342"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:34.305859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:34 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.349687"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:34.349687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user56@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.351969"], ["email", "user56@example.com"], ["encrypted_password", "$2a$04$sCVra2vURrwSDnuYktOybuLT5M.fnCz29A8pv/SeRNGBxAJYiZMJ."], ["role_id", 20], ["updated_at", "2014-05-27 00:45:34.351969"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.355583"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-27 00:45:34.355583"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:34.357509"], ["updated_at", "2014-05-27 00:45:34.357509"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-6' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.360894"], ["slug", "page-6"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.364254"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:34.364254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.366162"], ["email", "user57@example.com"], ["encrypted_password", "$2a$04$oUP65k3rrG6Xl4Wmo7Bauuw5puylf9MC/CzrDLX0hCGYW4ZKWLuJ6"], ["role_id", 21], ["updated_at", "2014-05-27 00:45:34.366162"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.369578"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-27 00:45:34.369578"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:34.371360"], ["updated_at", "2014-05-27 00:45:34.371360"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-7' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.374573"], ["slug", "page-7"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.377763"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:34.377763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user58@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.379507"], ["email", "user58@example.com"], ["encrypted_password", "$2a$04$Ibw6Zymyg1iqmG8jiocd4elKcBRfuc56HN8wsCdlL.EChayDI/lOC"], ["role_id", 22], ["updated_at", "2014-05-27 00:45:34.379507"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-8' 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" = 'page-8') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.382698"], ["published", "t"], ["slug", "page-8"], ["title", "Page #8"], ["updated_at", "2014-05-27 00:45:34.382698"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:34.384774"], ["updated_at", "2014-05-27 00:45:34.384774"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #8. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-8' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.388221"], ["slug", "page-8"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:45:34 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (5.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (5.7ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 12.8ms | ActiveRecord: 0.9ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.472094"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:34.472094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.474723"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:34.474723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:34.476965"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:34.476965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.478729"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:34.478729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:34.480334"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:34.480334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.481579"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:34.481579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:34.482983"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:34.482983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.484477"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:34.484477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:34.485859"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:34.485859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user59@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.487766"], ["email", "user59@example.com"], ["encrypted_password", "$2a$04$rrXNtMAZcUF51VSogiybjeinqu4909xb85e5ezuWmQbXQ5SST.RKG"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:34.487766"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user59@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:34.487766"], ["email", "user59@example.com"], ["encrypted_password", "$2a$04$rrXNtMAZcUF51VSogiybjeinqu4909xb85e5ezuWmQbXQ5SST.RKG"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:34.487766"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.493006"], ["title", "Site Title 9"], ["updated_at", "2014-05-27 00:45:34.493006"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user59@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.4ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user59@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:34.631801"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:34.631801"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:34.633042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49454/ Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:34 -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.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.6ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.726111"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:34.726111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user60@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.728577"], ["email", "user60@example.com"], ["encrypted_password", "$2a$04$Ddigq.sAxh3HtPN8wkQRM.6rXAWhbqcfuU1/Fq.Kd1rNKisUGhxi."], ["role_id", 20], ["updated_at", "2014-05-27 00:45:34.728577"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.733400"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:34.733400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user61@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.736280"], ["email", "user61@example.com"], ["encrypted_password", "$2a$04$p0bfvtTLwPLPP8mg4V.rqOzhfJysP3u4n.50dudGm6YGQpyO97kkS"], ["role_id", 21], ["updated_at", "2014-05-27 00:45:34.736280"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:34.739937"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:34.739937"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user62@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:34.742129"], ["email", "user62@example.com"], ["encrypted_password", "$2a$04$hWHuk.6/aK0HNa5RpTYZGO7weT7AOy86sB/msglIPviyNV6e1Rb1m"], ["role_id", 22], ["updated_at", "2014-05-27 00:45:34.742129"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:45:34 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '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::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 20]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 21]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 22]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (8.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (13.2ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 34ms (Views: 27.6ms | ActiveRecord: 1.2ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" DESC LIMIT 1 Started DELETE "/dashboard/users/4" for 127.0.0.1 at 2014-05-26 19:45:35 -0500 Processing by Storytime::Dashboard::UsersController#destroy as JS Parameters: {"id"=>"4"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 4]] 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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "storytime_users" WHERE "storytime_users"."id" = ? [["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 13ms (ActiveRecord: 1.1ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 4]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:35.925338"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:35.925338"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:35.927346"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:35.927346"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:35.929823"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:35.929823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:35.932237"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:35.932237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:35.934169"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:35.934169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:35.935634"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:35.935634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:35.937128"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:35.937128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:35.938546"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:35.938546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:35.939891"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:35.939891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user63@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:35.941749"], ["email", "user63@example.com"], ["encrypted_password", "$2a$04$TV7U1MzMss.HpgT2HVJXruHxaPF5dVkoQ/pidcSBsAAoSGAO9Mb4y"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:35.941749"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user63@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:35.941749"], ["email", "user63@example.com"], ["encrypted_password", "$2a$04$TV7U1MzMss.HpgT2HVJXruHxaPF5dVkoQ/pidcSBsAAoSGAO9Mb4y"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:35.941749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:35.949118"], ["title", "Site Title 10"], ["updated_at", "2014-05-27 00:45:35.949118"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:35 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:35 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user63@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user63@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:35.968807"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:35.968807"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:35.969910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:35 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (3.7ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 15.5ms | ActiveRecord: 1.2ms) Started GET "/dashboard/users/new" for 127.0.0.1 at 2014-05-26 19:45:36 -0500 Processing by Storytime::Dashboard::UsersController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]] Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/new.html.erb within layouts/storytime/dashboard (11.7ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 20.6ms | ActiveRecord: 0.8ms) Started POST "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:45:36 -0500 Processing by Storytime::Dashboard::UsersController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"new_user@example.com", "role_id"=>"1", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Create User"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '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]]  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'new_user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.049295"], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$dJ0H6mFdJDCAd.S6O0cpNuuKzOdA8CIEV8IyWyvh9HIRuBFyz4IM6"], ["role_id", 1], ["updated_at", "2014-05-27 00:45:36.049295"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/users Completed 302 Found in 11ms (ActiveRecord: 0.9ms) Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:45:36 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (3.3ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 9.3ms | ActiveRecord: 0.7ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.107359"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:36.107359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.109921"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.109921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:36.112398"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.112398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.114390"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.114390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:36.115980"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.115980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.117803"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:36.117803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:36.119576"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.119576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.121112"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:36.121112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:36.122694"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.122694"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user64@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.125495"], ["email", "user64@example.com"], ["encrypted_password", "$2a$04$n/9TADhdUN3wxtVJ3W2MDumJ38.FiZ0CTXaI3Izks.e751eyvV0Me"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.125495"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user64@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.125495"], ["email", "user64@example.com"], ["encrypted_password", "$2a$04$n/9TADhdUN3wxtVJ3W2MDumJ38.FiZ0CTXaI3Izks.e751eyvV0Me"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.125495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.132664"], ["title", "Site Title 11"], ["updated_at", "2014-05-27 00:45:36.132664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user64@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user64@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:36.148410"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:36.148410"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:36.148832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:36 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.181244"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.181244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user65@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.183448"], ["email", "user65@example.com"], ["encrypted_password", "$2a$04$D2wVAhUpxPgIOa5IRlRU2e4.Wzw9ear1ZpoFNZaUMgaNhRLpJN8xu"], ["role_id", 20], ["updated_at", "2014-05-27 00:45:36.183448"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users/2/edit" for 127.0.0.1 at 2014-05-26 19:45:36 -0500 Processing by Storytime::Dashboard::UsersController#edit as HTML Parameters: {"id"=>"2"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]] Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/edit.html.erb within layouts/storytime/dashboard (17.6ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 24.7ms | ActiveRecord: 0.9ms) Started PATCH "/dashboard/users/2" for 127.0.0.1 at 2014-05-26 19:45:36 -0500 Processing by Storytime::Dashboard::UsersController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"new_email@example.com", "role_id"=>"20"}, "commit"=>"Update User", "id"=>"2"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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]]  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'new_email@example.com' AND "storytime_users"."id" != 2) LIMIT 1 SQL (0.1ms) UPDATE "storytime_users" SET "email" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 2 [["email", "new_email@example.com"], ["updated_at", "2014-05-27 00:45:36.227087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/users Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:45:36 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 20]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (3.3ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 9.3ms | ActiveRecord: 0.7ms)  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.275208"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:36.275208"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.277528"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.277528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:36.279958"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.279958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.282217"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.282217"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:36.284094"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.284094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.285583"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:36.285583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:36.287125"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.287125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.288354"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:36.288354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:36.289851"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.289851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user66@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.292384"], ["email", "user66@example.com"], ["encrypted_password", "$2a$04$IWYZLEv2FCaNz8gmMrdIwu5ITv6URTHBrVTW1awZcsGl9AaqRcUl6"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.292384"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user66@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.292384"], ["email", "user66@example.com"], ["encrypted_password", "$2a$04$IWYZLEv2FCaNz8gmMrdIwu5ITv6URTHBrVTW1awZcsGl9AaqRcUl6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.292384"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.297969"], ["title", "Site Title 12"], ["updated_at", "2014-05-27 00:45:36.297969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user66@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user66@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:36.318841"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:36.318841"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:36.319384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:36 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.7ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (8.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 17ms (Views: 14.8ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.361059"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.361059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user67@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.364609"], ["email", "user67@example.com"], ["encrypted_password", "$2a$04$.cUMkErXx.tMDhEZsWCIgenVMZIQud3/0MD7C2eDo4lfDdfvFZcYy"], ["role_id", 20], ["updated_at", "2014-05-27 00:45:36.364609"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.368347"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.368347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user68@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.370538"], ["email", "user68@example.com"], ["encrypted_password", "$2a$04$n/.JcG3vO7iyaE5VU0nOaO4VK/PyTaBwYO7/2FJTI26D6nKePX11y"], ["role_id", 21], ["updated_at", "2014-05-27 00:45:36.370538"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.374165"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.374165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user69@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.375935"], ["email", "user69@example.com"], ["encrypted_password", "$2a$04$1ryLd0s8sUJkv28QbFMU3eR4giMYfNi/HBQSAAeEzANqWJbLaDl.a"], ["role_id", 22], ["updated_at", "2014-05-27 00:45:36.375935"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:45:36 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 20]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 21]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 22]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (6.5ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 12.6ms | ActiveRecord: 1.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.478677"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.478677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user70@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.481495"], ["email", "user70@example.com"], ["encrypted_password", "$2a$04$dUCPO6rWMKWiyR/NotOzKukB9qVVashBKJJYWCbPI7kvL5bXVr9Se"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.481495"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user70@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.481495"], ["email", "user70@example.com"], ["encrypted_password", "$2a$04$dUCPO6rWMKWiyR/NotOzKukB9qVVashBKJJYWCbPI7kvL5bXVr9Se"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.481495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.488849"], ["name", "tag1"], ["updated_at", "2014-05-27 00:45:36.488849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.491013"], ["name", "tag2"], ["updated_at", "2014-05-27 00:45:36.491013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.494099"], ["excerpt", "Post #30. It was a dark and stormy night."], ["published", "t"], ["title", "Post #30"], ["updated_at", "2014-05-27 00:45:36.494099"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.494948"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:45:36.494948"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.495718"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:45:36.495718"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #30. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:36.497796"], ["updated_at", "2014-05-27 00:45:36.497796"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #30. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.502310"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.502310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user71@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.504321"], ["email", "user71@example.com"], ["encrypted_password", "$2a$04$oFaR3NEzgZBLGNXCihkTC.VVhXvggQkodWlOSHmy89Ajo6/g/wsxG"], ["role_id", 20], ["updated_at", "2014-05-27 00:45:36.504321"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.508043"], ["excerpt", "Post #31. It was a dark and stormy night."], ["published", "t"], ["title", "Post #31"], ["updated_at", "2014-05-27 00:45:36.508043"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.509232"], ["post_id", 2], ["tag_id", 2], ["updated_at", "2014-05-27 00:45:36.509232"]] 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"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #31. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:36.512154"], ["updated_at", "2014-05-27 00:45:36.512154"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #31. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.1ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.519678"], ["name", "tag1"], ["updated_at", "2014-05-27 00:45:36.519678"]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.521569"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-27 00:45:36.521569"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #30. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.530861"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.530861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user72@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.533453"], ["email", "user72@example.com"], ["encrypted_password", "$2a$04$G.bjm1Jr4SdOHPK/wulzxuyfUdS1goH/yqCU//PX/siBpxt3Eci/S"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.533453"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user72@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.533453"], ["email", "user72@example.com"], ["encrypted_password", "$2a$04$G.bjm1Jr4SdOHPK/wulzxuyfUdS1goH/yqCU//PX/siBpxt3Eci/S"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.533453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.540504"], ["name", "tag1"], ["updated_at", "2014-05-27 00:45:36.540504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.542532"], ["name", "tag2"], ["updated_at", "2014-05-27 00:45:36.542532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.545853"], ["excerpt", "Post #32. It was a dark and stormy night."], ["published", "t"], ["title", "Post #32"], ["updated_at", "2014-05-27 00:45:36.545853"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.546754"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:45:36.546754"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.547556"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:45:36.547556"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #32. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:36.549764"], ["updated_at", "2014-05-27 00:45:36.549764"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #32. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.557257"], ["name", "tag1"], ["updated_at", "2014-05-27 00:45:36.557257"]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.559001"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-27 00:45:36.559001"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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) UPDATE "storytime_posts" SET "content" = 'Post #32. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.568437"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.568437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user73@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.570902"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$AQHuVNRz8gk/Lf2UHXNL6uljSArJw25Gt7NJZjvrOIimcDGoYgudm"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.570902"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user73@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.570902"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$AQHuVNRz8gk/Lf2UHXNL6uljSArJw25Gt7NJZjvrOIimcDGoYgudm"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.570902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.579338"], ["name", "tag1"], ["updated_at", "2014-05-27 00:45:36.579338"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.582635"], ["name", "tag2"], ["updated_at", "2014-05-27 00:45:36.582635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.587200"], ["excerpt", "Post #33. It was a dark and stormy night."], ["published", "t"], ["title", "Post #33"], ["updated_at", "2014-05-27 00:45:36.587200"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.588368"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:45:36.588368"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.589394"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:45:36.589394"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #33. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:36.591595"], ["updated_at", "2014-05-27 00:45:36.591595"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #33. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.596688"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.596688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user74@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.598754"], ["email", "user74@example.com"], ["encrypted_password", "$2a$04$dR7GP9ECciBjaRFWyKmkXeGFLqHvX38SdYczHDzD2DznLD1qnB8uO"], ["role_id", 20], ["updated_at", "2014-05-27 00:45:36.598754"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.603111"], ["excerpt", "Post #34. It was a dark and stormy night."], ["published", "t"], ["title", "Post #34"], ["updated_at", "2014-05-27 00:45:36.603111"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.603951"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-27 00:45:36.603951"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #34. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:36.605890"], ["updated_at", "2014-05-27 00:45:36.605890"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #34. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tagging Load (0.0ms) 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_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.622892"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.622892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user75@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.625218"], ["email", "user75@example.com"], ["encrypted_password", "$2a$04$n5y4OA4PHeXPOMqucegYKecAN3Dw0c5OhGQGFATEZQklc11c2vVQK"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.625218"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user75@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.625218"], ["email", "user75@example.com"], ["encrypted_password", "$2a$04$n5y4OA4PHeXPOMqucegYKecAN3Dw0c5OhGQGFATEZQklc11c2vVQK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.625218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.632345"], ["excerpt", "Post #35. It was a dark and stormy night."], ["published", "f"], ["title", "Post #35"], ["updated_at", "2014-05-27 00:45:36.632345"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 00:45:36.634569"], ["updated_at", "2014-05-27 00:45:36.634569"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions" 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" ORDER BY "storytime_versions"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.642396"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.642396"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user76@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.644695"], ["email", "user76@example.com"], ["encrypted_password", "$2a$04$0Ir7A9NRnqdxduLh/YzSIeOlDDFaoI5kgz2uaaO0sx38D84ADbu.a"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.644695"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user76@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.644695"], ["email", "user76@example.com"], ["encrypted_password", "$2a$04$0Ir7A9NRnqdxduLh/YzSIeOlDDFaoI5kgz2uaaO0sx38D84ADbu.a"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.644695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.651786"], ["excerpt", "Post #36. It was a dark and stormy night."], ["published", "f"], ["title", "Post #36"], ["updated_at", "2014-05-27 00:45:36.651786"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 00:45:36.654190"], ["updated_at", "2014-05-27 00:45:36.654190"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.661256"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.661256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user77@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.663894"], ["email", "user77@example.com"], ["encrypted_password", "$2a$04$IuwKn65IkzUW6Gatz6huduB4XDcBlyVSo9G/T.UVUB//RLw5TTXxq"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.663894"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user77@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.663894"], ["email", "user77@example.com"], ["encrypted_password", "$2a$04$IuwKn65IkzUW6Gatz6huduB4XDcBlyVSo9G/T.UVUB//RLw5TTXxq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.663894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.669980"], ["excerpt", "Post #37. It was a dark and stormy night."], ["published", "f"], ["title", "Post #37"], ["updated_at", "2014-05-27 00:45:36.669980"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 00:45:36.672084"], ["updated_at", "2014-05-27 00:45:36.672084"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "excerpt" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["excerpt", "New Excerpt"], ["updated_at", "2014-05-27 00:45:36.673869"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.680913"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.680913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user78@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.683862"], ["email", "user78@example.com"], ["encrypted_password", "$2a$04$WrKUSAuvLiEpTkEX0Xaq1.dTr5c26YACCb.nxSxk5Dsf4v.MPIumy"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.683862"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user78@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.683862"], ["email", "user78@example.com"], ["encrypted_password", "$2a$04$WrKUSAuvLiEpTkEX0Xaq1.dTr5c26YACCb.nxSxk5Dsf4v.MPIumy"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.683862"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.695462"], ["excerpt", "Post #38. It was a dark and stormy night."], ["published", "f"], ["title", "Post #38"], ["updated_at", "2014-05-27 00:45:36.695462"], ["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.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 00:45:36.698293"], ["updated_at", "2014-05-27 00:45:36.698293"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Testing 123', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.704337"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.704337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user79@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.706611"], ["email", "user79@example.com"], ["encrypted_password", "$2a$04$AVftU94Pm5ijBqz9QElvrOOuFJ.brgpsfaCZOxoKrA0JYxVGIB7Wa"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.706611"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user79@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.706611"], ["email", "user79@example.com"], ["encrypted_password", "$2a$04$AVftU94Pm5ijBqz9QElvrOOuFJ.brgpsfaCZOxoKrA0JYxVGIB7Wa"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.706611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.712935"], ["excerpt", "Post #39. It was a dark and stormy night."], ["published", "t"], ["title", "Post #39"], ["updated_at", "2014-05-27 00:45:36.712935"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #35. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:36.715091"], ["updated_at", "2014-05-27 00:45:36.715091"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #35. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" ORDER BY "storytime_versions"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "New Content"], ["created_at", "2014-05-27 00:45:36.719512"], ["updated_at", "2014-05-27 00:45:36.719512"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #35. It was a dark and stormy night. The End.' WHERE "storytime_posts"."id" = 1 SQL (0.1ms) UPDATE "storytime_versions" SET "updated_at" = '2014-05-27 00:45:36.724370' WHERE "storytime_versions"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.729354"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.729354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user80@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.731915"], ["email", "user80@example.com"], ["encrypted_password", "$2a$04$8HEKlsR.F2H6LMLWDo4pZe84KrG626NWujl0GcxLQlGBUyS.sk5VG"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.731915"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user80@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.731915"], ["email", "user80@example.com"], ["encrypted_password", "$2a$04$8HEKlsR.F2H6LMLWDo4pZe84KrG626NWujl0GcxLQlGBUyS.sk5VG"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.731915"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.738429"], ["excerpt", "Post #40. It was a dark and stormy night."], ["published", "t"], ["title", "Post #40"], ["updated_at", "2014-05-27 00:45:36.738429"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 00:45:36.740911"], ["updated_at", "2014-05-27 00:45:36.740911"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Testing 123', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "New Content"], ["created_at", "2014-05-27 00:45:36.745539"], ["updated_at", "2014-05-27 00:45:36.745539"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.752952"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:36.752952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.754727"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.754727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:36.756470"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.756470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.757844"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.757844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:36.760141"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.760141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.761997"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:36.761997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:36.763727"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.763727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.765074"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:36.765074"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:36.766582"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.766582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user81@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.769017"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$HsoAFNoruALqzoRtb/1S4.RTRf2X1EZO0.6iJWLtmTjSE444r2bcC"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.769017"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user81@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.769017"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$HsoAFNoruALqzoRtb/1S4.RTRf2X1EZO0.6iJWLtmTjSE444r2bcC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.769017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.776115"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.776115"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.784581"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:36.784581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.786439"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.786439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:36.788263"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.788263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.789612"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.789612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:36.792080"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.792080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.793945"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:36.793945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:36.795944"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.795944"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.797733"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:36.797733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:36.799358"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.799358"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user83@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.801403"], ["email", "user83@example.com"], ["encrypted_password", "$2a$04$3rHTlbUtxYfy3DUW/j.VXeuCwGUq648RLiPO7n36IgAhi6Qr3AVA6"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.801403"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user83@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.801403"], ["email", "user83@example.com"], ["encrypted_password", "$2a$04$3rHTlbUtxYfy3DUW/j.VXeuCwGUq648RLiPO7n36IgAhi6Qr3AVA6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.801403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.817915"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.817915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.825161"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:36.825161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.826881"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.826881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:36.828565"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.828565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.829891"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.829891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:36.831512"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.831512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.833516"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:36.833516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:36.834981"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.834981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.836232"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:36.836232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:36.837526"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.837526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user85@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.839446"], ["email", "user85@example.com"], ["encrypted_password", "$2a$04$gIP08ywqS9t4p48UyHKhn.zPAbKZjjeUkz37S5EKZ8kkwp3DF5anK"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.839446"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user85@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.839446"], ["email", "user85@example.com"], ["encrypted_password", "$2a$04$gIP08ywqS9t4p48UyHKhn.zPAbKZjjeUkz37S5EKZ8kkwp3DF5anK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.839446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.845962"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:36.845962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.851908"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:36.851908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.853547"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.853547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:36.855467"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.855467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.857035"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.857035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:36.858979"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.858979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.860411"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:36.860411"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:36.861915"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.861915"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.863207"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:36.863207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:36.864612"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.864612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user87@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.866493"], ["email", "user87@example.com"], ["encrypted_password", "$2a$04$rarA3HWzD8yMKHaSCCr6ieqKXVmyN/ZBjiAxCY/wu/FeHrDRWRJqi"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.866493"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user87@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.866493"], ["email", "user87@example.com"], ["encrypted_password", "$2a$04$rarA3HWzD8yMKHaSCCr6ieqKXVmyN/ZBjiAxCY/wu/FeHrDRWRJqi"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.866493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.878074"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:36.878074"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.879796"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.879796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:36.881528"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.881528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.882835"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.882835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:36.884166"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.884166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.885904"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:36.885904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:36.887425"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.887425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.888657"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:36.888657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:36.889965"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.889965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user88@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.891753"], ["email", "user88@example.com"], ["encrypted_password", "$2a$04$Xkag/wWVKwhH88uePAA3mO5XOxHyC8gGo5RG75N1b2zTyKVPnsCV."], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.891753"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user88@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.891753"], ["email", "user88@example.com"], ["encrypted_password", "$2a$04$Xkag/wWVKwhH88uePAA3mO5XOxHyC8gGo5RG75N1b2zTyKVPnsCV."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.891753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.900593"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:36.900593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.902272"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.902272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:36.904024"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.904024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.905322"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.905322"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:36.906690"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.906690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.909249"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:36.909249"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:36.912032"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.912032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.914565"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:36.914565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:36.917459"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.917459"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user89@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.920771"], ["email", "user89@example.com"], ["encrypted_password", "$2a$04$5YvZ5EaH7YWAuyDoFDdUfuJ69iYn0TSylLbFWS6wPnhJnp/7Hxvx6"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.920771"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user89@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.920771"], ["email", "user89@example.com"], ["encrypted_password", "$2a$04$5YvZ5EaH7YWAuyDoFDdUfuJ69iYn0TSylLbFWS6wPnhJnp/7Hxvx6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.920771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.933223"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:36.933223"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.936062"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.936062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:36.938949"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.938949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.940496"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.940496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:36.942007"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.942007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.943372"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:36.943372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:36.944813"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.944813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.946410"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:36.946410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:36.948133"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.948133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user90@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.950277"], ["email", "user90@example.com"], ["encrypted_password", "$2a$04$rikkfaULPqZn8J1RQ1.CHec5A3CUoj4d/bfUthjGl9qTqRCk7esYW"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.950277"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user90@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.950277"], ["email", "user90@example.com"], ["encrypted_password", "$2a$04$rikkfaULPqZn8J1RQ1.CHec5A3CUoj4d/bfUthjGl9qTqRCk7esYW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.950277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.963502"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:36.963502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.966716"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.966716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:36.970278"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.970278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.972271"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.972271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:36.974084"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.974084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.975491"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:36.975491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:36.976901"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.976901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.978189"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:36.978189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:36.980287"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.980287"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user91@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:36.982312"], ["email", "user91@example.com"], ["encrypted_password", "$2a$04$k71bEOZFEc1fdRa5bJldouizAy.tkw5HoeuAxEoWL0C6h4UpgP4YK"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.982312"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user91@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:36.982312"], ["email", "user91@example.com"], ["encrypted_password", "$2a$04$k71bEOZFEc1fdRa5bJldouizAy.tkw5HoeuAxEoWL0C6h4UpgP4YK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:36.982312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.992196"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:36.992196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.993867"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.993867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:36.995522"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.995522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:36.996828"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:36.996828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:36.998213"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:36.998213"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user92@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.000945"], ["email", "user92@example.com"], ["encrypted_password", "$2a$04$uZEAQpbx4TjdxdGsuS2ajuI3KkIl8t7zQY6D0bN8k72qUfptcysmy"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.000945"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user92@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:37.000945"], ["email", "user92@example.com"], ["encrypted_password", "$2a$04$uZEAQpbx4TjdxdGsuS2ajuI3KkIl8t7zQY6D0bN8k72qUfptcysmy"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:37.000945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.007332"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.007332"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.015013"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:37.015013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.016812"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.016812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.018532"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.018532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.020234"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.020234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:37.023731"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.023731"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user94@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.027817"], ["email", "user94@example.com"], ["encrypted_password", "$2a$04$f2wrAJj/ZUxYNRoLJ870J.jVBSTw5hWJhOBWUjdfh8A0xWSXEXdn."], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.027817"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user94@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:37.027817"], ["email", "user94@example.com"], ["encrypted_password", "$2a$04$f2wrAJj/ZUxYNRoLJ870J.jVBSTw5hWJhOBWUjdfh8A0xWSXEXdn."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:37.027817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.036852"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.036852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.046015"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:37.046015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.048502"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.048502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.050989"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.050989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.053081"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.053081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:37.055050"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.055050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user96@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.057391"], ["email", "user96@example.com"], ["encrypted_password", "$2a$04$iwTD8HqLf4erZkpWlFHEX.SyoMdxqANAISmo.g2Y0/0qrmjYKyJI6"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.057391"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user96@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:37.057391"], ["email", "user96@example.com"], ["encrypted_password", "$2a$04$iwTD8HqLf4erZkpWlFHEX.SyoMdxqANAISmo.g2Y0/0qrmjYKyJI6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:37.057391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.065451"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.065451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.071464"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:37.071464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.073097"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.073097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.074697"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.074697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.075939"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.075939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:37.077310"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.077310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user98@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.079879"], ["email", "user98@example.com"], ["encrypted_password", "$2a$04$RIhLfrINXMEyUmIrZqPQG.FYjGHHx4GusevY/O/M5dwV84wK58jFq"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.079879"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user98@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:37.079879"], ["email", "user98@example.com"], ["encrypted_password", "$2a$04$RIhLfrINXMEyUmIrZqPQG.FYjGHHx4GusevY/O/M5dwV84wK58jFq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:37.079879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.090556"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:37.090556"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.092282"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.092282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.093985"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.093985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.095332"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.095332"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:37.096792"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.096792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user99@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.099648"], ["email", "user99@example.com"], ["encrypted_password", "$2a$04$RxtaI6n.kNlk9vWPOgKByOR4cioye6rEJcLFwcP5SZLETwxspzf6O"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.099648"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user99@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:37.099648"], ["email", "user99@example.com"], ["encrypted_password", "$2a$04$RxtaI6n.kNlk9vWPOgKByOR4cioye6rEJcLFwcP5SZLETwxspzf6O"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:37.099648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.110205"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:37.110205"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.112582"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.112582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.115010"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.115010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.116980"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.116980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:37.118458"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.118458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user100@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.120550"], ["email", "user100@example.com"], ["encrypted_password", "$2a$04$UO0v8ZoIs6fG5p9ialfdkebqPVEGqM2P.U2cIKPu1kjar9wWQWCy6"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.120550"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user100@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:37.120550"], ["email", "user100@example.com"], ["encrypted_password", "$2a$04$UO0v8ZoIs6fG5p9ialfdkebqPVEGqM2P.U2cIKPu1kjar9wWQWCy6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:37.120550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.132297"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:37.132297"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.135005"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.135005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.138018"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.138018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.141756"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.141756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:37.145381"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.145381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user101@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.148873"], ["email", "user101@example.com"], ["encrypted_password", "$2a$04$d9cdjTst8NwvMwtjpr/Ks.jYEvhFj913qf5yrHO8rlgzp/v97EVK."], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.148873"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user101@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:37.148873"], ["email", "user101@example.com"], ["encrypted_password", "$2a$04$d9cdjTst8NwvMwtjpr/Ks.jYEvhFj913qf5yrHO8rlgzp/v97EVK."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:37.148873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.158382"], ["name", "editor"], ["updated_at", "2014-05-27 00:45:37.158382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.160060"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.160060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.161817"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.161817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.163113"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.163113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:37.164407"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.164407"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user102@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.166947"], ["email", "user102@example.com"], ["encrypted_password", "$2a$04$Kv9PDnafAT3WScGNNAN4e.3IaKJxWMxYRSvbbe3YNKsSbVTbC8fUK"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.166947"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user102@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:37.166947"], ["email", "user102@example.com"], ["encrypted_password", "$2a$04$Kv9PDnafAT3WScGNNAN4e.3IaKJxWMxYRSvbbe3YNKsSbVTbC8fUK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:37.166947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.178169"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.178169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.180840"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.180840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.182660"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.182660"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user103@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.185787"], ["email", "user103@example.com"], ["encrypted_password", "$2a$04$gNTTH1tGIisASCazJpaVe.iGAp3l3D9QpqeA5GK5lZ3/ceOFtaHjy"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.185787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.189440"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.189440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 19]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.197201"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.197201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.198867"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.198867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.200505"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.200505"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user105@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.202789"], ["email", "user105@example.com"], ["encrypted_password", "$2a$04$hsrOvftY2teJNegpN9/WlOXYZsdP3jAe5xdJajDvT47XQshWyhID6"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.202789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.206475"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.206475"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 19]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.214233"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.214233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.215918"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.215918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.217739"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.217739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user107@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.219635"], ["email", "user107@example.com"], ["encrypted_password", "$2a$04$xbL/QvzTfN3hdZ8IfaGd5.6pB8CyA9CIVoiEy/jAx3Py7yNAaubs."], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.219635"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.223325"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.223325"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.229876"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.229876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.231648"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.231648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.233444"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.233444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user109@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.235406"], ["email", "user109@example.com"], ["encrypted_password", "$2a$04$MvxlYukhpNvPvvqI1MGy6eb9S4zyAqaqn0fnc8KECDodz.hjwSVN6"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.235406"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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", 19]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.245117"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.245117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.247709"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.247709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.249778"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.249778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user110@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.252333"], ["email", "user110@example.com"], ["encrypted_password", "$2a$04$S3CnRX9OhhIg3CJcVizlPeW1efPumqaBM5aMbEj7taqB9kTGxYC8W"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.252333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.258929"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.258929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.260784"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.260784"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.262502"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.262502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user111@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.264412"], ["email", "user111@example.com"], ["encrypted_password", "$2a$04$xFcbNC3DxLgcCUxh4gGcz.xsqeQeNS2tc1QdnB./zw7bkYH2JXNnO"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.264412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.273307"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.273307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.275146"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.275146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.277113"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.277113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user112@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.279127"], ["email", "user112@example.com"], ["encrypted_password", "$2a$04$.7tCmBgbdvBHj8nzpMJyjutSgHGnrg7S4sJtqmcB4W6Yej7Or3.IS"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.279127"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.286061"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.286061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.287786"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.287786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.289885"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.289885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user113@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.292228"], ["email", "user113@example.com"], ["encrypted_password", "$2a$04$6GWKxrAlhlOl9hwPXeSlHOy4sBCotTBzxWMGYIEKBuvYOtsIqSHt6"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.292228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.296966"], ["title", "Site Title 13"], ["updated_at", "2014-05-27 00:45:37.296966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.300722"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.300722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user114@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.302790"], ["email", "user114@example.com"], ["encrypted_password", "$2a$04$ddQgLv0Z/Woh2DOhyoTgA.T9q6OWmsUS9YM1GSwT2NnGA.BYc.ALS"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.302790"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.3ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user114@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:37.302790"], ["email", "user114@example.com"], ["encrypted_password", "$2a$04$ddQgLv0Z/Woh2DOhyoTgA.T9q6OWmsUS9YM1GSwT2NnGA.BYc.ALS"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:37.302790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.308357"], ["excerpt", "Post #41. It was a dark and stormy night."], ["published", "t"], ["title", "Post #41"], ["updated_at", "2014-05-27 00:45:37.308357"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #36. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:37.310315"], ["updated_at", "2014-05-27 00:45:37.310315"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #36. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.314704"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.314704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user115@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.316527"], ["email", "user115@example.com"], ["encrypted_password", "$2a$04$hJafdtPCiNsTc4jZ2xz8jeJXpwYpbFnX7pkAR4C6CQ4.m2eXjr7Ni"], ["role_id", 20], ["updated_at", "2014-05-27 00:45:37.316527"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.318793"], ["excerpt", "Post #42. It was a dark and stormy night."], ["published", "t"], ["title", "Post #42"], ["updated_at", "2014-05-27 00:45:37.318793"], ["user_id", 2]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #37. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:37.320745"], ["updated_at", "2014-05-27 00:45:37.320745"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #37. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.325019"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.325019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user116@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.326796"], ["email", "user116@example.com"], ["encrypted_password", "$2a$04$6O777ckZR7pa3fnBPuAIB.b2uiTDsjcTOVBxqiP/REKd5I3J4YAU2"], ["role_id", 21], ["updated_at", "2014-05-27 00:45:37.326796"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.328898"], ["excerpt", "Post #43. It was a dark and stormy night."], ["published", "t"], ["title", "Post #43"], ["updated_at", "2014-05-27 00:45:37.328898"], ["user_id", 3]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #38. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:37.330719"], ["updated_at", "2014-05-27 00:45:37.330719"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #38. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-26 19:45:37 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.5ms) 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", 2]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (0.7ms) 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (0.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (8.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.8ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.451133"], ["title", "Site Title 14"], ["updated_at", "2014-05-27 00:45:37.451133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.454821"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.454821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user117@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.457163"], ["email", "user117@example.com"], ["encrypted_password", "$2a$04$gJX502kCe/igy8KEbZ81vuMkBiGP0MgyqriPLYofsAV63SX5MH4nu"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.457163"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user117@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:37.457163"], ["email", "user117@example.com"], ["encrypted_password", "$2a$04$gJX502kCe/igy8KEbZ81vuMkBiGP0MgyqriPLYofsAV63SX5MH4nu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:37.457163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.472708"], ["excerpt", "Post #44. It was a dark and stormy night."], ["published", "t"], ["title", "Post #44"], ["updated_at", "2014-05-27 00:45:37.472708"], ["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.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #39. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:37.474880"], ["updated_at", "2014-05-27 00:45:37.474880"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #39. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-26 19:45:37 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} 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"."published" = 't' AND "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.4ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.514606"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:37.514606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.517206"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.517206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:37.519276"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.519276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.521370"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:37.521370"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:37.523694"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.523694"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.525679"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:37.525679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:37.527612"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.527612"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.529177"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:37.529177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:37.531012"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.531012"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user118@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.534305"], ["email", "user118@example.com"], ["encrypted_password", "$2a$04$fnnLM00dkke6pWi4ekiVVOvaktecN37fI1D6254EPDXa7SeBedNFu"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:37.534305"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user118@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:37.534305"], ["email", "user118@example.com"], ["encrypted_password", "$2a$04$fnnLM00dkke6pWi4ekiVVOvaktecN37fI1D6254EPDXa7SeBedNFu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:37.534305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.539741"], ["title", "Site Title 15"], ["updated_at", "2014-05-27 00:45:37.539741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:37 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:37 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user118@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user118@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:37.651186"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:37.651186"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:37.652190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49454/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45: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.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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.1ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.740190"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.740190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user119@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.742837"], ["email", "user119@example.com"], ["encrypted_password", "$2a$04$Mx8Zf/PK9fBtqq4C3j0GVu/q4eroIArwkuP.xx.ZI6HSoIX0jz9vq"], ["role_id", 20], ["updated_at", "2014-05-27 00:45:37.742837"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.745380"], ["excerpt", "Post #45. It was a dark and stormy night."], ["published", "t"], ["title", "Post #45"], ["updated_at", "2014-05-27 00:45:37.745380"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #40. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:37.748067"], ["updated_at", "2014-05-27 00:45:37.748067"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #40. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.752959"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.752959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user120@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.754829"], ["email", "user120@example.com"], ["encrypted_password", "$2a$04$Ifad8jtZyg/HMQt.fLQSwOqrLLnNTPYm.If1Sr0AWMQMT6Z9GSBja"], ["role_id", 21], ["updated_at", "2014-05-27 00:45:37.754829"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.756764"], ["excerpt", "Post #46. It was a dark and stormy night."], ["published", "t"], ["title", "Post #46"], ["updated_at", "2014-05-27 00:45:37.756764"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #41. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:37.758381"], ["updated_at", "2014-05-27 00:45:37.758381"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #41. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:37.762312"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:37.762312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user121@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.764054"], ["email", "user121@example.com"], ["encrypted_password", "$2a$04$Lx6j16ZI09WkAGrVIKnUeeY.pJj3.NQoGBCFVjIjZsEptpPSfKCKG"], ["role_id", 22], ["updated_at", "2014-05-27 00:45:37.764054"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:37.766017"], ["excerpt", "Post #47. It was a dark and stormy night."], ["published", "t"], ["title", "Post #47"], ["updated_at", "2014-05-27 00:45:37.766017"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #42. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:37.767636"], ["updated_at", "2014-05-27 00:45:37.767636"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #42. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:45:37 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.8ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 14.2ms | ActiveRecord: 0.9ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-26 19:45:38 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] SQL (0.0ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 12ms (ActiveRecord: 1.1ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:38.880617"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:38.880617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:38.882529"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:38.882529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:38.884355"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:38.884355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:38.886281"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:38.886281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:38.888104"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:38.888104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:38.889520"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:38.889520"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:38.890850"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:38.890850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:38.892026"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:38.892026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:38.893268"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:38.893268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user122@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:38.895170"], ["email", "user122@example.com"], ["encrypted_password", "$2a$04$I2XwC1RjN3k6Hcgm.FvJ9.YF3XcqS74MrDXt0o.tOngI9aRRI4up2"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:38.895170"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user122@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:38.895170"], ["email", "user122@example.com"], ["encrypted_password", "$2a$04$I2XwC1RjN3k6Hcgm.FvJ9.YF3XcqS74MrDXt0o.tOngI9aRRI4up2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:38.895170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:38.899786"], ["title", "Site Title 16"], ["updated_at", "2014-05-27 00:45:38.899786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:38 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user122@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user122@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:38.916115"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:38.916115"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:38.917228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:38 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.1ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:38.949799"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:38.949799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user123@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:38.952018"], ["email", "user123@example.com"], ["encrypted_password", "$2a$04$EyowqGVC1P/ES3QVPxggFuGgGIQLC3ostkYB7y7gORlR1GndzvQue"], ["role_id", 20], ["updated_at", "2014-05-27 00:45:38.952018"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:38.954219"], ["excerpt", "Post #48. It was a dark and stormy night."], ["published", "f"], ["title", "Post #48"], ["updated_at", "2014-05-27 00:45:38.954219"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #43. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:38.956198"], ["updated_at", "2014-05-27 00:45:38.956198"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:45:38 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.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::Post"]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (1.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", 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.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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (13.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (18.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 33ms (Views: 25.8ms | ActiveRecord: 1.7ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-26 19:45:38 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #48. It was a dark and stormy night.", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.0ms) SAVEPOINT active_record_1 Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] 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", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["title", "The Story"], ["updated_at", "2014-05-27 00:45:39.009625"]] 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", 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:45:39.011817"], ["updated_at", "2014-05-27 00:45:39.011817"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 13ms (ActiveRecord: 1.1ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (3.7ms) 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.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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (12.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (18.9ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 31ms (Views: 24.3ms | ActiveRecord: 1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.092448"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:39.092448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.094097"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:39.094097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:39.095819"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.095819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.097123"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:39.097123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:39.098661"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.098661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.100280"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:39.100280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:39.101613"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.101613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.102846"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:39.102846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:39.104119"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.104119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user124@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:39.105860"], ["email", "user124@example.com"], ["encrypted_password", "$2a$04$fChGCblwtp3Lz2F6TJPktOGPrQ90pml0bYj8wsbVeqJ5GGOGxD8V."], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.105860"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user124@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:39.105860"], ["email", "user124@example.com"], ["encrypted_password", "$2a$04$fChGCblwtp3Lz2F6TJPktOGPrQ90pml0bYj8wsbVeqJ5GGOGxD8V."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:39.105860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.110394"], ["title", "Site Title 17"], ["updated_at", "2014-05-27 00:45:39.110394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user124@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user124@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:39.131431"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:39.131431"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:39.131970"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:39 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.6ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (9.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 16.6ms | ActiveRecord: 1.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (1.8ms) 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/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (13.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (15.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 37ms (Views: 21.7ms | ActiveRecord: 1.4ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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.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]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:39.225410"], ["excerpt", "It was a dark and stormy night..."], ["published", "f"], ["title", "The Story"], ["updated_at", "2014-05-27 00:45:39.225410"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:45:39.227303"], ["updated_at", "2014-05-27 00:45:39.227303"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 11ms (ActiveRecord: 1.0ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.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::Post"]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (3.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", 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.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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (14.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (21.8ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 34ms (Views: 27.1ms | ActiveRecord: 2.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.312073"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:39.312073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.313775"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:39.313775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:39.315371"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.315371"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.316535"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:39.316535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:39.317755"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.317755"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.320706"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:39.320706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:39.322899"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.322899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.324541"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:39.324541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:39.326232"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.326232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user125@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:39.328217"], ["email", "user125@example.com"], ["encrypted_password", "$2a$04$.oBjEppXmgzDK/JZpFhAAuvlkNUFxp69sZ8wg95PquR4/4A9mhgO6"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.328217"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user125@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:39.328217"], ["email", "user125@example.com"], ["encrypted_password", "$2a$04$.oBjEppXmgzDK/JZpFhAAuvlkNUFxp69sZ8wg95PquR4/4A9mhgO6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:39.328217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.333301"], ["title", "Site Title 18"], ["updated_at", "2014-05-27 00:45:39.333301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user125@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user125@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:39.351515"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:39.351515"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:39.351929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:39 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.387274"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:39.387274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user126@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:39.390308"], ["email", "user126@example.com"], ["encrypted_password", "$2a$04$TMuGWmWsTkTd07aYxrQbL.oVgV46ewT3YB7E5brgc4BBV0rVj6iA2"], ["role_id", 20], ["updated_at", "2014-05-27 00:45:39.390308"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:39.393785"], ["excerpt", "Post #49. It was a dark and stormy night."], ["published", "t"], ["title", "Post #49"], ["updated_at", "2014-05-27 00:45:39.393785"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #44. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:39.396023"], ["updated_at", "2014-05-27 00:45:39.396023"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #44. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.400451"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:39.400451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user127@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:39.402416"], ["email", "user127@example.com"], ["encrypted_password", "$2a$04$SQCYPl2GpDHlUEGT0PwoSOxqX376gIEbNRlc0NyvWF/uVpXoFoqTK"], ["role_id", 21], ["updated_at", "2014-05-27 00:45:39.402416"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:39.404678"], ["excerpt", "Post #50. It was a dark and stormy night."], ["published", "t"], ["title", "Post #50"], ["updated_at", "2014-05-27 00:45:39.404678"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #45. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:39.406475"], ["updated_at", "2014-05-27 00:45:39.406475"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #45. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.410798"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:39.410798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user128@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:39.412665"], ["email", "user128@example.com"], ["encrypted_password", "$2a$04$0kh9IAcr4blYD0gPCmKU5ex/2vt9cViaIDvZfHZlblAQDodIgoECq"], ["role_id", 22], ["updated_at", "2014-05-27 00:45:39.412665"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:39.414637"], ["excerpt", "Post #51. It was a dark and stormy night."], ["published", "t"], ["title", "Post #51"], ["updated_at", "2014-05-27 00:45:39.414637"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #46. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:39.416438"], ["updated_at", "2014-05-27 00:45:39.416438"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #46. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.3ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 12.3ms | ActiveRecord: 0.8ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'tony@stark.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:39.497221"], ["email", "tony@stark.com"], ["encrypted_password", "$2a$04$zbQsZlcRBe1FqEu8hNZdHOkhWMdMXkpWhpHEhZ642Z7n./zDGDa2q"], ["updated_at", "2014-05-27 00:45:39.497221"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'tony@stark.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:39.497221"], ["email", "tony@stark.com"], ["encrypted_password", "$2a$04$zbQsZlcRBe1FqEu8hNZdHOkhWMdMXkpWhpHEhZ642Z7n./zDGDa2q"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:39.497221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.505340"], ["title", "Site Title 19"], ["updated_at", "2014-05-27 00:45:39.505340"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.512287"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:39.512287"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user129@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:39.515840"], ["email", "user129@example.com"], ["encrypted_password", "$2a$04$EZh6UmjZECdfZxUkKDbTPeMo01O5Rx66j3STCp7/5woBZv5Sbg2sO"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.515840"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user129@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:39.515840"], ["email", "user129@example.com"], ["encrypted_password", "$2a$04$EZh6UmjZECdfZxUkKDbTPeMo01O5Rx66j3STCp7/5woBZv5Sbg2sO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:39.515840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-33' 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" = 'page-33') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:39.522625"], ["published", "t"], ["slug", "page-33"], ["title", "Page #33"], ["updated_at", "2014-05-27 00:45:39.522625"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #33. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:45:39.525310"], ["updated_at", "2014-05-27 00:45:39.525310"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #33. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-33' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:45:39.529708"], ["slug", "page-33"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-33" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-33"} 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"."published" = 't' AND "storytime_pages"."slug" = 'page-33' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (0.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 12.1ms | ActiveRecord: 0.4ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.575723"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:39.575723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.577696"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:39.577696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:39.579565"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.579565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.580901"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:39.580901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:39.582522"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.582522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.583974"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:39.583974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:39.585558"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.585558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:39.586831"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:39.586831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:39.588149"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.588149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user130@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:39.590009"], ["email", "user130@example.com"], ["encrypted_password", "$2a$04$YUPiQGFwmHdMq4AhBypihOhUJIT6sQLsfpiNJQuRxEFaGHHxBe.y."], ["role_id", 19], ["updated_at", "2014-05-27 00:45:39.590009"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user130@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:39.590009"], ["email", "user130@example.com"], ["encrypted_password", "$2a$04$YUPiQGFwmHdMq4AhBypihOhUJIT6sQLsfpiNJQuRxEFaGHHxBe.y."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:39.590009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user130@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user130@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:39.609658"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:39.609658"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:39.610212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:39 -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.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://www.example.com/dashboard/sites/new Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.4ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' LIMIT 1 Storytime::Role Load (0.0ms) 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" = 3 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (13.7ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 31ms (Views: 23.7ms | ActiveRecord: 1.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' LIMIT 1 Storytime::Role Load (0.0ms) 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" = 3 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (9.6ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 15.6ms | ActiveRecord: 0.7ms) Started POST "/dashboard/sites" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:39.703232"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site"], ["updated_at", "2014-05-27 00:45:39.703232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/sites/1/edit Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:45:39 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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::Role Load (0.0ms) 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" = 3 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.2ms) 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.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" Storytime::Action Load (0.0ms) 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", 4]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 5]] 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", 6]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 7]] 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", 8]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 9]] 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", 10]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 11]] 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", 12]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 13]] 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", 14]] 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", 15]] 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", 16]] 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", 17]] 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", 18]] 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", 19]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (174.7ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 187ms (Views: 180.1ms | ActiveRecord: 2.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:40.147882"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:40.147882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:40.149567"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:40.149567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:40.151211"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:40.151211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:40.152447"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:40.152447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:40.154207"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:40.154207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:40.155759"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:40.155759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:40.157172"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:40.157172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:40.158356"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:40.158356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:40.159600"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:40.159600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user131@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:40.161344"], ["email", "user131@example.com"], ["encrypted_password", "$2a$04$DdbEOS7cjJC9hZ1lrrSuRu11SIyp/jn1jFBSgPr7Ejjbr8B7xxeIC"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:40.161344"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user131@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:40.161344"], ["email", "user131@example.com"], ["encrypted_password", "$2a$04$DdbEOS7cjJC9hZ1lrrSuRu11SIyp/jn1jFBSgPr7Ejjbr8B7xxeIC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:40.161344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:40.165757"], ["title", "Site Title 20"], ["updated_at", "2014-05-27 00:45:40.165757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user131@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user131@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:40.180733"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:40.180733"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:40.181234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:40 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:45:40 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.4ms) Storytime::Role Load (0.1ms) 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.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.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" Storytime::Action Load (0.0ms) 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", 4]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 5]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 6]] 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", 7]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 8]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 9]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 10]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 11]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 12]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 13]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 14]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 15]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 16]] 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", 17]] 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", 18]] 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", 19]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (133.8ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 143ms (Views: 138.0ms | ActiveRecord: 2.2ms) Started PATCH "/dashboard/sites/1" for 127.0.0.1 at 2014-05-26 19:45:40 -0500 Processing by Storytime::Dashboard::SitesController#update as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site's New Name", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Update Site", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_sites" SET "footer" = ?, "ga_tracking_id" = ?, "header" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_sites"."id" = 1 [["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site's New Name"], ["updated_at", "2014-05-27 00:45:40.429287"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.2ms) Storytime::Role Load (0.1ms) 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" Storytime::Action Load (0.0ms) 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", 4]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 5]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 6]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 7]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 8]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 9]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 10]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 11]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 12]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 13]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 14]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 15]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 16]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 17]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 18]] 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", 19]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (131.7ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 143ms (Views: 135.8ms | ActiveRecord: 2.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:40.791221"], ["name", "admin"], ["updated_at", "2014-05-27 00:45:40.791221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:40.792790"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:45:40.792790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 25], ["created_at", "2014-05-27 00:45:40.794348"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:40.794348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:40.795545"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:45:40.795545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 26], ["created_at", "2014-05-27 00:45:40.797362"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:40.797362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:40.798700"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:45:40.798700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 27], ["created_at", "2014-05-27 00:45:40.799965"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:40.799965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:40.801048"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:45:40.801048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 28], ["created_at", "2014-05-27 00:45:40.802344"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:40.802344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user132@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:40.804137"], ["email", "user132@example.com"], ["encrypted_password", "$2a$04$t7RzC4uYDqhO3bawYtZ5feXBBxFLqpETPFlBYna6DVL4GR0qGtu/q"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:40.804137"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user132@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:40.804137"], ["email", "user132@example.com"], ["encrypted_password", "$2a$04$t7RzC4uYDqhO3bawYtZ5feXBBxFLqpETPFlBYna6DVL4GR0qGtu/q"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:40.804137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:40.808686"], ["title", "Site Title 21"], ["updated_at", "2014-05-27 00:45:40.808686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:40 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:45:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user132@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user132@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:45:40.822638"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:45:40.822638"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:45:40.823092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:45:40 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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.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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 36ms (Views: 34.7ms | ActiveRecord: 0.9ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:45:40 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:45:40 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.3ms) Storytime::Role Load (0.1ms) 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.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" Storytime::Action Load (0.0ms) 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", 4]] 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", 5]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 6]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 7]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 8]] 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", 9]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 10]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 11]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 12]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 13]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 14]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 15]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 16]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 17]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 18]] 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", 19]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (134.6ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 144ms (Views: 138.9ms | ActiveRecord: 2.2ms)  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:41.246054"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:41.246054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user133@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:41.248572"], ["email", "user133@example.com"], ["encrypted_password", "$2a$04$LhkLxnWyDsgSHGH4tYgjje/fVA2YeiwbC7qVo6/hjit9c1Ld.M9ZC"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:41.248572"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user133@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:41.248572"], ["email", "user133@example.com"], ["encrypted_password", "$2a$04$LhkLxnWyDsgSHGH4tYgjje/fVA2YeiwbC7qVo6/hjit9c1Ld.M9ZC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:41.248572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:41.278979"], ["title", "Site Title 22"], ["updated_at", "2014-05-27 00:45:41.278979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:45:41.282620"], ["name", "writer"], ["updated_at", "2014-05-27 00:45:41.282620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user134@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:45:41.285148"], ["email", "user134@example.com"], ["encrypted_password", "$2a$04$7JHRQZr/dmp5mrIQDwlyBO3udZIpFnRYxfMX.rAJSzJ3QelRg6QhK"], ["role_id", 19], ["updated_at", "2014-05-27 00:45:41.285148"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user134@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:45:41.285148"], ["email", "user134@example.com"], ["encrypted_password", "$2a$04$7JHRQZr/dmp5mrIQDwlyBO3udZIpFnRYxfMX.rAJSzJ3QelRg6QhK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:45:41.285148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 4ms  (0.6ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:33.869904"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:33.869904"]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:33.876239"], ["name", "editor"], ["updated_at", "2014-05-27 00:46:33.876239"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:33.878424"], ["name", "admin"], ["updated_at", "2014-05-27 00:46:33.878424"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:46:33.883844"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:46:33.883844"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:46:33.886599"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:46:33.886599"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:46:33.888492"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:46:33.888492"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:46:33.890419"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:46:33.890419"]]  (0.7ms) commit 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 (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:46:33.909770"], ["role_id", 1], ["updated_at", "2014-05-27 00:46:33.909770"]]  (1.2ms) 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-05-27 00:46:33.915975"], ["role_id", 2], ["updated_at", "2014-05-27 00:46:33.915975"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:46:33.918878"], ["role_id", 3], ["updated_at", "2014-05-27 00:46:33.918878"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:46:33.922786"], ["role_id", 2], ["updated_at", "2014-05-27 00:46:33.922786"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:46:33.927317"], ["role_id", 3], ["updated_at", "2014-05-27 00:46:33.927317"]]  (1.1ms) 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-05-27 00:46:33.930906"], ["role_id", 3], ["updated_at", "2014-05-27 00:46:33.930906"]]  (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-05-27 00:46:33.933483"], ["role_id", 3], ["updated_at", "2014-05-27 00:46:33.933483"]]  (1.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:33.944112"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 00:46:33.944112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:33.956922"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:33.956922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:33.967824"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$HX/zrL6wkOmzkzX/kTVY9ej3OMSGC7ZJWU9SOHpOsoOF4hjchgsd."], ["role_id", 22], ["updated_at", "2014-05-27 00:46:33.967824"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:46:33.967824"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$HX/zrL6wkOmzkzX/kTVY9ej3OMSGC7ZJWU9SOHpOsoOF4hjchgsd."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:46:33.967824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (19.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 183ms (Views: 169.7ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 19:46:36 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 19:46:36 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:36 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:46:36.772033"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:46:36.772033"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:46:36.773166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49469/ Completed 302 Found in 13ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:46:36 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (13.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (17.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (19.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 48ms (Views: 44.9ms | ActiveRecord: 1.6ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:36.895120"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:36.895120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:36.897056"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$u.NhrrAWgTP7liVu3R8u1e5lr6RfyeZJNjih1UM/mlacqSVeyGswe"], ["role_id", 23], ["updated_at", "2014-05-27 00:46:36.897056"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:46:36.905999"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:46:36.905999"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 19:46:36 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.1ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.5ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (34.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (39.1ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 65ms (Views: 49.4ms | ActiveRecord: 1.8ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 19:46:37 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 19:46:37 -0500  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:38.353543"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:38.353543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:38.355389"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:46:38.355389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 29], ["created_at", "2014-05-27 00:46:38.357270"], ["role_id", 22], ["updated_at", "2014-05-27 00:46:38.357270"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:38.359869"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$bCqCdAfb.7o9A/cEKNcybevgGCoNbiG8mf3d3dQr91m.uP8Q5C6wu"], ["role_id", 22], ["updated_at", "2014-05-27 00:46:38.359869"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 22]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:38.375663"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:38.375663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:38.377491"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:46:38.377491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 29], ["created_at", "2014-05-27 00:46:38.379382"], ["role_id", 22], ["updated_at", "2014-05-27 00:46:38.379382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:38.381903"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$MrY0hv0tqOdNv6r3aAJNP.hiZDYJK6rrnzNf11/wFyHKl9OAqaLSW"], ["role_id", 22], ["updated_at", "2014-05-27 00:46:38.381903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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", 22]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:53.742228"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:53.742228"]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:53.748427"], ["name", "editor"], ["updated_at", "2014-05-27 00:46:53.748427"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:53.750776"], ["name", "admin"], ["updated_at", "2014-05-27 00:46:53.750776"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:46:53.755671"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:46:53.755671"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:46:53.758671"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:46:53.758671"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:46:53.760410"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:46:53.760410"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:46:53.762123"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:46:53.762123"]]  (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.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 (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:46:53.777607"], ["role_id", 1], ["updated_at", "2014-05-27 00:46:53.777607"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:46:53.782320"], ["role_id", 2], ["updated_at", "2014-05-27 00:46:53.782320"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:46:53.784225"], ["role_id", 3], ["updated_at", "2014-05-27 00:46:53.784225"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:46:53.786127"], ["role_id", 2], ["updated_at", "2014-05-27 00:46:53.786127"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:46:53.788031"], ["role_id", 3], ["updated_at", "2014-05-27 00:46:53.788031"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 00:46:53.789988"], ["role_id", 3], ["updated_at", "2014-05-27 00:46:53.789988"]]  (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-05-27 00:46:53.792524"], ["role_id", 3], ["updated_at", "2014-05-27 00:46:53.792524"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:53.806752"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:53.806752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:53.816669"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$nFOX4ve8eLo4XOBCEORJ1Oei3tz8o7hbmOImZBLk4UMeumFTTCTye"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:53.816669"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:46:53.816669"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$nFOX4ve8eLo4XOBCEORJ1Oei3tz8o7hbmOImZBLk4UMeumFTTCTye"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:46:53.816669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:53.961873"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-27 00:46:53.961873"], ["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::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:46:53.969701"], ["updated_at", "2014-05-27 00:46:53.969701"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #1. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:46:53.977433"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:53.984784"], ["name", "admin"], ["updated_at", "2014-05-27 00:46:53.984784"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:53.986563"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:46:53.986563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:46:53.988344"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:53.988344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:53.989523"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:46:53.989523"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:46:53.991319"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:53.991319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:53.992561"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:46:53.992561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:46:53.993798"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:53.993798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:53.994859"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:46:53.994859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:46:53.996023"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:53.996023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:53.997687"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$WvIYlCC/ZbfV8XK/vzEqqu3YPH3RMQe0XE5eff3PQLe4m.vhAp/bu"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:53.997687"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user2@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:46:53.997687"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$WvIYlCC/ZbfV8XK/vzEqqu3YPH3RMQe0XE5eff3PQLe4m.vhAp/bu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:46:53.997687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.007264"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 00:46:54.007264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:54 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (18.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 92ms (Views: 77.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:46:54.133343"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:46:54.133343"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:46:54.134350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:46:54 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (12.7ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (19.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (21.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 48ms (Views: 45.1ms | ActiveRecord: 1.5ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.207563"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:54.207563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:54.209634"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$0M7QsgmuHGGMddx5ugBbVeGenb/MSsT4wwd6Xax2zLgrhPJYPphgW"], ["role_id", 26], ["updated_at", "2014-05-27 00:46:54.209634"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.212870"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:54.212870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:54.214432"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$p.ILjiC9Ha3UdLpSnfHFDOg.fNncf11c.QtmwIoO79R8zvS/YDjpS"], ["role_id", 27], ["updated_at", "2014-05-27 00:46:54.214432"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.217497"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:54.217497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:54.219020"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$5Z9AgBLjazG4tkqTGcEV6u3XC6YWGs6lGRhUotqv5rjOFiGmUDQo6"], ["role_id", 28], ["updated_at", "2014-05-27 00:46:54.219020"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:46:54 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 26]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 27]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 28]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (7.5ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 18.4ms | ActiveRecord: 0.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.349819"], ["name", "admin"], ["updated_at", "2014-05-27 00:46:54.349819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.351413"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:46:54.351413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:46:54.352967"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:54.352967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.354112"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:46:54.354112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:46:54.355566"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:54.355566"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.357132"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:46:54.357132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:46:54.358404"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:54.358404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.359463"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:46:54.359463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:46:54.360706"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:54.360706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:54.362455"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$FrHbJ1XPHf9N4QUBc3AOvOzKYOA6LKInmLrkGclB1n90lboKDdoiO"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:54.362455"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user6@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:46:54.362455"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$FrHbJ1XPHf9N4QUBc3AOvOzKYOA6LKInmLrkGclB1n90lboKDdoiO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:46:54.362455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.366641"], ["title", "Site Title 2"], ["updated_at", "2014-05-27 00:46:54.366641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:54 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:46:54.380437"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:46:54.380437"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:46:54.380853"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:46:54 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.412234"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:54.412234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:54.414303"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$aLDE2oftLHt7GGeHGqAJleYxDvheHsJzfykWa43A6SobHorevxrCm"], ["role_id", 26], ["updated_at", "2014-05-27 00:46:54.414303"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users/2/edit" for 127.0.0.1 at 2014-05-26 19:46:54 -0500 Processing by Storytime::Dashboard::UsersController#edit as HTML Parameters: {"id"=>"2"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]] Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/edit.html.erb within layouts/storytime/dashboard (9.1ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 15.8ms | ActiveRecord: 0.8ms) Started PATCH "/dashboard/users/2" for 127.0.0.1 at 2014-05-26 19:46:54 -0500 Processing by Storytime::Dashboard::UsersController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"new_email@example.com", "role_id"=>"26"}, "commit"=>"Update User", "id"=>"2"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]]  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'new_email@example.com' AND "storytime_users"."id" != 2) LIMIT 1 SQL (0.1ms) UPDATE "storytime_users" SET "email" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 2 [["email", "new_email@example.com"], ["updated_at", "2014-05-27 00:46:54.448352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/users Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:46:54 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 26]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (2.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (2.9ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 8.1ms | ActiveRecord: 0.6ms)  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.480823"], ["name", "admin"], ["updated_at", "2014-05-27 00:46:54.480823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.482553"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:46:54.482553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:46:54.484209"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:54.484209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.485423"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:46:54.485423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:46:54.488237"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:54.488237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.490281"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:46:54.490281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:46:54.492500"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:54.492500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.494370"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:46:54.494370"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:46:54.496339"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:54.496339"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:54.499043"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$Ca6fnmPXwmejC9PIe3i1i.MGORTE621g0vaxqqjJ3Xkn.mFyCgxYO"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:54.499043"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user8@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:46:54.499043"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$Ca6fnmPXwmejC9PIe3i1i.MGORTE621g0vaxqqjJ3Xkn.mFyCgxYO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:46:54.499043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.505136"], ["title", "Site Title 3"], ["updated_at", "2014-05-27 00:46:54.505136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:54 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user8@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:46:54.523798"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:46:54.523798"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:46:54.524247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:46:54 -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.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 11.8ms | ActiveRecord: 1.0ms) Started GET "/dashboard/users/new" for 127.0.0.1 at 2014-05-26 19:46:54 -0500 Processing by Storytime::Dashboard::UsersController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/new.html.erb within layouts/storytime/dashboard (8.5ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 15.5ms | ActiveRecord: 0.7ms) Started POST "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:46:54 -0500 Processing by Storytime::Dashboard::UsersController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"new_user@example.com", "role_id"=>"1", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Create User"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]]  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'new_user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:54.658641"], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$SNI3IYyoslw17Zl2NXSCvOSKfOW6DJqCUTZY1hyGLdVFmNMIPOQ/C"], ["role_id", 1], ["updated_at", "2014-05-27 00:46:54.658641"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/users Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:46:54 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (3.0ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 8.5ms | ActiveRecord: 0.6ms)  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.702932"], ["name", "admin"], ["updated_at", "2014-05-27 00:46:54.702932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.704486"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:46:54.704486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:46:54.706031"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:54.706031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.707195"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:46:54.707195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:46:54.708765"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:54.708765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.710150"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:46:54.710150"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:46:54.711509"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:54.711509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.712596"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:46:54.712596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:46:54.713797"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:54.713797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:54.715491"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$NrFqnbiDJyyArSSRqzzTluig9EnT9icMIxV3fwn3BKqXce6r3kuWC"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:54.715491"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user9@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:46:54.715491"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$NrFqnbiDJyyArSSRqzzTluig9EnT9icMIxV3fwn3BKqXce6r3kuWC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:46:54.715491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:54.719702"], ["title", "Site Title 4"], ["updated_at", "2014-05-27 00:46:54.719702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:56 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 19:46:56 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 19:46:56 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:56 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:46:56.978499"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:46:56.978499"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:46:56.979716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49482/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:46:56 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.1ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:57.055994"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:57.055994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:57.058199"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$XZa8ac.6i9cUNHI4aUs2.e1yNypGOaRoWLiBfllXVm.rD/nPM9e7a"], ["role_id", 26], ["updated_at", "2014-05-27 00:46:57.058199"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:57.061518"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:57.061518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:57.063203"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$SfMq4WlNjRQBMr32kFG./Os8OJjZKHDf/0SCQyH4H45KOvoyNly1e"], ["role_id", 27], ["updated_at", "2014-05-27 00:46:57.063203"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:57.066355"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:57.066355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:57.067956"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$YblUWv2ciZpQKU0AIn3lmedSu3NpnoLcrN1mDBdrkCTZUjGlDbDse"], ["role_id", 28], ["updated_at", "2014-05-27 00:46:57.067956"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 19:46:57 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 26]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 27]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 28]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/index.html.erb within layouts/storytime/dashboard (5.3ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.5ms | ActiveRecord: 0.8ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 19:46:57 -0500 Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" DESC LIMIT 1 Started DELETE "/dashboard/users/4" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Storytime::Dashboard::UsersController#destroy as JS Parameters: {"id"=>"4"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 4]] 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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_users" WHERE "storytime_users"."id" = ? [["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 11ms (ActiveRecord: 0.7ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 4]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.110369"], ["name", "admin"], ["updated_at", "2014-05-27 00:46:58.110369"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.112611"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:46:58.112611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:46:58.114813"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.114813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.117012"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:46:58.117012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:46:58.118955"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.118955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.120645"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:46:58.120645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:46:58.122312"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.122312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.123828"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:46:58.123828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:46:58.125151"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.125151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.126933"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$Q.IfFjvSIWmBZixYe6dcIuQNzx3Kbs//cNZDEUjqDn0j7dXsuocsa"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.126933"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user13@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:46:58.126933"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$Q.IfFjvSIWmBZixYe6dcIuQNzx3Kbs//cNZDEUjqDn0j7dXsuocsa"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:46:58.126933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.131404"], ["title", "Site Title 5"], ["updated_at", "2014-05-27 00:46:58.131404"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:46:58.147786"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:46:58.147786"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:46:58.148789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:46:58 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (3.2ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.183619"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:58.183619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.185622"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$irHfW5hgU.PA17LujW27lO/7FTS7tpIvx61N3GHHyUSbbSw2jQArq"], ["role_id", 26], ["updated_at", "2014-05-27 00:46:58.185622"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.195352"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-27 00:46:58.195352"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:46:58.199068"], ["updated_at", "2014-05-27 00:46:58.199068"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #1. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.203276"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:58.203276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.204975"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$rXFkdjo3RfmZOB3XHgZhmepGmFPPllNUFkQcA.QpwgOdtGW9uDxPu"], ["role_id", 27], ["updated_at", "2014-05-27 00:46:58.204975"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.206897"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-27 00:46:58.206897"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:46:58.208596"], ["updated_at", "2014-05-27 00:46:58.208596"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.212502"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:58.212502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.214118"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$KiggsE5FuY49ZPuQ.XZNxOhQnlJViqm56S6d4jEXq0MkOUVRL7nOO"], ["role_id", 28], ["updated_at", "2014-05-27 00:46:58.214118"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.216020"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-27 00:46:58.216020"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:46:58.217689"], ["updated_at", "2014-05-27 00:46:58.217689"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (7.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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 16.2ms | ActiveRecord: 0.9ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.309452"], ["name", "admin"], ["updated_at", "2014-05-27 00:46:58.309452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.311042"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:46:58.311042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:46:58.312611"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.312611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.313766"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:46:58.313766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:46:58.315009"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.315009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.316675"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:46:58.316675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:46:58.318044"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.318044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.319183"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:46:58.319183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:46:58.320382"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.320382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.322151"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$9u57xtGrNuLGqw86mSV3Z.ZFhcML36RS/Ih7ytkv2OLhriJeDYYla"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.322151"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user17@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:46:58.322151"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$9u57xtGrNuLGqw86mSV3Z.ZFhcML36RS/Ih7ytkv2OLhriJeDYYla"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:46:58.322151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.326371"], ["title", "Site Title 6"], ["updated_at", "2014-05-27 00:46:58.326371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user17@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:46:58.340882"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:46:58.340882"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:46:58.341336"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:46:58 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (1.5ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (6.3ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (13.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (28.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (31.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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 47ms (Views: 37.7ms | ActiveRecord: 1.6ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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.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]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.435254"], ["excerpt", "It was a dark and stormy night..."], ["published", "f"], ["title", "The Story"], ["updated_at", "2014-05-27 00:46:58.435254"], ["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", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:46:58.437131"], ["updated_at", "2014-05-27 00:46:58.437131"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 11ms (ActiveRecord: 1.1ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.7ms) 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::Post"]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (6.2ms) 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (12.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (23.4ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 29.5ms | ActiveRecord: 2.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 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"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.534739"], ["name", "admin"], ["updated_at", "2014-05-27 00:46:58.534739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.536537"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:46:58.536537"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:46:58.540067"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.540067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.541859"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:46:58.541859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:46:58.543397"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.543397"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.544718"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:46:58.544718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:46:58.546033"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.546033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.547203"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:46:58.547203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:46:58.548458"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.548458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.550221"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$lLDyiyRYS1vYfRCQOHCmXeR7ct2cL97hTWzkloadyr2/LJMj31qde"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.550221"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user18@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:46:58.550221"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$lLDyiyRYS1vYfRCQOHCmXeR7ct2cL97hTWzkloadyr2/LJMj31qde"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:46:58.550221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.554592"], ["title", "Site Title 7"], ["updated_at", "2014-05-27 00:46:58.554592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user18@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:46:58.569718"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:46:58.569718"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:46:58.570202"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:46: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#index 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.2ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 11.4ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.607132"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:58.607132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.609565"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$7YPR4c6C0TCiX4GnJFHRee2mi9Sl3s6W93FF8IxzVXoR18506YjW6"], ["role_id", 26], ["updated_at", "2014-05-27 00:46:58.609565"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.612029"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "f"], ["title", "Post #4"], ["updated_at", "2014-05-27 00:46:58.612029"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:46:58.614174"], ["updated_at", "2014-05-27 00:46:58.614174"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.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::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (1.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", 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.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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (11.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 31ms (Views: 24.0ms | ActiveRecord: 1.5ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #4. It was a dark and stormy night.", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.0ms) SAVEPOINT active_record_1 Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] 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", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["title", "The Story"], ["updated_at", "2014-05-27 00:46:58.664952"]] 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"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:46:58.667143"], ["updated_at", "2014-05-27 00:46:58.667143"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 12ms (ActiveRecord: 1.1ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.0ms) 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::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (9.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", 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.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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (12.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (24.9ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 37ms (Views: 30.2ms | ActiveRecord: 1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.753083"], ["name", "admin"], ["updated_at", "2014-05-27 00:46:58.753083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.754716"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:46:58.754716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:46:58.756358"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.756358"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.757582"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:46:58.757582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:46:58.759859"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.759859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.762243"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:46:58.762243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:46:58.764542"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.764542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.766623"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:46:58.766623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:46:58.768237"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.768237"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.770243"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$7OiP4VtDg1rICiskla3F.uaUoDvT9tx5TPb4J8OUT5Op2OE1tMpOu"], ["role_id", 25], ["updated_at", "2014-05-27 00:46:58.770243"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user20@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:46:58.770243"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$7OiP4VtDg1rICiskla3F.uaUoDvT9tx5TPb4J8OUT5Op2OE1tMpOu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:46:58.770243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.774828"], ["title", "Site Title 8"], ["updated_at", "2014-05-27 00:46:58.774828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:46:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user20@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:46:58.891294"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:46:58.891294"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:46:58.892311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49482/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:46:58 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.968776"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:58.968776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.970913"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$Q/D3xWhbAYPkF2oJvF36DeWvymddbpk31J1xeYEqoG8zj93keI4Ou"], ["role_id", 26], ["updated_at", "2014-05-27 00:46:58.970913"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.973072"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-27 00:46:58.973072"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:46:58.975073"], ["updated_at", "2014-05-27 00:46:58.975073"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #5. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.979723"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:58.979723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.981580"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$svYWqw0kqVSnkELEExj0QuMM9soKPiZ2WbhSnjN8HbJvfmwgi0d/."], ["role_id", 27], ["updated_at", "2014-05-27 00:46:58.981580"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.983635"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "t"], ["title", "Post #6"], ["updated_at", "2014-05-27 00:46:58.983635"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:46:58.985452"], ["updated_at", "2014-05-27 00:46:58.985452"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:46:58.989561"], ["name", "writer"], ["updated_at", "2014-05-27 00:46:58.989561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.991240"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$NoeklIlX5ODJjuZwV/eI6.DS6pbyWHVCs89fUA9BVL.yIDirMa4iG"], ["role_id", 28], ["updated_at", "2014-05-27 00:46:58.991240"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:46:58.993168"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-27 00:46:58.993168"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:46:58.994928"], ["updated_at", "2014-05-27 00:46:58.994928"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 19:46:59 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.3ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 11.5ms | ActiveRecord: 0.8ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-26 19:46:59 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.1ms) SAVEPOINT active_record_1 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 (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 13ms (ActiveRecord: 1.2ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.025528"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.025528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.027221"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.027221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.028958"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.028958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.031380"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$euE.eXFkMI0OfC8/dL7GsO8m2k/wziPRWcktS6mIdJj4U9yuqlvvG"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.031380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.038035"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.038035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.039674"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.039674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.041314"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.041314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.043129"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$WtejuhtN/.kHA0S6kVNfROUEuyDLCbLvcfe5XcjE.jNe56H/dX8Vm"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.043129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.050389"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.050389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.052063"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.052063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.053689"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.053689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.055574"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$NyNzJFJ.DengkV6odplFZOPFD1ZYjMHrRUIeH9tF/wimSeTwrwrVa"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.055574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.063842"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.063842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.067075"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.067075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.069773"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.069773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.072044"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$WXcwutVUbXS4h1qBpEj8LOxgbEoCSO/AjZYrKXe8PaFIiNY0LjI6S"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.072044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.078823"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.078823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.080544"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.080544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.082224"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.082224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.084051"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$EUPh0iWIb8KBQilK5L0S4.KNIS3BrxGKQKEMy9R7ihMIubtYqfejq"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.084051"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 25]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.103116"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.103116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.104869"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.104869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.106544"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.106544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.108406"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$KXENzzPJ6ND2K.A2Rhjr2OJCoCP0qn9xXmNLsKpPn3URbzBeM6Tpa"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.108406"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.112057"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.112057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.120188"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.120188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.121951"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.121951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.123948"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.123948"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.125870"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$sWIF7ZBvf03xPqE/NVpQLuvTs2rpXKfGlZK4ko9gpIuh1tfD3TC1q"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.125870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.129766"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.129766"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 25]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.138294"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.138294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.139982"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.139982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.141719"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.141719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.143714"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$9OHcwHbffuJsib.T3bMX9OdcCsqWYvzGyz4V8lBRA1OCINBvIGKGq"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.143714"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.149517"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.149517"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 25]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.160030"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.160030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.161739"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.161739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.163448"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.163448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.164719"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.164719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.166031"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.166031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.168534"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$eEN1gY80mSvwlUXYx/3AyO152ESWv8DSGctiMqBpDNr/hmeNosty."], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.168534"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user35@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.168534"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$eEN1gY80mSvwlUXYx/3AyO152ESWv8DSGctiMqBpDNr/hmeNosty."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.168534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.178455"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.178455"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.181335"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.181335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.184337"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.184337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.186461"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.186461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.188152"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.188152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.190382"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$DGZ/t/Wg2DvBM.3uiL.mhOVWu/yZ/iTpE3CvTHi6NzwhL7Xt0Jmlm"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.190382"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user36@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.190382"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$DGZ/t/Wg2DvBM.3uiL.mhOVWu/yZ/iTpE3CvTHi6NzwhL7Xt0Jmlm"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.190382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.201378"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.201378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.203301"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.203301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.205062"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.205062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.206335"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.206335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.208066"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.208066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user37@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.210310"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$aede4jqESb9bNyGniSCGo.hznRhqg4rhot464bXbPeNpNhKKPdR8G"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.210310"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user37@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.210310"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$aede4jqESb9bNyGniSCGo.hznRhqg4rhot464bXbPeNpNhKKPdR8G"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.210310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.223231"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.223231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.225004"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.225004"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.226740"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.226740"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.228014"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.228014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.229329"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.229329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.231656"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$SNoKkhVbCy98k88P/T.kk.yILydiTCCjEq8hP7bF5obCvqRjNeXvu"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.231656"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user38@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.231656"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$SNoKkhVbCy98k88P/T.kk.yILydiTCCjEq8hP7bF5obCvqRjNeXvu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.231656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.241990"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.241990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.243909"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.243909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.245785"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.245785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.247299"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.247299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.250394"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.250394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user39@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.252773"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$ZcGQhVdznGQH4ehPDvh9dOJcYuvlBFiz0HJIgXIxi1rYcRGWv.mRC"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.252773"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user39@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.252773"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$ZcGQhVdznGQH4ehPDvh9dOJcYuvlBFiz0HJIgXIxi1rYcRGWv.mRC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.252773"]]  (0.0ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.268346"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.268346"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.270339"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.270339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.272055"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.272055"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.273771"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.273771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.275274"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.275274"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.277240"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$VHWoHtHb0DdOxV8Ib/mc6OPkFfBa/0FgU0NH8hJyaQ9n.PI3gT4Si"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.277240"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user40@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.277240"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$VHWoHtHb0DdOxV8Ib/mc6OPkFfBa/0FgU0NH8hJyaQ9n.PI3gT4Si"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.277240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.283185"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.283185"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.289023"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.289023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.290847"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.290847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.292809"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.292809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.294342"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.294342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.296414"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.296414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user42@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.299457"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$AR70aZ7eOdiKmzhznZzBnuy2RQqfDYCTl0FZZQP5kAlhmQ5Cpbjky"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.299457"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user42@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.299457"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$AR70aZ7eOdiKmzhznZzBnuy2RQqfDYCTl0FZZQP5kAlhmQ5Cpbjky"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.299457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.305835"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.305835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.313221"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.313221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.315707"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.315707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.318278"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.318278"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.320127"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.320127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.321770"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.321770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user44@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.323793"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$2/KmRmKOhxs91lsE0YKFO.0DHCGL7pFxsXXP69Wgm5GhlJg4swxvq"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.323793"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user44@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.323793"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$2/KmRmKOhxs91lsE0YKFO.0DHCGL7pFxsXXP69Wgm5GhlJg4swxvq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.323793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.329909"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.329909"]]  (0.0ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.337708"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:00.337708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.339311"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.339311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.340962"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.340962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.342209"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.342209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.343503"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.343503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.345788"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:00.345788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:00.347442"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.347442"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.348718"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:00.348718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:00.350532"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.350532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user46@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.352417"], ["email", "user46@example.com"], ["encrypted_password", "$2a$04$qaJ1o/Tpq.EXinYqp050WOastYefCjkX3/wEhUnLkDxn8U5f.IhuO"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.352417"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user46@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.352417"], ["email", "user46@example.com"], ["encrypted_password", "$2a$04$qaJ1o/Tpq.EXinYqp050WOastYefCjkX3/wEhUnLkDxn8U5f.IhuO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.352417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.363162"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:00.363162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.365885"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.365885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.368913"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.368913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.371170"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.371170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.372780"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.372780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.374288"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:00.374288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:00.375708"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.375708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.376859"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:00.376859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:00.378151"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.378151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user47@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.379947"], ["email", "user47@example.com"], ["encrypted_password", "$2a$04$hjdAwXASMInXRioDoH/Zs.CkDYasd7v0I3PeNtt7pSofSnBBRzZ1u"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.379947"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user47@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.379947"], ["email", "user47@example.com"], ["encrypted_password", "$2a$04$hjdAwXASMInXRioDoH/Zs.CkDYasd7v0I3PeNtt7pSofSnBBRzZ1u"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.379947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.388895"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:00.388895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.390503"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.390503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.392123"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.392123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.393393"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.393393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.394718"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.394718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.396952"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:00.396952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:00.398602"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.398602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.399853"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:00.399853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:00.401299"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.401299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user48@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.403176"], ["email", "user48@example.com"], ["encrypted_password", "$2a$04$0Yv.S30EqulcOqcgdSkXCOoO2CyjFxRG7ZjolhnldD328NGKNCypq"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.403176"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user48@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.403176"], ["email", "user48@example.com"], ["encrypted_password", "$2a$04$0Yv.S30EqulcOqcgdSkXCOoO2CyjFxRG7ZjolhnldD328NGKNCypq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.403176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.412337"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:00.412337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.414274"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.414274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.417108"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.417108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.419940"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.419940"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.421751"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.421751"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.423057"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:00.423057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:00.424436"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.424436"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.425612"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:00.425612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:00.426985"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.426985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user49@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.428771"], ["email", "user49@example.com"], ["encrypted_password", "$2a$04$K.q9xOiHv1FBiVfdet..l.PbKwRhaQ9AvxuD4nm0l9ONATCluU9QC"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.428771"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user49@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.428771"], ["email", "user49@example.com"], ["encrypted_password", "$2a$04$K.q9xOiHv1FBiVfdet..l.PbKwRhaQ9AvxuD4nm0l9ONATCluU9QC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.428771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.438974"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:00.438974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.440634"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.440634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.442256"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.442256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.443494"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.443494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.444977"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.444977"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.447653"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:00.447653"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:00.450447"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.450447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.452418"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:00.452418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:00.453984"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.453984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user50@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.456427"], ["email", "user50@example.com"], ["encrypted_password", "$2a$04$czi3EuSQkg40gNMfKQS0nObjnwuf1Ui.a1FEkcmtH/P6GLs50B7Za"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.456427"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user50@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.456427"], ["email", "user50@example.com"], ["encrypted_password", "$2a$04$czi3EuSQkg40gNMfKQS0nObjnwuf1Ui.a1FEkcmtH/P6GLs50B7Za"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.456427"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.469995"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:00.469995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.471870"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.471870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.473670"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.473670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.474949"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.474949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.477222"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.477222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.479219"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:00.479219"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:00.481050"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.481050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.482770"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:00.482770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:00.484267"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.484267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user51@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.486239"], ["email", "user51@example.com"], ["encrypted_password", "$2a$04$XeMT.cjG8tVJrp8GG96Tjeussu1Tg/OYTk2LGcYSS92u46lhTVctG"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.486239"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user51@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.486239"], ["email", "user51@example.com"], ["encrypted_password", "$2a$04$XeMT.cjG8tVJrp8GG96Tjeussu1Tg/OYTk2LGcYSS92u46lhTVctG"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.486239"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.492102"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.492102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.497750"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:00.497750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.499314"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.499314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.501060"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.501060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.502549"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.502549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.503991"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.503991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.505791"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:00.505791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:00.507252"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.507252"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.508446"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:00.508446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:00.509741"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.509741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user53@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.511538"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$PRMJJV1q3bxzr/vhE8Ilr.hcBrWPX9i9m5zoqrwu5eYqzrpPk3Ql6"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.511538"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user53@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.511538"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$PRMJJV1q3bxzr/vhE8Ilr.hcBrWPX9i9m5zoqrwu5eYqzrpPk3Ql6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.511538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.520160"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.520160"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.527985"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:00.527985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.529587"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.529587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.531223"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.531223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.532474"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.532474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.533741"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.533741"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.535711"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:00.535711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:00.537464"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.537464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.538654"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:00.538654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:00.539981"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.539981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user55@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.541755"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$XZwtNcE3YwLqwjpHGKZ5CuV5MrqCz5bgzE42bO82A/pH2Cd4BQY52"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.541755"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user55@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.541755"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$XZwtNcE3YwLqwjpHGKZ5CuV5MrqCz5bgzE42bO82A/pH2Cd4BQY52"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.541755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.547651"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.547651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'tony@stark.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.555393"], ["email", "tony@stark.com"], ["encrypted_password", "$2a$04$/r/Q19S1KzPGqDZKje6o/uVmx5EOB/8X/NCrWc6BiITptXpT5uxwS"], ["updated_at", "2014-05-27 00:47:00.555393"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'tony@stark.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.555393"], ["email", "tony@stark.com"], ["encrypted_password", "$2a$04$/r/Q19S1KzPGqDZKje6o/uVmx5EOB/8X/NCrWc6BiITptXpT5uxwS"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.555393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.563737"], ["title", "Site Title 9"], ["updated_at", "2014-05-27 00:47:00.563737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.569316"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.569316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.572418"], ["email", "user57@example.com"], ["encrypted_password", "$2a$04$VWafl6xJgj4cPG8HQTfCnubzV5EqEqAahnPyWdbxak9CovB4lvcyW"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.572418"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user57@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.572418"], ["email", "user57@example.com"], ["encrypted_password", "$2a$04$VWafl6xJgj4cPG8HQTfCnubzV5EqEqAahnPyWdbxak9CovB4lvcyW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.572418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.579645"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-27 00:47:00.579645"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:00.582507"], ["updated_at", "2014-05-27 00:47:00.582507"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.586088"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-2" for 127.0.0.1 at 2014-05-26 19:47:00 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-2"} 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"."published" = 't' AND "storytime_pages"."slug" = 'page-2' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 17.4ms | ActiveRecord: 0.4ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.639776"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.639776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.641574"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.641574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.643254"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.643254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user58@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.645401"], ["email", "user58@example.com"], ["encrypted_password", "$2a$04$vDmkUT/H8UxRcw1Oc8lZ0u9HPe0VPl4FSiFdNoS1KdOv8S2BXP1IS"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.645401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.651912"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.651912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.653634"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.653634"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.655333"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.655333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user59@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.657235"], ["email", "user59@example.com"], ["encrypted_password", "$2a$04$hFookjW/9eRmn6kflDr1XeWn2.JiO8ZE4Ss6g0dZ3fH8DnFjx2tZK"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.657235"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.663911"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.663911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.665579"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.665579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.667335"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.667335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user60@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.669244"], ["email", "user60@example.com"], ["encrypted_password", "$2a$04$0X7LO6giqMtACj9z/4PWmOZJXua/iSvvGRHSDBAyVdCFz5f786yWW"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.669244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.676713"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.676713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.678440"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.678440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.680139"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.680139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user61@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.682799"], ["email", "user61@example.com"], ["encrypted_password", "$2a$04$Ukjq7Zk1zOKjCXLAGRbxUO2dQ.BTbm/HV69rvmH7Ph2Y.74oxFjX2"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.682799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.691508"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.691508"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.693652"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.693652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.695410"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.695410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user62@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.697505"], ["email", "user62@example.com"], ["encrypted_password", "$2a$04$Owmpf.f1b2ow5Ei3tcBIxeNbQIkIbGAZO56/OLtnjN4MCqN1reO1G"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.697505"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 25]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.708238"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.708238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.710284"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.710284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.712221"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.712221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user63@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.715490"], ["email", "user63@example.com"], ["encrypted_password", "$2a$04$NMu2EL0R9AsaSpi1ES8JEu3Creqmhu3Ch6/KfN8ks.Yz/5or2XV3G"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.715490"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.720501"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.720501"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.726538"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.726538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.737904"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.737904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.739914"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.739914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user65@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.741912"], ["email", "user65@example.com"], ["encrypted_password", "$2a$04$SjtBPzcrk02IocCrambeXeRdVO5Fa1WlUKh8rOS/D8I3z.GH7LpOq"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.741912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.745243"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.745243"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 25]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.752863"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.752863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.754637"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.754637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.756282"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.756282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.0ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user67@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.758191"], ["email", "user67@example.com"], ["encrypted_password", "$2a$04$dQ4yKfN.bnyfSflCINEivOHX6QuA2/WhRn0RX.15C5SdXSrc6vg2m"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.758191"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.761859"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.761859"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 25]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.772491"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.772491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.774390"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.774390"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.776226"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.776226"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.778367"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.778367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.779924"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.779924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user69@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.781909"], ["email", "user69@example.com"], ["encrypted_password", "$2a$04$y1cCi0f3QLQg24GrbXBEWeSzEEntMwrtgG5HLaplSOT6bkiMxSega"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.781909"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user69@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.781909"], ["email", "user69@example.com"], ["encrypted_password", "$2a$04$y1cCi0f3QLQg24GrbXBEWeSzEEntMwrtgG5HLaplSOT6bkiMxSega"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.781909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.790732"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.790732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.792354"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.792354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.793951"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.793951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.795147"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.795147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.796410"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.796410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user70@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.798995"], ["email", "user70@example.com"], ["encrypted_password", "$2a$04$VLnprG5ft7ysZu0zxildSu0KDppB2u64Rm71hAwF6obt3Gmu87Gs."], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.798995"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user70@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.798995"], ["email", "user70@example.com"], ["encrypted_password", "$2a$04$VLnprG5ft7ysZu0zxildSu0KDppB2u64Rm71hAwF6obt3Gmu87Gs."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.798995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.810295"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.810295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.812011"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.812011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.813675"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.813675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.815313"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.815313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.818486"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.818486"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user71@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.821218"], ["email", "user71@example.com"], ["encrypted_password", "$2a$04$/XFmCDukUBpBdNolOhdbxu/kOi91da/C.msAHPDinWvEru02LNgIi"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.821218"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user71@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.821218"], ["email", "user71@example.com"], ["encrypted_password", "$2a$04$/XFmCDukUBpBdNolOhdbxu/kOi91da/C.msAHPDinWvEru02LNgIi"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.821218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.830321"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.830321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.831941"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.831941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.833556"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.833556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.834775"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.834775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.836043"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.836043"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user72@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.838188"], ["email", "user72@example.com"], ["encrypted_password", "$2a$04$vka2UqkjFIuOmceFx8NCleJmzd78VXF9WTuC10CpQbCbVRFxlkuJq"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.838188"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user72@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.838188"], ["email", "user72@example.com"], ["encrypted_password", "$2a$04$vka2UqkjFIuOmceFx8NCleJmzd78VXF9WTuC10CpQbCbVRFxlkuJq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.838188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.847774"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.847774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.850166"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.850166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.852839"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.852839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.854512"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.854512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.856743"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.856743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user73@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.859240"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$Jt66Qm6Pho/Xw.UwTMyTAeoaYkT1fi8TpC6eLHjpHsAoUVl/hCpBy"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.859240"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user73@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.859240"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$Jt66Qm6Pho/Xw.UwTMyTAeoaYkT1fi8TpC6eLHjpHsAoUVl/hCpBy"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.859240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.869893"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.869893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.871464"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.871464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.873062"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.873062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.874253"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.874253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.875574"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.875574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user74@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.877859"], ["email", "user74@example.com"], ["encrypted_password", "$2a$04$rubN2n/W7KUu52sjQ5pmmeJzZACmJ5j5GbFMuxH.0v42yt3.0tVTG"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.877859"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user74@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.877859"], ["email", "user74@example.com"], ["encrypted_password", "$2a$04$rubN2n/W7KUu52sjQ5pmmeJzZACmJ5j5GbFMuxH.0v42yt3.0tVTG"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.877859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.886546"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.886546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.892494"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.892494"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.894196"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.894196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.895878"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.895878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.897142"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.897142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.898440"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.898440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user76@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.901764"], ["email", "user76@example.com"], ["encrypted_password", "$2a$04$t7LZQY.FP.QWZeDwS8zcpuQ0tWqxQhNOA8Uqk1EXmkrozaVrRcAGG"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.901764"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user76@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.901764"], ["email", "user76@example.com"], ["encrypted_password", "$2a$04$t7LZQY.FP.QWZeDwS8zcpuQ0tWqxQhNOA8Uqk1EXmkrozaVrRcAGG"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.901764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.908955"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.908955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.916039"], ["name", "editor"], ["updated_at", "2014-05-27 00:47:00.916039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.917589"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.917589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.919264"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.919264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.920478"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.920478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.921783"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.921783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user78@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.924410"], ["email", "user78@example.com"], ["encrypted_password", "$2a$04$dujUHKAkFZb8MU0AbUVfiuEW3.18h6MzJzNWJFkGZQVv1Yflp8Miq"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.924410"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user78@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.924410"], ["email", "user78@example.com"], ["encrypted_password", "$2a$04$dujUHKAkFZb8MU0AbUVfiuEW3.18h6MzJzNWJFkGZQVv1Yflp8Miq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.924410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.931386"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:00.931386"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.941657"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:00.941657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.943596"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.943596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.945393"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.945393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.946745"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.946745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.948224"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.948224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.949462"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:00.949462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:00.950746"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.950746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.951969"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:00.951969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:00.953826"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.953826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user80@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.955845"], ["email", "user80@example.com"], ["encrypted_password", "$2a$04$4.7I6q8Yrv0yK/BlfcBRfevy5PNRuzaRwkQwoO00qcFldje7k0UV6"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.955845"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user80@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.955845"], ["email", "user80@example.com"], ["encrypted_password", "$2a$04$4.7I6q8Yrv0yK/BlfcBRfevy5PNRuzaRwkQwoO00qcFldje7k0UV6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.955845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.965128"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:00.965128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.966893"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.966893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.968570"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.968570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.969924"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.969924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.971410"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.971410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.972893"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:00.972893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:00.974549"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.974549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.975829"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:00.975829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:00.977956"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.977956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user81@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:00.979866"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$zChOy2k5Wl1crZKvNakpR.V.CSceavxaXWLjpmO8OEuVtlXJTdShm"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.979866"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user81@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:00.979866"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$zChOy2k5Wl1crZKvNakpR.V.CSceavxaXWLjpmO8OEuVtlXJTdShm"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:00.979866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.991725"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:00.991725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.993480"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.993480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:00.995364"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.995364"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.996689"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:00.996689"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:00.998504"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:00.998504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:00.999835"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:00.999835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:01.001528"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.001528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.002882"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:01.002882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:01.004321"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.004321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user82@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.006165"], ["email", "user82@example.com"], ["encrypted_password", "$2a$04$At2mU4akQahWH/iMJE63e.NuArkW4vNM7BtXYtc/bqL2fIxXPU502"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.006165"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user82@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:01.006165"], ["email", "user82@example.com"], ["encrypted_password", "$2a$04$At2mU4akQahWH/iMJE63e.NuArkW4vNM7BtXYtc/bqL2fIxXPU502"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:01.006165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.016880"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:01.016880"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.018532"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.018532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:01.020235"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.020235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.022253"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.022253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:01.024212"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.024212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.025592"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:01.025592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:01.027014"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.027014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.028314"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:01.028314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:01.029628"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.029628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user83@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.031732"], ["email", "user83@example.com"], ["encrypted_password", "$2a$04$.5tul6KkibluM6CZD.ZhBOVdlHJLokENOpbANS.0OJdio.pDgihcy"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.031732"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user83@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:01.031732"], ["email", "user83@example.com"], ["encrypted_password", "$2a$04$.5tul6KkibluM6CZD.ZhBOVdlHJLokENOpbANS.0OJdio.pDgihcy"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:01.031732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.044255"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:01.044255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.046467"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.046467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:01.048185"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.048185"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.049424"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.049424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:01.051092"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.051092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.052620"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:01.052620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:01.054479"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.054479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.055908"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:01.055908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:01.057899"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.057899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user84@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.059875"], ["email", "user84@example.com"], ["encrypted_password", "$2a$04$mERzcDgkwA5Pc.k.KqwwOOMJXPoAABuazlHZf64I3q5fopDRo3Fqe"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.059875"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user84@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:01.059875"], ["email", "user84@example.com"], ["encrypted_password", "$2a$04$mERzcDgkwA5Pc.k.KqwwOOMJXPoAABuazlHZf64I3q5fopDRo3Fqe"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:01.059875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.071535"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:01.071535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.073284"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.073284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:01.075019"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.075019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.076760"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.076760"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:01.078956"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.078956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.080516"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:01.080516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:01.083075"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.083075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.086201"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:01.086201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:01.088365"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.088365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user85@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.090766"], ["email", "user85@example.com"], ["encrypted_password", "$2a$04$JGfyqiGUt.KDuGGkk1k70ecZWfbss4gUwXF50uHgkpa/U49EHpCDC"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.090766"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user85@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:01.090766"], ["email", "user85@example.com"], ["encrypted_password", "$2a$04$JGfyqiGUt.KDuGGkk1k70ecZWfbss4gUwXF50uHgkpa/U49EHpCDC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:01.090766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.097718"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:01.097718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.104920"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:01.104920"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.106787"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.106787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:01.108523"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.108523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.109854"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.109854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:01.111338"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.111338"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.112606"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:01.112606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:01.113985"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.113985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.115124"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:01.115124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:01.116386"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.116386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user87@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.119746"], ["email", "user87@example.com"], ["encrypted_password", "$2a$04$xWV.8mF6ojEU02YcjdVbC.4zaWhkNRvHdtKr7B6QTxn9tOC9dNepe"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.119746"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user87@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:01.119746"], ["email", "user87@example.com"], ["encrypted_password", "$2a$04$xWV.8mF6ojEU02YcjdVbC.4zaWhkNRvHdtKr7B6QTxn9tOC9dNepe"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:01.119746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.127287"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:01.127287"]]  (0.0ms) RELEASE SAVEPOINT active_record_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]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.136427"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:01.136427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.138637"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.138637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:01.141261"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.141261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.142616"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.142616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:01.144048"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.144048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.145258"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:01.145258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:01.146679"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.146679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.147863"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:01.147863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:01.149362"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.149362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user89@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.153294"], ["email", "user89@example.com"], ["encrypted_password", "$2a$04$vcm1QrrBDGadTCbZfMDfF.jtmkTaP4RWvZ04rMddjqVCjw8hz1cr6"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.153294"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user89@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:01.153294"], ["email", "user89@example.com"], ["encrypted_password", "$2a$04$vcm1QrrBDGadTCbZfMDfF.jtmkTaP4RWvZ04rMddjqVCjw8hz1cr6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:01.153294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.161491"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:01.161491"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.169521"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:01.169521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.171178"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.171178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:01.173560"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.173560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.175006"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.175006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:01.176381"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.176381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.177625"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:01.177625"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:01.178983"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.178983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.180096"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:01.180096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:01.181366"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.181366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user91@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.183132"], ["email", "user91@example.com"], ["encrypted_password", "$2a$04$lq4CcYL4W5g/kRYW/qloluGcGxey0a01xbLWvuTIjqnl7UgJB9w52"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.183132"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user91@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:01.183132"], ["email", "user91@example.com"], ["encrypted_password", "$2a$04$lq4CcYL4W5g/kRYW/qloluGcGxey0a01xbLWvuTIjqnl7UgJB9w52"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:01.183132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.187519"], ["title", "Site Title 10"], ["updated_at", "2014-05-27 00:47:01.187519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:01 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:01 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user91@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user91@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:47:01.202461"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:47:01.202461"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:47:01.203591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:47: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::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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (9.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 1.2ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.238303"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:01.238303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user92@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.240389"], ["email", "user92@example.com"], ["encrypted_password", "$2a$04$HYxTTxJ/mVj1tf.xR8t5ButSbRIj5/Bc4m1MM5L7oazo2o7A6Yixu"], ["role_id", 26], ["updated_at", "2014-05-27 00:47:01.240389"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-27' 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" = 'page-27') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.243953"], ["published", "t"], ["slug", "page-27"], ["title", "Page #27"], ["updated_at", "2014-05-27 00:47:01.243953"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #27. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:01.245947"], ["updated_at", "2014-05-27 00:47:01.245947"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #27. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-27' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.250583"], ["slug", "page-27"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.254179"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:01.254179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user93@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.256005"], ["email", "user93@example.com"], ["encrypted_password", "$2a$04$r1Apgw0S.1TQY2tZuDy8WOCiQWChWh8dXmQLQ9nNlC0361eQvxhwy"], ["role_id", 27], ["updated_at", "2014-05-27 00:47:01.256005"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-28' 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" = 'page-28') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.259301"], ["published", "t"], ["slug", "page-28"], ["title", "Page #28"], ["updated_at", "2014-05-27 00:47:01.259301"], ["user_id", 3]] 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::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #28. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:01.261130"], ["updated_at", "2014-05-27 00:47:01.261130"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #28. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-28' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.266361"], ["slug", "page-28"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.269765"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:01.269765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user94@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.271546"], ["email", "user94@example.com"], ["encrypted_password", "$2a$04$PbZb08M6xn0FPsLt7oqKMuMg.VaCjzu4omKGgbNuv2i.0JvEntkv6"], ["role_id", 28], ["updated_at", "2014-05-27 00:47:01.271546"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-29' 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" = 'page-29') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.274890"], ["published", "t"], ["slug", "page-29"], ["title", "Page #29"], ["updated_at", "2014-05-27 00:47:01.274890"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #29. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:01.276681"], ["updated_at", "2014-05-27 00:47:01.276681"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #29. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-29' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.279867"], ["slug", "page-29"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:47:01 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (7.8ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 34ms (Views: 26.7ms | ActiveRecord: 1.0ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.373636"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:01.373636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.375319"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.375319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:01.376935"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.376935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.378169"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.378169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:01.379440"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.379440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.381305"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:01.381305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:01.382670"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.382670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.383852"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:01.383852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:01.385106"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.385106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user95@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.386880"], ["email", "user95@example.com"], ["encrypted_password", "$2a$04$.xLf4kvvx4d21d1Qntz/WOrPEweOY0AiHVfrmh5HQQAjirFF3pzCm"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.386880"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user95@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:01.386880"], ["email", "user95@example.com"], ["encrypted_password", "$2a$04$.xLf4kvvx4d21d1Qntz/WOrPEweOY0AiHVfrmh5HQQAjirFF3pzCm"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:01.386880"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.391337"], ["title", "Site Title 11"], ["updated_at", "2014-05-27 00:47:01.391337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:01 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:01 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user95@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user95@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:47:01.406316"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:47:01.406316"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:47:01.406830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:47:01 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (3.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 14.5ms | ActiveRecord: 1.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-26 19:47:01 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (1.5ms) 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/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (10.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (13.9ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 21.0ms | ActiveRecord: 1.2ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:47:01 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Create Page"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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.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]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.489417"], ["published", "f"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-27 00:47:01.489417"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:47:01.491348"], ["updated_at", "2014-05-27 00:47:01.491348"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.493869"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-26 19:47:01 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (2.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", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (1.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", 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (9.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (14.7ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 21.0ms | ActiveRecord: 1.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.567110"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:01.567110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.568851"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.568851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:01.570522"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.570522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.571761"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.571761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:01.574034"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.574034"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.576079"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:01.576079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:01.577706"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.577706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.579012"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:01.579012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:01.580589"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.580589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user96@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.582507"], ["email", "user96@example.com"], ["encrypted_password", "$2a$04$8d49.dnTl6jb8tnp9kHqnORQNdKCMZrN75h6S1UOjpj1dH/KzK1Ue"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.582507"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user96@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:01.582507"], ["email", "user96@example.com"], ["encrypted_password", "$2a$04$8d49.dnTl6jb8tnp9kHqnORQNdKCMZrN75h6S1UOjpj1dH/KzK1Ue"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:01.582507"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.587109"], ["title", "Site Title 12"], ["updated_at", "2014-05-27 00:47:01.587109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:01 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:01 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user96@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user96@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:47:01.602369"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:47:01.602369"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:47:01.602858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:47: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::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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.636935"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:01.636935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user97@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.639025"], ["email", "user97@example.com"], ["encrypted_password", "$2a$04$uF3U3da.zKMznxfuZEO4CeZZiwD9OseSQc/LA8oV.S4XoiC1i2uG6"], ["role_id", 26], ["updated_at", "2014-05-27 00:47:01.639025"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-30' 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" = 'page-30') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.642459"], ["published", "f"], ["slug", "page-30"], ["title", "Page #30"], ["updated_at", "2014-05-27 00:47:01.642459"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #30. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:01.644336"], ["updated_at", "2014-05-27 00:47:01.644336"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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" = 'page-30' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.646828"], ["slug", "page-30"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-30/edit" for 127.0.0.1 at 2014-05-26 19:47:01 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-30"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-30' 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (2.7ms) 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"]] 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", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (1.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", 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_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (9.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (13.6ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 19.0ms | ActiveRecord: 1.4ms) Started PATCH "/dashboard/pages/page-30" for 127.0.0.1 at 2014-05-26 19:47:01 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Update Page", "id"=>"page-30"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-30' 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.0ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-27 00:47:01.691177"]] 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", 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) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 00:47:01.693588"], ["updated_at", "2014-05-27 00:47:01.693588"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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.0ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.696104"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 16ms (ActiveRecord: 1.4ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-26 19:47:01 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (2.7ms) 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"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/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", 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_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (10.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (16.8ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 22.0ms | ActiveRecord: 1.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.773790"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:01.773790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.775597"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.775597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:01.777354"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.777354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.778675"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:01.778675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:01.780788"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.780788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.782202"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:01.782202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:01.783668"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.783668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.784924"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:01.784924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:01.786259"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.786259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user98@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:01.788102"], ["email", "user98@example.com"], ["encrypted_password", "$2a$04$I1M4psVFaZoef89H3uSPje.IUVDAcDmRrCRy/EoPZNFK/D2FNpCMu"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:01.788102"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user98@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:01.788102"], ["email", "user98@example.com"], ["encrypted_password", "$2a$04$I1M4psVFaZoef89H3uSPje.IUVDAcDmRrCRy/EoPZNFK/D2FNpCMu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:01.788102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.792691"], ["title", "Site Title 13"], ["updated_at", "2014-05-27 00:47:01.792691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:01 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:01 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user98@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user98@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:47:01.912978"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:47:01.912978"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:47:01.914054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49482/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:47: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::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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.5ms) Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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.1ms) SELECT 1 AS one 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (8.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 17ms (Views: 14.4ms | ActiveRecord: 1.6ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:01.999507"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:01.999507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user99@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:02.001670"], ["email", "user99@example.com"], ["encrypted_password", "$2a$04$lbhqBnZzY1VI5u5zm8Mkbe5UNAqmHLeDArxb7Bhmra1EmbOW8TS4W"], ["role_id", 26], ["updated_at", "2014-05-27 00:47:02.001670"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-31' 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" = 'page-31') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:02.005292"], ["published", "t"], ["slug", "page-31"], ["title", "Page #31"], ["updated_at", "2014-05-27 00:47:02.005292"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #31. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:02.007270"], ["updated_at", "2014-05-27 00:47:02.007270"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #31. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-31' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:02.010607"], ["slug", "page-31"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:02.013779"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:02.013779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user100@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:02.015522"], ["email", "user100@example.com"], ["encrypted_password", "$2a$04$2/Axi2oD.K1ibyqACqk5guBT9Of0xFYAfKKUkvP3Zdi3MY1MhAa3K"], ["role_id", 27], ["updated_at", "2014-05-27 00:47:02.015522"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-32' 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" = 'page-32') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:02.018864"], ["published", "t"], ["slug", "page-32"], ["title", "Page #32"], ["updated_at", "2014-05-27 00:47:02.018864"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #32. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:02.020629"], ["updated_at", "2014-05-27 00:47:02.020629"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #32. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-32' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:02.024016"], ["slug", "page-32"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:02.027334"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:02.027334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user101@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:02.029016"], ["email", "user101@example.com"], ["encrypted_password", "$2a$04$As3ZmyHIajinTX2tPo3JSOMR1Lscq16J9iU4JouProlUgo5OwBhie"], ["role_id", 28], ["updated_at", "2014-05-27 00:47:02.029016"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-33' 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" = 'page-33') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:02.032219"], ["published", "t"], ["slug", "page-33"], ["title", "Page #33"], ["updated_at", "2014-05-27 00:47:02.032219"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #33. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:02.033963"], ["updated_at", "2014-05-27 00:47:02.033963"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #33. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-33' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:02.037485"], ["slug", "page-33"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 19:47:02 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (6.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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 12.9ms | ActiveRecord: 0.9ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-31" for 127.0.0.1 at 2014-05-26 19:47:02 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-31"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-31' 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.1ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) 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::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 13ms (ActiveRecord: 1.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.064487"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:03.064487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user102@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.066759"], ["email", "user102@example.com"], ["encrypted_password", "$2a$04$Ei.ODIMwqxXiPuUrO4eHAOUSPvzNXvyJBoYxd5vO2H8GJrzosDrTu"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:03.066759"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user102@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:03.066759"], ["email", "user102@example.com"], ["encrypted_password", "$2a$04$Ei.ODIMwqxXiPuUrO4eHAOUSPvzNXvyJBoYxd5vO2H8GJrzosDrTu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:03.066759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.073377"], ["excerpt", "Post #32. It was a dark and stormy night."], ["published", "t"], ["title", "Post #32"], ["updated_at", "2014-05-27 00:47:03.073377"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #32. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:03.075275"], ["updated_at", "2014-05-27 00:47:03.075275"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #32. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" ORDER BY "storytime_versions"."id" DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "New Content"], ["created_at", "2014-05-27 00:47:03.079388"], ["updated_at", "2014-05-27 00:47:03.079388"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #32. It was a dark and stormy night. The End.' WHERE "storytime_posts"."id" = 1 SQL (0.1ms) UPDATE "storytime_versions" SET "updated_at" = '2014-05-27 00:47:03.083853' WHERE "storytime_versions"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.088494"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:03.088494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user103@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.090571"], ["email", "user103@example.com"], ["encrypted_password", "$2a$04$bBKvYqbN28SXph9Mths0Deod42ACBZ4EiBe5lqmaJaoXe7LnrkiXG"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:03.090571"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user103@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:03.090571"], ["email", "user103@example.com"], ["encrypted_password", "$2a$04$bBKvYqbN28SXph9Mths0Deod42ACBZ4EiBe5lqmaJaoXe7LnrkiXG"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:03.090571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.096151"], ["excerpt", "Post #33. It was a dark and stormy night."], ["published", "t"], ["title", "Post #33"], ["updated_at", "2014-05-27 00:47:03.096151"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 00:47:03.098825"], ["updated_at", "2014-05-27 00:47:03.098825"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Testing 123', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "New Content"], ["created_at", "2014-05-27 00:47:03.102975"], ["updated_at", "2014-05-27 00:47:03.102975"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.110938"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:03.110938"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user104@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.113541"], ["email", "user104@example.com"], ["encrypted_password", "$2a$04$RZah.iGYLTlPp1zyCHcNvOdzZ24qZskYDREIeghGROlcelQqrMawu"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:03.113541"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user104@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:03.113541"], ["email", "user104@example.com"], ["encrypted_password", "$2a$04$RZah.iGYLTlPp1zyCHcNvOdzZ24qZskYDREIeghGROlcelQqrMawu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:03.113541"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.119293"], ["excerpt", "Post #34. It was a dark and stormy night."], ["published", "f"], ["title", "Post #34"], ["updated_at", "2014-05-27 00:47:03.119293"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 00:47:03.121374"], ["updated_at", "2014-05-27 00:47:03.121374"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "excerpt" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["excerpt", "New Excerpt"], ["updated_at", "2014-05-27 00:47:03.123103"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_versions"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.129798"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:03.129798"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user105@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.132852"], ["email", "user105@example.com"], ["encrypted_password", "$2a$04$JPY578RytvmDQaUONpWeyeBAZoz0wH46sXsvXU8dk4a7s1u5oVLB6"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:03.132852"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user105@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:03.132852"], ["email", "user105@example.com"], ["encrypted_password", "$2a$04$JPY578RytvmDQaUONpWeyeBAZoz0wH46sXsvXU8dk4a7s1u5oVLB6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:03.132852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.139000"], ["excerpt", "Post #35. It was a dark and stormy night."], ["published", "f"], ["title", "Post #35"], ["updated_at", "2014-05-27 00:47:03.139000"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 00:47:03.140917"], ["updated_at", "2014-05-27 00:47:03.140917"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions" 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"]] Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" ORDER BY "storytime_versions"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.149576"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:03.149576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user106@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.152291"], ["email", "user106@example.com"], ["encrypted_password", "$2a$04$Zx89Tr1qq2Siv8aWL9TfBu7XYd3VibZWw5YpiPDXBWCINvfGb5y4C"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:03.152291"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user106@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:03.152291"], ["email", "user106@example.com"], ["encrypted_password", "$2a$04$Zx89Tr1qq2Siv8aWL9TfBu7XYd3VibZWw5YpiPDXBWCINvfGb5y4C"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:03.152291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.163291"], ["excerpt", "Post #36. It was a dark and stormy night."], ["published", "f"], ["title", "Post #36"], ["updated_at", "2014-05-27 00:47:03.163291"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 00:47:03.165751"], ["updated_at", "2014-05-27 00:47:03.165751"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Testing 123', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.171848"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:03.171848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user107@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.174062"], ["email", "user107@example.com"], ["encrypted_password", "$2a$04$YircetcxKs7bJzPTQNS5a.8x.L/JTp5Mhw58N7ImKDh2qZHtOxdo2"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:03.174062"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user107@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:03.174062"], ["email", "user107@example.com"], ["encrypted_password", "$2a$04$YircetcxKs7bJzPTQNS5a.8x.L/JTp5Mhw58N7ImKDh2qZHtOxdo2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:03.174062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.180885"], ["excerpt", "Post #37. It was a dark and stormy night."], ["published", "f"], ["title", "Post #37"], ["updated_at", "2014-05-27 00:47:03.180885"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 00:47:03.184343"], ["updated_at", "2014-05-27 00:47:03.184343"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."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"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.193597"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:03.193597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user108@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.196261"], ["email", "user108@example.com"], ["encrypted_password", "$2a$04$Z4CDb48Di11zyO05ydPmW.nfXnN5JgoUZPat157T0x5kgtxnRiX3e"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:03.196261"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user108@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:03.196261"], ["email", "user108@example.com"], ["encrypted_password", "$2a$04$Z4CDb48Di11zyO05ydPmW.nfXnN5JgoUZPat157T0x5kgtxnRiX3e"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:03.196261"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.202340"], ["excerpt", "Post #38. It was a dark and stormy night."], ["published", "t"], ["title", "Post #38"], ["updated_at", "2014-05-27 00:47:03.202340"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #33. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:03.204381"], ["updated_at", "2014-05-27 00:47:03.204381"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #33. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.210027"], ["name", "tag1"], ["updated_at", "2014-05-27 00:47:03.210027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.212145"], ["name", "tag2"], ["updated_at", "2014-05-27 00:47:03.212145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.217631"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:47:03.217631"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.219121"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:47:03.219121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.226504"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:03.226504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user109@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.228861"], ["email", "user109@example.com"], ["encrypted_password", "$2a$04$Kbdy9O6m39EfzIqeeB47CeHe273YjFA4sEkEa6QcdkmIsb7lHTHfq"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:03.228861"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user109@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:03.228861"], ["email", "user109@example.com"], ["encrypted_password", "$2a$04$Kbdy9O6m39EfzIqeeB47CeHe273YjFA4sEkEa6QcdkmIsb7lHTHfq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:03.228861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.236020"], ["name", "tag1"], ["updated_at", "2014-05-27 00:47:03.236020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.238636"], ["name", "tag2"], ["updated_at", "2014-05-27 00:47:03.238636"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.244066"], ["excerpt", "Post #39. It was a dark and stormy night."], ["published", "t"], ["title", "Post #39"], ["updated_at", "2014-05-27 00:47:03.244066"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.245139"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:47:03.245139"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.246209"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:47:03.246209"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #34. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:03.248865"], ["updated_at", "2014-05-27 00:47:03.248865"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #34. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.253982"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:03.253982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user110@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.255856"], ["email", "user110@example.com"], ["encrypted_password", "$2a$04$5YdGBnoKWuZeiXljQZZp1u73WjjlL2/aWwyC6HCi9xNF1OmQ7KJ6e"], ["role_id", 26], ["updated_at", "2014-05-27 00:47:03.255856"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.259532"], ["excerpt", "Post #40. It was a dark and stormy night."], ["published", "t"], ["title", "Post #40"], ["updated_at", "2014-05-27 00:47:03.259532"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.260491"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-27 00:47:03.260491"]] 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", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #35. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:03.264360"], ["updated_at", "2014-05-27 00:47:03.264360"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #35. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.2ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.3ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.281144"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:03.281144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user111@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.283446"], ["email", "user111@example.com"], ["encrypted_password", "$2a$04$1dsyZo.uLLLaTPPoKTya1e9.15uajd97uRCQwycXN1rGoHDmSvcTy"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:03.283446"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user111@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:03.283446"], ["email", "user111@example.com"], ["encrypted_password", "$2a$04$1dsyZo.uLLLaTPPoKTya1e9.15uajd97uRCQwycXN1rGoHDmSvcTy"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:03.283446"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.291358"], ["name", "tag1"], ["updated_at", "2014-05-27 00:47:03.291358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.293792"], ["name", "tag2"], ["updated_at", "2014-05-27 00:47:03.293792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.297444"], ["excerpt", "Post #41. It was a dark and stormy night."], ["published", "t"], ["title", "Post #41"], ["updated_at", "2014-05-27 00:47:03.297444"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.298518"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:47:03.298518"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.299455"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:47:03.299455"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #36. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:03.302372"], ["updated_at", "2014-05-27 00:47:03.302372"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #36. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.307069"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:03.307069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user112@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.308937"], ["email", "user112@example.com"], ["encrypted_password", "$2a$04$a0NzS8ncf7SXvSw9B.InD.rZwGg9XcQq0HJn492LcEfZG9FX4fhcm"], ["role_id", 26], ["updated_at", "2014-05-27 00:47:03.308937"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.312683"], ["excerpt", "Post #42. It was a dark and stormy night."], ["published", "t"], ["title", "Post #42"], ["updated_at", "2014-05-27 00:47:03.312683"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.313690"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-27 00:47:03.313690"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #37. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:03.315743"], ["updated_at", "2014-05-27 00:47:03.315743"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #37. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 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" WHERE "storytime_tags"."name" = 'tag1' GROUP BY storytime_taggings.tag_id LIMIT 1 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" WHERE "storytime_tags"."name" = 'tag2' GROUP BY storytime_taggings.tag_id LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.326318"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:03.326318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.328861"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:03.328861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:03.331244"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:03.331244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.332799"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:03.332799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:03.334629"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:03.334629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.335978"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:03.335978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:03.337357"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:03.337357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:03.338539"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:03.338539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:03.339926"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:03.339926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user113@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.342336"], ["email", "user113@example.com"], ["encrypted_password", "$2a$04$aINrt6LFkyM4wD85W2KBl.l71W2ZSNZSlBuFfi7kWLgyrnVmMR3Dy"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:03.342336"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user113@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:03.342336"], ["email", "user113@example.com"], ["encrypted_password", "$2a$04$aINrt6LFkyM4wD85W2KBl.l71W2ZSNZSlBuFfi7kWLgyrnVmMR3Dy"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:03.342336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:03 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:03 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user113@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user113@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:47:03.362722"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:47:03.362722"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:47:03.363805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:47:03 -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.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://www.example.com/dashboard/sites/new Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:47:03 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' LIMIT 1 Storytime::Role Load (0.0ms) 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" = 3 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (14.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]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 23.8ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:47:03 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' LIMIT 1 Storytime::Role Load (0.0ms) 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" = 3 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (18.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (19.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]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 25.8ms | ActiveRecord: 0.7ms) Started POST "/dashboard/sites" for 127.0.0.1 at 2014-05-26 19:47:03 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Role Load (0.0ms) 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" = 3 LIMIT 1 [["role_id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:03.464022"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site"], ["updated_at", "2014-05-27 00:47:03.464022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/sites/1/edit Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:47:03 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.0ms) Storytime::Role Load (0.1ms) 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" Storytime::Action Load (0.0ms) 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", 4]] 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", 5]] 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", 6]] 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", 7]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 8]] 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", 9]] 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", 10]] 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", 11]] 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", 12]] 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", 13]] 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", 14]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 15]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 16]] 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", 17]] 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", 18]] 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", 19]] 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", 20]] 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", 21]] 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", 22]] 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", 23]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 24]] 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", 25]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (255.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]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 267ms (Views: 260.7ms | ActiveRecord: 3.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:04.078652"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:04.078652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:04.080201"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:04.080201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:04.081702"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:04.081702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:04.082835"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:04.082835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:04.084066"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:04.084066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:04.086560"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:04.086560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:04.088594"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:04.088594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:04.090433"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:04.090433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:04.092321"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:04.092321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user114@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:04.094113"], ["email", "user114@example.com"], ["encrypted_password", "$2a$04$mGPfjrV79M0ILWUDNQFkj.WOGblmRZqQd94JsGIVQ7xOFJJUWC7hO"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:04.094113"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user114@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:04.094113"], ["email", "user114@example.com"], ["encrypted_password", "$2a$04$mGPfjrV79M0ILWUDNQFkj.WOGblmRZqQd94JsGIVQ7xOFJJUWC7hO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:04.094113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:04.098404"], ["title", "Site Title 14"], ["updated_at", "2014-05-27 00:47:04.098404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:04 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:04 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user114@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user114@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:47:04.112774"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:47:04.112774"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:47:04.113250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:47:04 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 1.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:47:04 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 3 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (11.2ms) 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.4ms) 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" 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", 4]] 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", 5]] 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", 6]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 7]] 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", 8]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 9]] 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", 10]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 11]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 12]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 13]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 14]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 15]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 16]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 17]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 18]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 19]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 20]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 21]] 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", 22]] 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", 23]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 24]] 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", 25]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (227.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]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 240ms (Views: 230.9ms | ActiveRecord: 3.2ms) Started PATCH "/dashboard/sites/1" for 127.0.0.1 at 2014-05-26 19:47:04 -0500 Processing by Storytime::Dashboard::SitesController#update as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site's New Name", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Update Site", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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::Role Load (0.0ms) 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" = 3 LIMIT 1 [["role_id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_sites" SET "footer" = ?, "ga_tracking_id" = ?, "header" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_sites"."id" = 1 [["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site's New Name"], ["updated_at", "2014-05-27 00:47:04.478667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.6ms) 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.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" Storytime::Action Load (0.0ms) 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", 4]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 5]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 6]] 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", 7]] 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", 8]] 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", 9]] 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", 10]] 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", 11]] 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", 12]] 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", 13]] 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", 14]] 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", 15]] 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", 16]] 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", 17]] 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", 18]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 19]] 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", 20]] 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", 21]] 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", 22]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 23]] CACHE (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", 24]] CACHE (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", 25]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (232.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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 245ms (Views: 236.1ms | ActiveRecord: 3.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:05.076892"], ["name", "admin"], ["updated_at", "2014-05-27 00:47:05.076892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:05.078542"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:47:05.078542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 33], ["created_at", "2014-05-27 00:47:05.080157"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:05.080157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:05.081318"], ["name", "Manage Others' Posts/Pages"], ["updated_at", "2014-05-27 00:47:05.081318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 34], ["created_at", "2014-05-27 00:47:05.082561"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:05.082561"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:05.085075"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:47:05.085075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 35], ["created_at", "2014-05-27 00:47:05.087087"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:05.087087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:05.088943"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:47:05.088943"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 36], ["created_at", "2014-05-27 00:47:05.090680"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:05.090680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user115@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:05.092540"], ["email", "user115@example.com"], ["encrypted_password", "$2a$04$QWhE5W7rje/QYCTxlZmA6O3Pa6JUxlS4IH/FjsdY45n9eUlfZUBYu"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:05.092540"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user115@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:05.092540"], ["email", "user115@example.com"], ["encrypted_password", "$2a$04$QWhE5W7rje/QYCTxlZmA6O3Pa6JUxlS4IH/FjsdY45n9eUlfZUBYu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:05.092540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:05.096925"], ["title", "Site Title 15"], ["updated_at", "2014-05-27 00:47:05.096925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:05 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user115@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user115@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:47:05.111498"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:47:05.111498"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:47:05.112290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:47:05 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.8ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 19:47:05 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 19:47:05 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.4ms) Storytime::Role Load (0.1ms) 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.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" 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", 4]] 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", 5]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 6]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 7]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 8]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 9]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 10]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 11]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 12]] 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", 13]] 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", 14]] 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", 15]] 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", 16]] 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", 17]] 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", 18]] 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", 19]] 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", 20]] 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", 21]] 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", 22]] 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", 23]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.0ms) 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", 24]] 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", 25]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (288.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]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 299ms (Views: 292.6ms | ActiveRecord: 3.0ms)  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:05.840464"], ["title", "Site Title 16"], ["updated_at", "2014-05-27 00:47:05.840464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:05.843892"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:05.843892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user116@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:05.845877"], ["email", "user116@example.com"], ["encrypted_password", "$2a$04$2GJ5v2yeBKkE.3grY/pNc.buIBvp0YOgtM2QCmY7qydWEAVsqG5o6"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:05.845877"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user116@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:05.845877"], ["email", "user116@example.com"], ["encrypted_password", "$2a$04$2GJ5v2yeBKkE.3grY/pNc.buIBvp0YOgtM2QCmY7qydWEAVsqG5o6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:05.845877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:05.851094"], ["excerpt", "Post #43. It was a dark and stormy night."], ["published", "t"], ["title", "Post #43"], ["updated_at", "2014-05-27 00:47:05.851094"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #38. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:05.852905"], ["updated_at", "2014-05-27 00:47:05.852905"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #38. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:05.856842"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:05.856842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user117@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:05.858420"], ["email", "user117@example.com"], ["encrypted_password", "$2a$04$t8khSuK0o3RvhQuMWq/Qke8pC.94Rm7fuEYxMmdWcJgIzqSUnD0gq"], ["role_id", 26], ["updated_at", "2014-05-27 00:47:05.858420"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:05.860242"], ["excerpt", "Post #44. It was a dark and stormy night."], ["published", "t"], ["title", "Post #44"], ["updated_at", "2014-05-27 00:47:05.860242"], ["user_id", 2]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #39. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:05.861757"], ["updated_at", "2014-05-27 00:47:05.861757"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #39. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:05.865480"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:05.865480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user118@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:05.867151"], ["email", "user118@example.com"], ["encrypted_password", "$2a$04$J/7TnOZYPa5EMFuxVJuEN.h0.V3aE90RWOyJSxU/qeI.y2Wuz5Z.u"], ["role_id", 27], ["updated_at", "2014-05-27 00:47:05.867151"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:05.869118"], ["excerpt", "Post #45. It was a dark and stormy night."], ["published", "t"], ["title", "Post #45"], ["updated_at", "2014-05-27 00:47:05.869118"], ["user_id", 3]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #40. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:05.870705"], ["updated_at", "2014-05-27 00:47:05.870705"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #40. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-26 19:47:05 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 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]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.4ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.1ms) 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (10.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.9ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:05.986501"], ["title", "Site Title 17"], ["updated_at", "2014-05-27 00:47:05.986501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:05.989870"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:05.989870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user119@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:05.991864"], ["email", "user119@example.com"], ["encrypted_password", "$2a$04$Mko.C7GkdW.WjGMX3v3LDeDdVlzgKu0B0XmsEdUbTSpKXoeGbw7CK"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:05.991864"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user119@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:05.991864"], ["email", "user119@example.com"], ["encrypted_password", "$2a$04$Mko.C7GkdW.WjGMX3v3LDeDdVlzgKu0B0XmsEdUbTSpKXoeGbw7CK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:05.991864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:05.998784"], ["excerpt", "Post #46. It was a dark and stormy night."], ["published", "t"], ["title", "Post #46"], ["updated_at", "2014-05-27 00:47:05.998784"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #41. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:06.001404"], ["updated_at", "2014-05-27 00:47:06.001404"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #41. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-26 19:47:06 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} 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"."published" = 't' AND "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms Rendered text template (0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:06.068574"], ["title", "Site Title 18"], ["updated_at", "2014-05-27 00:47:06.068574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:06.071973"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:06.071973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user120@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:06.074291"], ["email", "user120@example.com"], ["encrypted_password", "$2a$04$RGrnYl9kBBuVwBLIo3u5cO2jv3TIq54cvXUzAjl5CkamSbTTOvDKK"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:06.074291"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user120@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:06.074291"], ["email", "user120@example.com"], ["encrypted_password", "$2a$04$RGrnYl9kBBuVwBLIo3u5cO2jv3TIq54cvXUzAjl5CkamSbTTOvDKK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:06.074291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 6ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:06.104729"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:06.104729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user121@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:06.108408"], ["email", "user121@example.com"], ["encrypted_password", "$2a$04$UlkEThoMU1/VRycnjydrxuhkN1gdcNARQkCrOVegahXbszJtmmc7W"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:06.108408"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user121@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:06.108408"], ["email", "user121@example.com"], ["encrypted_password", "$2a$04$UlkEThoMU1/VRycnjydrxuhkN1gdcNARQkCrOVegahXbszJtmmc7W"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:06.108408"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:06.129154"], ["title", "Site Title 19"], ["updated_at", "2014-05-27 00:47:06.129154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:06.132647"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:06.132647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user122@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:06.134853"], ["email", "user122@example.com"], ["encrypted_password", "$2a$04$BHGvo.P7FDROk9y5KkElbOA2V5OMPDEY/zrTHbVv8xC90Tf06FNJS"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:06.134853"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user122@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:06.134853"], ["email", "user122@example.com"], ["encrypted_password", "$2a$04$BHGvo.P7FDROk9y5KkElbOA2V5OMPDEY/zrTHbVv8xC90Tf06FNJS"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:06.134853"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:06 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:06 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user122@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user122@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:47:06.247748"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:47:06.247748"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:47:06.248662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49482/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:47:06 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.9ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:47:06 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.4ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 13.3ms | ActiveRecord: 0.8ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:47:06 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:06.448807"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:47:06.448807"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.4ms) Completed 200 OK in 29ms (Views: 14.3ms | ActiveRecord: 0.6ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:07.347610"], ["title", "Site Title 20"], ["updated_at", "2014-05-27 00:47:07.347610"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:07.350775"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:07.350775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user123@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:07.352696"], ["email", "user123@example.com"], ["encrypted_password", "$2a$04$lbkM1Vkw7jVgFKuazZxWTeg4kNermNvWkA6sap6DD2kOQA2PS9nUi"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:07.352696"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user123@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:07.352696"], ["email", "user123@example.com"], ["encrypted_password", "$2a$04$lbkM1Vkw7jVgFKuazZxWTeg4kNermNvWkA6sap6DD2kOQA2PS9nUi"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:07.352696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:07 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user123@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user123@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:47:07.371934"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:47:07.371934"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:47:07.372924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:47:07 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:07.449566"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:07.449566"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user124@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:07.451676"], ["email", "user124@example.com"], ["encrypted_password", "$2a$04$QbHmwRRr1jF5RLSbFnTLAep45dcyWpAVPQHcfvg19beTEBQBZuVhu"], ["role_id", 26], ["updated_at", "2014-05-27 00:47:07.451676"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:07.457238"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:47:07.457238"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:07.463398"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:07.463398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user125@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:07.466256"], ["email", "user125@example.com"], ["encrypted_password", "$2a$04$SX4EcknED0Oaofs8JbsmI.ZsfCiarxyx7Z01/y8eJM.seVJnzg4Ru"], ["role_id", 27], ["updated_at", "2014-05-27 00:47:07.466256"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:07.472907"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:47:07.472907"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:47:07 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.2ms) 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.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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 12.9ms | ActiveRecord: 0.9ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:07.508271"], ["title", "Site Title 21"], ["updated_at", "2014-05-27 00:47:07.508271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:07.511775"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:07.511775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user126@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:07.513924"], ["email", "user126@example.com"], ["encrypted_password", "$2a$04$qXKH6C9uSjfkxWYCGpnxAue5NnyQy/XHlZVZX91ckZqTINZNW4q.."], ["role_id", 25], ["updated_at", "2014-05-27 00:47:07.513924"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user126@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:07.513924"], ["email", "user126@example.com"], ["encrypted_password", "$2a$04$qXKH6C9uSjfkxWYCGpnxAue5NnyQy/XHlZVZX91ckZqTINZNW4q.."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:07.513924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:07 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:07 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user126@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user126@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:47:07.631260"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:47:07.631260"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:47:07.632847"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49482/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:47: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::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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 17ms (Views: 14.5ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:07.718210"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:07.718210"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user127@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:07.720294"], ["email", "user127@example.com"], ["encrypted_password", "$2a$04$8YkPyYieFH812Ct9mAUuPefnYIwGYLLiX5Y4Np5seKgvV4UEE0N52"], ["role_id", 26], ["updated_at", "2014-05-27 00:47:07.720294"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:07.725562"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:47:07.725562"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 19:47:07 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.7ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.7ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 15.6ms | ActiveRecord: 1.2ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-26 19:47:08 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 5ms (ActiveRecord: 0.5ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:08.709229"], ["title", "Site Title 22"], ["updated_at", "2014-05-27 00:47:08.709229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:08.712311"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:08.712311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user128@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:08.714204"], ["email", "user128@example.com"], ["encrypted_password", "$2a$04$GkCEftrsxZB7FI3dQvomteOjPNlCSs4NUv/Tns5zWQjPbP5rlukTu"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:08.714204"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user128@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:08.714204"], ["email", "user128@example.com"], ["encrypted_password", "$2a$04$GkCEftrsxZB7FI3dQvomteOjPNlCSs4NUv/Tns5zWQjPbP5rlukTu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:08.714204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:08 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:47:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user128@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user128@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:47:08.826338"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:47:08.826338"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:47:08.826789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49482/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:47:08 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:08.904277"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:08.904277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user129@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:08.906593"], ["email", "user129@example.com"], ["encrypted_password", "$2a$04$JpKO0HAl0.MsmEQb.lZX6uIgmvU5Wj0ValO5iuvSwMtCr26T.yAKe"], ["role_id", 26], ["updated_at", "2014-05-27 00:47:08.906593"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:08.912204"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:47:08.912204"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 19:47:08 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (1.4ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (11.9ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 19.1ms | ActiveRecord: 1.3ms) Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 19:47:09 -0500  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:10.290352"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:10.290352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user130@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.292578"], ["email", "user130@example.com"], ["encrypted_password", "$2a$04$bXYbMbtNwuwWhSxN4JxYke6trWL2x5bgumBriYaaewH6aWgEgLDs."], ["role_id", 25], ["updated_at", "2014-05-27 00:47:10.292578"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user130@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:10.292578"], ["email", "user130@example.com"], ["encrypted_password", "$2a$04$bXYbMbtNwuwWhSxN4JxYke6trWL2x5bgumBriYaaewH6aWgEgLDs."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:10.292578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:10.298580"], ["name", "tag1"], ["updated_at", "2014-05-27 00:47:10.298580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:10.300348"], ["name", "tag2"], ["updated_at", "2014-05-27 00:47:10.300348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.303057"], ["excerpt", "Post #47. It was a dark and stormy night."], ["published", "t"], ["title", "Post #47"], ["updated_at", "2014-05-27 00:47:10.303057"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.303871"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:47:10.303871"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.304576"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:47:10.304576"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #42. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:10.306479"], ["updated_at", "2014-05-27 00:47:10.306479"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #42. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:10.310523"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:10.310523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user131@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.312121"], ["email", "user131@example.com"], ["encrypted_password", "$2a$04$Wz2kSFUVF0LvE2L7UtPh/eL/wKBJ0ydgmeOdRhH1IgRRqjtVGHRn."], ["role_id", 26], ["updated_at", "2014-05-27 00:47:10.312121"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.315361"], ["excerpt", "Post #48. It was a dark and stormy night."], ["published", "t"], ["title", "Post #48"], ["updated_at", "2014-05-27 00:47:10.315361"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.316088"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-27 00:47:10.316088"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #43. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:10.317766"], ["updated_at", "2014-05-27 00:47:10.317766"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #43. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) 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.0ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:10.332844"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:10.332844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user132@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.335571"], ["email", "user132@example.com"], ["encrypted_password", "$2a$04$/QUZKYNcLqiy0WuSiD2vhOpvjqUcQsthUQT6YKCCUZSrwaAn24j4i"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:10.335571"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user132@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:10.335571"], ["email", "user132@example.com"], ["encrypted_password", "$2a$04$/QUZKYNcLqiy0WuSiD2vhOpvjqUcQsthUQT6YKCCUZSrwaAn24j4i"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:10.335571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:10.344080"], ["name", "tag1"], ["updated_at", "2014-05-27 00:47:10.344080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:10.346110"], ["name", "tag2"], ["updated_at", "2014-05-27 00:47:10.346110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.348980"], ["excerpt", "Post #49. It was a dark and stormy night."], ["published", "t"], ["title", "Post #49"], ["updated_at", "2014-05-27 00:47:10.348980"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.349821"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:47:10.349821"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.350552"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:47:10.350552"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #44. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:10.352416"], ["updated_at", "2014-05-27 00:47:10.352416"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #44. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.1ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:10.358389"], ["name", "tag1"], ["updated_at", "2014-05-27 00:47:10.358389"]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.360052"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-27 00:47:10.360052"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #44. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:10.367451"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:10.367451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user133@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.369639"], ["email", "user133@example.com"], ["encrypted_password", "$2a$04$rfNubd4NZlk.3I.XpLtkYu0oF1yIHZ2Cu8RdMmv3uIZw5CIdKK5Ei"], ["role_id", 25], ["updated_at", "2014-05-27 00:47:10.369639"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user133@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:47:10.369639"], ["email", "user133@example.com"], ["encrypted_password", "$2a$04$rfNubd4NZlk.3I.XpLtkYu0oF1yIHZ2Cu8RdMmv3uIZw5CIdKK5Ei"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:47:10.369639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:10.375984"], ["name", "tag1"], ["updated_at", "2014-05-27 00:47:10.375984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:10.378406"], ["name", "tag2"], ["updated_at", "2014-05-27 00:47:10.378406"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.384091"], ["excerpt", "Post #50. It was a dark and stormy night."], ["published", "t"], ["title", "Post #50"], ["updated_at", "2014-05-27 00:47:10.384091"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.385186"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 00:47:10.385186"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.386049"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 00:47:10.386049"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #45. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:10.388146"], ["updated_at", "2014-05-27 00:47:10.388146"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #45. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:10.392400"], ["name", "writer"], ["updated_at", "2014-05-27 00:47:10.392400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user134@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.394086"], ["email", "user134@example.com"], ["encrypted_password", "$2a$04$aAasQ1ymhrTA.RS8PtwwBenwSy.4XTmR.L0OimwpR/Fn5xyA7SjTO"], ["role_id", 26], ["updated_at", "2014-05-27 00:47:10.394086"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.397444"], ["excerpt", "Post #51. It was a dark and stormy night."], ["published", "t"], ["title", "Post #51"], ["updated_at", "2014-05-27 00:47:10.397444"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.398171"], ["post_id", 2], ["tag_id", 2], ["updated_at", "2014-05-27 00:47:10.398171"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #46. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 00:47:10.400090"], ["updated_at", "2014-05-27 00:47:10.400090"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #46. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:47:10.405873"], ["name", "tag1"], ["updated_at", "2014-05-27 00:47:10.405873"]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:47:10.407586"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-27 00:47:10.407586"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #45. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:54:41.588348"], ["name", "writer"], ["updated_at", "2014-05-27 00:54:41.588348"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:54:41.592873"], ["name", "editor"], ["updated_at", "2014-05-27 00:54:41.592873"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:54:41.594807"], ["name", "admin"], ["updated_at", "2014-05-27 00:54:41.594807"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:54:41.599906"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 00:54:41.599906"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:54:41.602738"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:54:41.602738"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:54:41.605074"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 00:54:41.605074"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:54:41.607076"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 00:54:41.607076"]]  (0.7ms) 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.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 (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:54:41.626903"], ["role_id", 1], ["updated_at", "2014-05-27 00:54:41.626903"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:54:41.631840"], ["role_id", 2], ["updated_at", "2014-05-27 00:54:41.631840"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 00:54:41.633819"], ["role_id", 3], ["updated_at", "2014-05-27 00:54:41.633819"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 00:54:41.635715"], ["role_id", 2], ["updated_at", "2014-05-27 00:54:41.635715"]]  (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-05-27 00:54:41.637885"], ["role_id", 3], ["updated_at", "2014-05-27 00:54:41.637885"]]  (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", 3], ["created_at", "2014-05-27 00:54:41.640047"], ["role_id", 3], ["updated_at", "2014-05-27 00:54:41.640047"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 00:54:41.642995"], ["role_id", 3], ["updated_at", "2014-05-27 00:54:41.642995"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:54:41.657567"], ["name", "writer"], ["updated_at", "2014-05-27 00:54:41.657567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:54:41.659348"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 00:54:41.659348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 37], ["created_at", "2014-05-27 00:54:41.662451"], ["role_id", 28], ["updated_at", "2014-05-27 00:54:41.662451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:54:41.674939"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$.Dj.QTjbJ7de9IcCIFrHT.oE9ZdmbW1FerqfuWtv.eUUH70CXzZlG"], ["role_id", 28], ["updated_at", "2014-05-27 00:54:41.674939"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 28]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.8ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:54:41.713243"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 00:54:41.713243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:54:41.720088"], ["name", "writer"], ["updated_at", "2014-05-27 00:54:41.720088"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:54:41.722925"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$m2eR83.sKvbp2rivzMe03u6GFux1mBj2lFwC8egeWFFNSaQ0R2dlC"], ["role_id", 28], ["updated_at", "2014-05-27 00:54:41.722925"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user2@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 00:54:41.722925"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$m2eR83.sKvbp2rivzMe03u6GFux1mBj2lFwC8egeWFFNSaQ0R2dlC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 00:54:41.722925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:54:44 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (21.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.8ms) Completed 200 OK in 204ms (Views: 189.6ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 19:54:44 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 19:54:44 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 19:54:44 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user2@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 00:54:44.683013"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 00:54:44.683013"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 00:54:44.684329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49772/ Completed 302 Found in 15ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 19:54:44 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (13.4ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (10.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (12.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 40ms (Views: 37.0ms | ActiveRecord: 1.7ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 00:54:44.797522"], ["name", "writer"], ["updated_at", "2014-05-27 00:54:44.797522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 00:54:44.799753"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$PoMXdtgMN0iguOepcamt0.NvFNLTNI3d60HpzglQAd4dbuu61lw.W"], ["role_id", 29], ["updated_at", "2014-05-27 00:54:44.799753"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 00:54:44.811029"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 00:54:44.811029"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 19:54:44 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.4ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (36.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (41.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 77ms (Views: 54.4ms | ActiveRecord: 2.3ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 19:54:44 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 19:54:44 -0500  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:00:37.008175"], ["name", "writer"], ["updated_at", "2014-05-27 01:00:37.008175"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:00:37.010530"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 01:00:37.010530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 37], ["created_at", "2014-05-27 01:00:37.013599"], ["role_id", 28], ["updated_at", "2014-05-27 01:00:37.013599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:00:37.016629"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$r.9bFVFtBxrbGU1nHBz3J.Rm8BZJAuJcI8m.DB5JkaRUJ6qNhlUYa"], ["role_id", 28], ["updated_at", "2014-05-27 01:00:37.016629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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", 28]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:00:55.525112"], ["name", "writer"], ["updated_at", "2014-05-27 01:00:55.525112"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:00:55.529850"], ["name", "editor"], ["updated_at", "2014-05-27 01:00:55.529850"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:00:55.531749"], ["name", "admin"], ["updated_at", "2014-05-27 01:00:55.531749"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:00:55.536562"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 01:00:55.536562"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:00:55.539294"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 01:00:55.539294"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:00:55.541334"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 01:00:55.541334"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:00:55.543231"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 01:00:55.543231"]]  (0.6ms) 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.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-05-27 01:00:55.567125"], ["role_id", 1], ["updated_at", "2014-05-27 01:00:55.567125"]]  (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", 2], ["created_at", "2014-05-27 01:00:55.572231"], ["role_id", 2], ["updated_at", "2014-05-27 01:00:55.572231"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:00:55.574644"], ["role_id", 3], ["updated_at", "2014-05-27 01:00:55.574644"]]  (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-05-27 01:00:55.576756"], ["role_id", 2], ["updated_at", "2014-05-27 01:00:55.576756"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 01:00:55.579248"], ["role_id", 3], ["updated_at", "2014-05-27 01:00:55.579248"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 01:00:55.581912"], ["role_id", 3], ["updated_at", "2014-05-27 01:00:55.581912"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 01:00:55.584834"], ["role_id", 3], ["updated_at", "2014-05-27 01:00:55.584834"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:00:55.600063"], ["name", "writer"], ["updated_at", "2014-05-27 01:00:55.600063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:00:55.602059"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 01:00:55.602059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 41], ["created_at", "2014-05-27 01:00:55.604637"], ["role_id", 31], ["updated_at", "2014-05-27 01:00:55.604637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:00:55.617769"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$wo9OJ3oUbiupU86iGLUz3uHCxOkH65Snc11dVz9szS.Jn1kJ03lIe"], ["role_id", 31], ["updated_at", "2014-05-27 01:00:55.617769"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 31]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:00:55.653906"], ["name", "writer"], ["updated_at", "2014-05-27 01:00:55.653906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:00:55.655640"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 01:00:55.655640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 41], ["created_at", "2014-05-27 01:00:55.657332"], ["role_id", 31], ["updated_at", "2014-05-27 01:00:55.657332"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:00:55.659893"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$wfMtoNCS4pEoi9VMlhcl6OxnoD7Ae/ssLP6hlI482SrGp/E9BjAvy"], ["role_id", 31], ["updated_at", "2014-05-27 01:00:55.659893"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 31]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:00:55.680893"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 01:00:55.680893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:00:55.684987"], ["name", "writer"], ["updated_at", "2014-05-27 01:00:55.684987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:00:55.687403"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$H2f3daD5YA4KRoWarVDH4uOwbwevfymj2Gdg5532p5OgeP90rgb0O"], ["role_id", 31], ["updated_at", "2014-05-27 01:00:55.687403"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user3@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:00:55.687403"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$H2f3daD5YA4KRoWarVDH4uOwbwevfymj2Gdg5532p5OgeP90rgb0O"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:00:55.687403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:00:58 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (21.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 218ms (Views: 202.3ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 20:00:58 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 20:00:58 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:00:58 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:00:58.531559"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:00:58.531559"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:00:58.532700"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49821/ Completed 302 Found in 14ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:00:58 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (14.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (11.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 41ms (Views: 38.3ms | ActiveRecord: 1.3ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:00:58.651106"], ["name", "writer"], ["updated_at", "2014-05-27 01:00:58.651106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:00:58.652988"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$gWHuzQHYul8i1meR4t5sku2GXptvNHL9nCiZuVvF.jys.TNS8cRPW"], ["role_id", 32], ["updated_at", "2014-05-27 01:00:58.652988"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:00:58.662824"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:00:58.662824"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 20:00:58 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.5ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (32.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (37.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 57ms (Views: 47.7ms | ActiveRecord: 1.7ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 20:00:58 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 20:00:58 -0500  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:10:08.320819"], ["name", "writer"], ["updated_at", "2014-05-27 01:10:08.320819"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:10:08.326815"], ["name", "editor"], ["updated_at", "2014-05-27 01:10:08.326815"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:10:08.328717"], ["name", "admin"], ["updated_at", "2014-05-27 01:10:08.328717"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.9ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:10:08.333552"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 01:10:08.333552"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:10:08.336906"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 01:10:08.336906"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:10:08.339016"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 01:10:08.339016"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:10:08.340904"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 01:10:08.340904"]]  (0.8ms) commit 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 (1.8ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:10:08.363054"], ["role_id", 1], ["updated_at", "2014-05-27 01:10:08.363054"]]  (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", 2], ["created_at", "2014-05-27 01:10:08.370832"], ["role_id", 2], ["updated_at", "2014-05-27 01:10:08.370832"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:10:08.373280"], ["role_id", 3], ["updated_at", "2014-05-27 01:10:08.373280"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 01:10:08.375396"], ["role_id", 2], ["updated_at", "2014-05-27 01:10:08.375396"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 01:10:08.377443"], ["role_id", 3], ["updated_at", "2014-05-27 01:10:08.377443"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 01:10:08.379756"], ["role_id", 3], ["updated_at", "2014-05-27 01:10:08.379756"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 01:10:08.382090"], ["role_id", 3], ["updated_at", "2014-05-27 01:10:08.382090"]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:10:08.391785"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 01:10:08.391785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:10:08.404410"], ["name", "writer"], ["updated_at", "2014-05-27 01:10:08.404410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.5ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:10:08.420904"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$t4OP4zscsZKjbzmkQ2C.Qur2uiDOVxil27gu3KkyQnlDRoFATPIBi"], ["role_id", 34], ["updated_at", "2014-05-27 01:10:08.420904"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:10:08.420904"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$t4OP4zscsZKjbzmkQ2C.Qur2uiDOVxil27gu3KkyQnlDRoFATPIBi"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:10:08.420904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:10:10 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (31.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 252ms (Views: 237.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 20:10:11 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 20:10:11 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:10:11 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:10:11.453705"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:10:11.453705"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:10:11.454771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49904/ Completed 302 Found in 14ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:10:11 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' Storytime::Tag Load (0.6ms) 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (17.2ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (21.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (24.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.4ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 58ms (Views: 53.5ms | ActiveRecord: 3.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:10:11.587572"], ["name", "writer"], ["updated_at", "2014-05-27 01:10:11.587572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:10:11.589790"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$H1kOC1Q/.Hi8HVr6EksfweW4SkoB.B5CJ8WsUnO3SV.3PmqqTCVWa"], ["role_id", 35], ["updated_at", "2014-05-27 01:10:11.589790"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:10:11.599617"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:10:11.599617"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 20:10:11 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.8ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (4.5ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (8.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (16.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (40.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (47.1ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 74ms (Views: 58.3ms | ActiveRecord: 2.2ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 20:10:11 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 20:10:11 -0500  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:10:13.068058"], ["name", "writer"], ["updated_at", "2014-05-27 01:10:13.068058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:10:13.070018"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 01:10:13.070018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 45], ["created_at", "2014-05-27 01:10:13.071861"], ["role_id", 34], ["updated_at", "2014-05-27 01:10:13.071861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:10:13.074397"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$3JaYN4w7pvzoWOVMtgRqb.ctFo30Ru7r9Ap9r2YT/9.c1ftt6q6ou"], ["role_id", 34], ["updated_at", "2014-05-27 01:10:13.074397"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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", 34]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:10:13.084533"], ["name", "writer"], ["updated_at", "2014-05-27 01:10:13.084533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:10:13.086093"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 01:10:13.086093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 45], ["created_at", "2014-05-27 01:10:13.087686"], ["role_id", 34], ["updated_at", "2014-05-27 01:10:13.087686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:10:13.089416"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$AS/AEw82vt3Zi71cXa5ZeeroIw2BT25jErp9iTSxc8QUTiQRBXZw."], ["role_id", 34], ["updated_at", "2014-05-27 01:10:13.089416"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 34]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:13:21.166626"], ["name", "writer"], ["updated_at", "2014-05-27 01:13:21.166626"]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:13:21.173000"], ["name", "editor"], ["updated_at", "2014-05-27 01:13:21.173000"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:13:21.174937"], ["name", "admin"], ["updated_at", "2014-05-27 01:13:21.174937"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:13:21.181068"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 01:13:21.181068"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:13:21.184017"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 01:13:21.184017"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:13:21.186137"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 01:13:21.186137"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:13:21.188128"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 01:13:21.188128"]]  (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.1ms) 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.2ms) 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-05-27 01:13:21.208971"], ["role_id", 1], ["updated_at", "2014-05-27 01:13:21.208971"]]  (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-05-27 01:13:21.214362"], ["role_id", 2], ["updated_at", "2014-05-27 01:13:21.214362"]]  (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", 2], ["created_at", "2014-05-27 01:13:21.217603"], ["role_id", 3], ["updated_at", "2014-05-27 01:13:21.217603"]]  (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-05-27 01:13:21.220073"], ["role_id", 2], ["updated_at", "2014-05-27 01:13:21.220073"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 01:13:21.222284"], ["role_id", 3], ["updated_at", "2014-05-27 01:13:21.222284"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 01:13:21.225139"], ["role_id", 3], ["updated_at", "2014-05-27 01:13:21.225139"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 01:13:21.227443"], ["role_id", 3], ["updated_at", "2014-05-27 01:13:21.227443"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:13:21.237496"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 01:13:21.237496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:13:21.249607"], ["name", "writer"], ["updated_at", "2014-05-27 01:13:21.249607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:13:21.261406"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$R4510NsIGQpnX27bd1yWh.M6U9Ro41K2PxrYPsU2Icn5PW5AoxcKu"], ["role_id", 37], ["updated_at", "2014-05-27 01:13:21.261406"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:13:21.261406"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$R4510NsIGQpnX27bd1yWh.M6U9Ro41K2PxrYPsU2Icn5PW5AoxcKu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:13:21.261406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:13:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (18.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Completed 200 OK in 166ms (Views: 153.5ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 20:13:23 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 20:13:23 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:13:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:13:23.783884"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:13:23.783884"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:13:23.785000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:49925/ Completed 302 Found in 13ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:13:23 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (13.7ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (17.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (19.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.3ms) Completed 200 OK in 47ms (Views: 44.2ms | ActiveRecord: 1.6ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:13:23.908313"], ["name", "writer"], ["updated_at", "2014-05-27 01:13:23.908313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:13:23.910420"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$Nj5tUAf/lcqJ6cEqrmWoU.wWOHRJ6IeyWzuhywuJYNnbSu/PpjjgG"], ["role_id", 38], ["updated_at", "2014-05-27 01:13:23.910420"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:13:23.920020"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:13:23.920020"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 20:13:23 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.2ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.5ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (39.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (43.9ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 70ms (Views: 54.3ms | ActiveRecord: 1.9ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 20:13:24 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 20:13:24 -0500  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:13:25.394783"], ["name", "writer"], ["updated_at", "2014-05-27 01:13:25.394783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:13:25.396686"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 01:13:25.396686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 49], ["created_at", "2014-05-27 01:13:25.398598"], ["role_id", 37], ["updated_at", "2014-05-27 01:13:25.398598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:13:25.401785"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$XhS8ouJ4ZUoaOXpTyZk4p.IKis4WWW5xuBeY.XbdaVYibMjUz1gPy"], ["role_id", 37], ["updated_at", "2014-05-27 01:13:25.401785"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 37]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:13:25.412607"], ["name", "writer"], ["updated_at", "2014-05-27 01:13:25.412607"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:13:25.414243"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 01:13:25.414243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 49], ["created_at", "2014-05-27 01:13:25.415860"], ["role_id", 37], ["updated_at", "2014-05-27 01:13:25.415860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:13:25.417701"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$7ON.1SOoZ9s/lCa6av.Kv.f2C6US7qydx3xXXkWp.7c9mu/UFCb9G"], ["role_id", 37], ["updated_at", "2014-05-27 01:13:25.417701"]]  (0.1ms) RELEASE SAVEPOINT active_record_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 (1.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 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", 37]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:21:50.902085"], ["name", "writer"], ["updated_at", "2014-05-27 01:21:50.902085"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:21:50.906350"], ["name", "editor"], ["updated_at", "2014-05-27 01:21:50.906350"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:21:50.908197"], ["name", "admin"], ["updated_at", "2014-05-27 01:21:50.908197"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:21:50.913029"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 01:21:50.913029"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:21:50.915153"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 01:21:50.915153"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:21:50.917534"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 01:21:50.917534"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:21:50.919429"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 01:21:50.919429"]]  (0.7ms) commit 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.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.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-05-27 01:21:50.937442"], ["role_id", 1], ["updated_at", "2014-05-27 01:21:50.937442"]]  (0.8ms) 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-05-27 01:21:50.942823"], ["role_id", 2], ["updated_at", "2014-05-27 01:21:50.942823"]]  (1.1ms) 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-05-27 01:21:50.946146"], ["role_id", 3], ["updated_at", "2014-05-27 01:21:50.946146"]]  (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-05-27 01:21:50.948890"], ["role_id", 2], ["updated_at", "2014-05-27 01:21:50.948890"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 01:21:50.952595"], ["role_id", 3], ["updated_at", "2014-05-27 01:21:50.952595"]]  (1.1ms) 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-05-27 01:21:50.956162"], ["role_id", 3], ["updated_at", "2014-05-27 01:21:50.956162"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 01:21:50.959486"], ["role_id", 3], ["updated_at", "2014-05-27 01:21:50.959486"]]  (1.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:21:50.969467"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 01:21:50.969467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:21:50.988082"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$rfs/Ui6VuBeyibhz0vmSnui/gIahGvg6nbXVicG6FLgfIZm49MwnO"], ["updated_at", "2014-05-27 01:21:50.988082"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:21:50.988082"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$rfs/Ui6VuBeyibhz0vmSnui/gIahGvg6nbXVicG6FLgfIZm49MwnO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:21:50.988082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:21:53 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (18.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 196ms (Views: 182.4ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 20:21:53 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 20:21:53 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:21:53 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:21:53.782714"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:21:53.782714"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:21:53.783787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50014/ Completed 302 Found in 13ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:21:53 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (15.2ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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.2ms) SELECT 1 AS one 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (21.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (23.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.3ms) Completed 200 OK in 54ms (Views: 50.4ms | ActiveRecord: 1.9ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:21:53.913467"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$16xj0Gi1aEzQJeh0vbvTJ.9c3tMe0YMEE4BftE6KCcHMLcCndTyyy"], ["updated_at", "2014-05-27 01:21:53.913467"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:21:53.953636"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:21:53.953636"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 20:21:53 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.1ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.3ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (11.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (32.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (36.3ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 61ms (Views: 46.3ms | ActiveRecord: 1.7ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 20:21:54 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 20:21:54 -0500  (1.8ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:21:55.407708"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$CXAzL/cte0FHobNxcVM9N.aj17xw4/lRZTT0vp225HMH/O8J9e.pS"], ["role_id", 1], ["updated_at", "2014-05-27 01:21:55.407708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:23:07.969553"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$WAoWU55YEeCkeQdbMOz7Vu6VWHrNifksDn5/G/e4tReO42fgxSZRi"], ["role_id", 1], ["updated_at", "2014-05-27 01:23:07.969553"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Storytime::Role Exists (0.1ms) 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.1ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Storytime::Role Exists (0.1ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Storytime::Action Exists (0.1ms) 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.1ms) 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.0ms) 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.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  (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 (0.9ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:23:11.706095"], ["role_id", 1], ["updated_at", "2014-05-27 01:23:11.706095"]]  (2.4ms) 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-05-27 01:23:11.719308"], ["role_id", 2], ["updated_at", "2014-05-27 01:23:11.719308"]]  (1.1ms) 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-05-27 01:23:11.722407"], ["role_id", 3], ["updated_at", "2014-05-27 01:23:11.722407"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 01:23:11.724737"], ["role_id", 2], ["updated_at", "2014-05-27 01:23:11.724737"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 01:23:11.727217"], ["role_id", 3], ["updated_at", "2014-05-27 01:23:11.727217"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 01:23:11.729416"], ["role_id", 3], ["updated_at", "2014-05-27 01:23:11.729416"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 01:23:11.731591"], ["role_id", 3], ["updated_at", "2014-05-27 01:23:11.731591"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:23:11.741275"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 01:23:11.741275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:23:11.754169"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$2joNscMddreAur4zT9iZ/uawH38X7E52Z2w/rfqBcCrx4jJhLhe6W"], ["updated_at", "2014-05-27 01:23:11.754169"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:23:11.754169"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$2joNscMddreAur4zT9iZ/uawH38X7E52Z2w/rfqBcCrx4jJhLhe6W"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:23:11.754169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:23:13 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (21.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 194ms (Views: 180.6ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 20:23:14 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 20:23:14 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:23:14 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:23:14.248958"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:23:14.248958"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:23:14.250015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50030/ Completed 302 Found in 12ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:23:14 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (20.6ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (23.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (27.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.3ms) Completed 200 OK in 64ms (Views: 59.9ms | ActiveRecord: 2.3ms)  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:23:14.385931"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$6V6GsKKSrW0u9HkgkUadfeBheyRFiuTukHDDBNVgZATL4myhXBG1q"], ["updated_at", "2014-05-27 01:23:14.385931"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:23:14.394126"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:23:14.394126"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 20:23:14 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (6.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (37.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (44.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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 74ms (Views: 55.1ms | ActiveRecord: 1.9ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 20:23:14 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 20:23:14 -0500  (2.0ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:23:15.850149"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$qeT0dU2PWP4KsFgaxfMBFO1PgqiCMFLJnoMpGg9JlG8PmHm64wu8a"], ["role_id", 1], ["updated_at", "2014-05-27 01:23:15.850149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.2ms) rollback transaction  (0.0ms) begin transaction Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:23:41.558964"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$H4WvdSLuhGYzm0s/oCZAlOI530UYIpEq90S77/yhgukm75gh21chG"], ["role_id", 1], ["updated_at", "2014-05-27 01:23:41.558964"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Storytime::Role Exists (0.2ms) 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-05-27 01:24:34.823881"], ["name", "writer"], ["updated_at", "2014-05-27 01:24:34.823881"]]  (2.3ms) commit transaction  (0.1ms) begin transaction Storytime::Role Exists (0.1ms) 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-05-27 01:24:34.830591"], ["name", "editor"], ["updated_at", "2014-05-27 01:24:34.830591"]]  (0.7ms) commit transaction  (0.0ms) begin transaction Storytime::Role Exists (0.1ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:24:34.832897"], ["name", "admin"], ["updated_at", "2014-05-27 01:24:34.832897"]]  (0.7ms) commit transaction  (0.4ms) begin transaction Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.0ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Other People''s Posts/Pages' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:24:34.839605"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-05-27 01:24:34.839605"]]  (0.8ms) commit transaction  (0.0ms) begin transaction Storytime::Action Exists (0.1ms) 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-05-27 01:24:34.842567"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-05-27 01:24:34.842567"]]  (0.8ms) commit 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 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:24:34.845332"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-05-27 01:24:34.845332"]]  (0.7ms) commit transaction  (0.0ms) 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.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:24:34.847872"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-05-27 01:24:34.847872"]]  (0.7ms) commit 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 (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:24:34.863306"], ["role_id", 1], ["updated_at", "2014-05-27 01:24:34.863306"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:24:34.868076"], ["role_id", 2], ["updated_at", "2014-05-27 01:24:34.868076"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:24:34.870242"], ["role_id", 3], ["updated_at", "2014-05-27 01:24:34.870242"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 01:24:34.872319"], ["role_id", 2], ["updated_at", "2014-05-27 01:24:34.872319"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 01:24:34.874351"], ["role_id", 3], ["updated_at", "2014-05-27 01:24:34.874351"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 01:24:34.876353"], ["role_id", 3], ["updated_at", "2014-05-27 01:24:34.876353"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 01:24:34.878921"], ["role_id", 3], ["updated_at", "2014-05-27 01:24:34.878921"]]  (0.8ms) commit transaction  (0.1ms) begin transaction Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:24:34.896750"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$R8FajqYJ/AKzmPVX4HB22ehdaOpo3IeKY6k2RfYnHBNqFi0JGf2dq"], ["role_id", 2], ["updated_at", "2014-05-27 01:24:34.896750"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:24:34.896750"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$R8FajqYJ/AKzmPVX4HB22ehdaOpo3IeKY6k2RfYnHBNqFi0JGf2dq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:24:34.896750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.5ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:24:34.927090"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$oL8nrRngIWqbo8o1Zbwk1OG8QgNeltO5NSsaI0jhHzbGr76wdaqG."], ["role_id", 2], ["updated_at", "2014-05-27 01:24:34.927090"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user2@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:24:34.927090"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$oL8nrRngIWqbo8o1Zbwk1OG8QgNeltO5NSsaI0jhHzbGr76wdaqG."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:24:34.927090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:24:34.937629"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$9KJyRxDq2n8XakRKD8Xf1uWsJ1csdOBDThPR.30MiR1rdiVFB5J0i"], ["role_id", 2], ["updated_at", "2014-05-27 01:24:34.937629"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user3@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:24:34.937629"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$9KJyRxDq2n8XakRKD8Xf1uWsJ1csdOBDThPR.30MiR1rdiVFB5J0i"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:24:34.937629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1  (0.2ms) rollback transaction  (0.0ms) begin transaction Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:54.149616"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$xKIPk8l982W6c8AeZtYGTuEFNMZlzfNptFR1SqHYF9/UaksL7A/1G"], ["role_id", 2], ["updated_at", "2014-05-27 01:25:54.149616"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user4@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:25:54.149616"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$xKIPk8l982W6c8AeZtYGTuEFNMZlzfNptFR1SqHYF9/UaksL7A/1G"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:25:54.149616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:54.161525"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$ZHyS31vhUx7S9MHNIeF0/ONgLSkPFyOILF.ut4P1bQ50s/2dzX.fi"], ["role_id", 2], ["updated_at", "2014-05-27 01:25:54.161525"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user5@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:25:54.161525"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$ZHyS31vhUx7S9MHNIeF0/ONgLSkPFyOILF.ut4P1bQ50s/2dzX.fi"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:25:54.161525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:54.174010"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$8Cuyk11Pac/Y41xnC4Dkr.vNCSs/aj2jePuebJ0NUx.mbuuYsgTmW"], ["role_id", 2], ["updated_at", "2014-05-27 01:25:54.174010"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user6@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:25:54.174010"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$8Cuyk11Pac/Y41xnC4Dkr.vNCSs/aj2jePuebJ0NUx.mbuuYsgTmW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:25:54.174010"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:54.187864"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$XxbG.hXG2iem2lWoBR8BQOyIRH2KSSpEm36NMjO0gZ7HyAsSc6VF6"], ["role_id", 2], ["updated_at", "2014-05-27 01:25:54.187864"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user8@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:25:54.187864"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$XxbG.hXG2iem2lWoBR8BQOyIRH2KSSpEm36NMjO0gZ7HyAsSc6VF6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:25:54.187864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:54.202433"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$IDXqV1yovumH1eEyEyNrM.orRg5xovEuvZSTaiAZYYaJuYV4WEDIq"], ["role_id", 2], ["updated_at", "2014-05-27 01:25:54.202433"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user10@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:25:54.202433"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$IDXqV1yovumH1eEyEyNrM.orRg5xovEuvZSTaiAZYYaJuYV4WEDIq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:25:54.202433"]]  (0.0ms) RELEASE SAVEPOINT active_record_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]]  (1.7ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:56.343418"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$yL4IV2Wzsx18K7fRnorMReFdPhDTtJrMMCcfpDv9rTJRdrbdmDUlq"], ["role_id", 1], ["updated_at", "2014-05-27 01:25:56.343418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:56.351169"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$ODt8CFZLaZagNQOlCRKG6eIDhOaxx2rQsPSYgcpGWVkbInbBRQToS"], ["role_id", 1], ["updated_at", "2014-05-27 01:25:56.351169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:56.358257"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$OuGqvSEOdwRAaLih0dBgf.fz7qK1OI0KFCcfQWCYv1aAvf/h88aci"], ["role_id", 1], ["updated_at", "2014-05-27 01:25:56.358257"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1]]  (1.7ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:56.911287"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$XaFeNxs0JWInh9X6q4e4r.U9bkhKw40QaLIy2jR5lQP3OrgoZdj8m"], ["role_id", 1], ["updated_at", "2014-05-27 01:25:56.911287"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:56.918742"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$yh7OM0neLGKQwEPgKvaOiONiczVIj5wRyNy0MGWND.K7PN/jtFkza"], ["role_id", 1], ["updated_at", "2014-05-27 01:25:56.918742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:56.926184"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$5jI0yiCGMLwG0KWg8mSrAef4ATy4lr489lIBG3AiMu.7vnBFC3CEG"], ["role_id", 1], ["updated_at", "2014-05-27 01:25:56.926184"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:56.938258"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$yp0cKx6H3e.QRuB5lyuSdOVtvb0dg98DIPDWrtp/GKtafOLxftpx."], ["role_id", 1], ["updated_at", "2014-05-27 01:25:56.938258"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.4ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:56.950725"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$sS2ugkPQE3j9b.zTDIy/yu17L5jsu97JAuI4q8JuA49zCyQXubHQK"], ["role_id", 1], ["updated_at", "2014-05-27 01:25:56.950725"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 1]]  (1.7ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:57.327515"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$I12qUsDt5gbjzZG.vIqfaugDlsuAY9I2H9ts9RHMrfLfwDUmmXZKa"], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.327515"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user23@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:25:57.327515"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$I12qUsDt5gbjzZG.vIqfaugDlsuAY9I2H9ts9RHMrfLfwDUmmXZKa"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.327515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:57.337001"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$HqE5S4.IRYOW5Vqzy.Y/deRRcvMzR4eUkTov4.Z.BbGqrsXWCMUyW"], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.337001"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user24@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:25:57.337001"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$HqE5S4.IRYOW5Vqzy.Y/deRRcvMzR4eUkTov4.Z.BbGqrsXWCMUyW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.337001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:57.347342"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$glYKeUKn.adl6Gcnxkgp4OwX8yyCQKmjlii2Wpp.kys/9/wa8gN1q"], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.347342"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user25@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:25:57.347342"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$glYKeUKn.adl6Gcnxkgp4OwX8yyCQKmjlii2Wpp.kys/9/wa8gN1q"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.347342"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (1.9ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:57.738074"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$.AIRGhjOTupBdf18lsar0eqE.TdH4.nA8cDXr3I/WwgOLOq6R0WXC"], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.738074"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user26@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:25:57.738074"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$.AIRGhjOTupBdf18lsar0eqE.TdH4.nA8cDXr3I/WwgOLOq6R0WXC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.738074"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:57.747240"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$01I.gGadx0PqrhTtZP0BYebj4kvEZwvnMIGebWtEQtsm0rb9oEXjW"], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.747240"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user27@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:25:57.747240"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$01I.gGadx0PqrhTtZP0BYebj4kvEZwvnMIGebWtEQtsm0rb9oEXjW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.747240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:57.757882"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$2wYzNKZ3M45jSqRnUw.LQepTf7kZbPSvnL.pktAGR3ZqVZNuULrsK"], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.757882"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user28@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:25:57.757882"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$2wYzNKZ3M45jSqRnUw.LQepTf7kZbPSvnL.pktAGR3ZqVZNuULrsK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.757882"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:57.776672"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$He8iMihMjDvh6xvupDqJ5ujwNxZ8CFgEC5TK12DrQnE.LsF5FxLYm"], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.776672"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user30@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:25:57.776672"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$He8iMihMjDvh6xvupDqJ5ujwNxZ8CFgEC5TK12DrQnE.LsF5FxLYm"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.776672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:25:57.789765"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$aVQNHkCuaR4Wq8F8497AvOxgeu6vq/Q82iT0DpJuyQUL7u5KrtGpe"], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.789765"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user32@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:25:57.789765"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$aVQNHkCuaR4Wq8F8497AvOxgeu6vq/Q82iT0DpJuyQUL7u5KrtGpe"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:25:57.789765"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (3.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Storytime::Role Exists (0.1ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Storytime::Role Exists (0.1ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Storytime::Role Exists (0.1ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Storytime::Action Exists (0.1ms) 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.0ms) begin transaction Storytime::Action Exists (0.1ms) 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.0ms) rollback transaction  (0.0ms) 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.0ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) 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  (0.0ms) 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 (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:26:20.533823"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:20.533823"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:26:20.541495"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:20.541495"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:26:20.543587"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:20.543587"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 01:26:20.545618"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:20.545618"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 01:26:20.547500"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:20.547500"]]  (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", 3], ["created_at", "2014-05-27 01:26:20.550029"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:20.550029"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 01:26:20.552325"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:20.552325"]]  (0.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.567592"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$ZV5LSW7v2VXyevXIuee5C.knKo7OuY5wPxUr.iv8J1H4rTilrH9/W"], ["updated_at", "2014-05-27 01:26:20.567592"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:20.567592"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$ZV5LSW7v2VXyevXIuee5C.knKo7OuY5wPxUr.iv8J1H4rTilrH9/W"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:20.567592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:20.624715"], ["name", "tag1"], ["updated_at", "2014-05-27 01:26:20.624715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.0ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:20.626832"], ["name", "tag2"], ["updated_at", "2014-05-27 01:26:20.626832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.637895"], ["excerpt", "Post #1. It was a dark and stormy night."], ["published", "t"], ["title", "Post #1"], ["updated_at", "2014-05-27 01:26:20.637895"], ["user_id", 1]] SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.638987"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 01:26:20.638987"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.639867"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 01:26:20.639867"]] 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", "Post #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:20.647168"], ["updated_at", "2014-05-27 01:26:20.647168"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #1. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.652131"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$pltpA0EhjxXTWrYOJUKemOWASvLt3.rAiifK.MP9gQksTv0IG7.aK"], ["updated_at", "2014-05-27 01:26:20.652131"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.655682"], ["excerpt", "Post #2. It was a dark and stormy night."], ["published", "t"], ["title", "Post #2"], ["updated_at", "2014-05-27 01:26:20.655682"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.656463"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-27 01:26:20.656463"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:20.658192"], ["updated_at", "2014-05-27 01:26:20.658192"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #2. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.0ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 1 LIMIT 1 [["tag_id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 Storytime::Post Exists (0.0ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_posts"."id" = 2 LIMIT 1 [["tag_id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.675005"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$BPVO6DhBRPsKzfnen9W0aeCQ/6R3Sd4imH1W2p5yAaZvhsVoMLATq"], ["updated_at", "2014-05-27 01:26:20.675005"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user3@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:20.675005"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$BPVO6DhBRPsKzfnen9W0aeCQ/6R3Sd4imH1W2p5yAaZvhsVoMLATq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:20.675005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.679598"], ["excerpt", "Post #3. It was a dark and stormy night."], ["published", "t"], ["title", "Post #3"], ["updated_at", "2014-05-27 01:26:20.679598"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:20.682022"], ["updated_at", "2014-05-27 01:26:20.682022"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #3. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:20.686460"], ["name", "tag1"], ["updated_at", "2014-05-27 01:26:20.686460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:20.688887"], ["name", "tag2"], ["updated_at", "2014-05-27 01:26:20.688887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.690641"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 01:26:20.690641"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.691996"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 01:26:20.691996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.698148"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$FkomFDlXGG3XJHyEbTOiQu8kL8nzVFxADOoaNKipvkvzMm8fahB56"], ["updated_at", "2014-05-27 01:26:20.698148"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user4@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:20.698148"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$FkomFDlXGG3XJHyEbTOiQu8kL8nzVFxADOoaNKipvkvzMm8fahB56"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:20.698148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.0ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:20.703367"], ["name", "tag1"], ["updated_at", "2014-05-27 01:26:20.703367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:20.705904"], ["name", "tag2"], ["updated_at", "2014-05-27 01:26:20.705904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.709276"], ["excerpt", "Post #4. It was a dark and stormy night."], ["published", "t"], ["title", "Post #4"], ["updated_at", "2014-05-27 01:26:20.709276"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.710186"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 01:26:20.710186"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.710946"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 01:26:20.710946"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:20.712869"], ["updated_at", "2014-05-27 01:26:20.712869"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #4. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.717418"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$7R0PotU4XUUir9eWXOEYaeb7yp/KRjCunaYgcqL.ztty2CizkNWCm"], ["updated_at", "2014-05-27 01:26:20.717418"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.721509"], ["excerpt", "Post #5. It was a dark and stormy night."], ["published", "t"], ["title", "Post #5"], ["updated_at", "2014-05-27 01:26:20.721509"], ["user_id", 2]] SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.723028"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-27 01:26:20.723028"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:20.726365"], ["updated_at", "2014-05-27 01:26:20.726365"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #5. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 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" WHERE "storytime_tags"."name" = 'tag1' GROUP BY storytime_taggings.tag_id LIMIT 1 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" WHERE "storytime_tags"."name" = 'tag2' GROUP BY storytime_taggings.tag_id LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:20.740092"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 01:26:20.740092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.745849"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$D/OH/uuv3hnrciTMa6UyKeK7C2G3JMYZvFmXFDyEQKKfXD.WI8HyK"], ["updated_at", "2014-05-27 01:26:20.745849"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user6@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:20.745849"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$D/OH/uuv3hnrciTMa6UyKeK7C2G3JMYZvFmXFDyEQKKfXD.WI8HyK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:20.745849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-1' 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" = 'page-1') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.842413"], ["published", "t"], ["slug", "page-1"], ["title", "Page #1"], ["updated_at", "2014-05-27 01:26:20.842413"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #1. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:20.846142"], ["updated_at", "2014-05-27 01:26:20.846142"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #1. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-1' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:20.854772"], ["slug", "page-1"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/page-1" for 127.0.0.1 at 2014-05-26 20:26:20 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"page-1"} 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"."published" = 't' AND "storytime_pages"."slug" = 'page-1' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (12.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.5ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.3ms) Completed 200 OK in 95ms (Views: 88.2ms | ActiveRecord: 0.5ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:21.004038"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$M31vwKmJQZEDnWvVsbyUPe3wAFdnT4ymcM.EukFlBlmFn.RRiHSMO"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:21.004038"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user7@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:21.004038"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$M31vwKmJQZEDnWvVsbyUPe3wAFdnT4ymcM.EukFlBlmFn.RRiHSMO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:21.004038"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:21.010598"], ["title", "Site Title 2"], ["updated_at", "2014-05-27 01:26:21.010598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:21 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (19.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 32ms (Views: 30.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:21.060005"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:21.060005"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:21.061083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26:21 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (51.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (53.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 69ms (Views: 67.1ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:21.156522"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$66A8sPwYIKDFVhgARFvi3OwoB7iyAPhBJnCRbBvMjHQ01jAUMdhV2"], ["updated_at", "2014-05-27 01:26:21.156522"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:21.158924"], ["excerpt", "Post #6. It was a dark and stormy night."], ["published", "f"], ["title", "Post #6"], ["updated_at", "2014-05-27 01:26:21.158924"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:21.160750"], ["updated_at", "2014-05-27 01:26:21.160750"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 20:26:21 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.9ms) 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::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (5.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", 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.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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (6.1ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (26.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (40.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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 61ms (Views: 52.2ms | ActiveRecord: 2.0ms) Started PATCH "/dashboard/posts/1" for 127.0.0.1 at 2014-05-26 20:26:21 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"Post #6. It was a dark and stormy night.", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Update Post", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.0ms) SAVEPOINT active_record_1 Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] 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", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "title" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["title", "The Story"], ["updated_at", "2014-05-27 01:26:21.244960"]] 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", 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 01:26:21.247272"], ["updated_at", "2014-05-27 01:26:21.247272"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 12ms (ActiveRecord: 1.0ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 20:26:21 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.5ms) 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::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 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"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (9.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", 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.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", 1]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (11.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (23.8ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 36ms (Views: 29.2ms | ActiveRecord: 1.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:21.324550"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$6JqgCJeaoLiUjB2s2IFteu/MgNbwZcWOf06OmiXNVvLSRmoH4TSzm"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:21.324550"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user9@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:21.324550"], ["email", "user9@example.com"], ["encrypted_password", "$2a$04$6JqgCJeaoLiUjB2s2IFteu/MgNbwZcWOf06OmiXNVvLSRmoH4TSzm"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:21.324550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:21.328854"], ["title", "Site Title 3"], ["updated_at", "2014-05-27 01:26:21.328854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:21 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user9@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user9@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:21.343947"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:21.343947"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:21.344418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26:21 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (8.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 14.1ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user10@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:21.379805"], ["email", "user10@example.com"], ["encrypted_password", "$2a$04$WeYrIOF18IAQhQqCc20rmexUwYonOZGqvIKqFcWJcMTd7Dl6.Wfjq"], ["updated_at", "2014-05-27 01:26:21.379805"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:21.382334"], ["excerpt", "Post #7. It was a dark and stormy night."], ["published", "t"], ["title", "Post #7"], ["updated_at", "2014-05-27 01:26:21.382334"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:21.384210"], ["updated_at", "2014-05-27 01:26:21.384210"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user11@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:21.388584"], ["email", "user11@example.com"], ["encrypted_password", "$2a$04$wnzUA3iaPW.BRcIUsEZ7M.Bwqwq/toObdcHWa0s0UCD9ZmYZHpkzC"], ["updated_at", "2014-05-27 01:26:21.388584"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:21.390489"], ["excerpt", "Post #8. It was a dark and stormy night."], ["published", "t"], ["title", "Post #8"], ["updated_at", "2014-05-27 01:26:21.390489"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:21.392024"], ["updated_at", "2014-05-27 01:26:21.392024"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #8. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user12@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:21.396140"], ["email", "user12@example.com"], ["encrypted_password", "$2a$04$ACm8hTYOtyh5H0tntvWN/O/WsvhaSNQUvnQOze6h4w78i90zpOzEq"], ["updated_at", "2014-05-27 01:26:21.396140"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:21.397986"], ["excerpt", "Post #9. It was a dark and stormy night."], ["published", "t"], ["title", "Post #9"], ["updated_at", "2014-05-27 01:26:21.397986"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:21.399505"], ["updated_at", "2014-05-27 01:26:21.399505"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #9. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 20:26:21 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.4ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 12.4ms | ActiveRecord: 0.7ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.7ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:21.500620"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$1e.kUeeDlesLHAPU5Knyh.itsXaOec3iJkyfPniQAQ/khXY12JYJW"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:21.500620"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user13@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:21.500620"], ["email", "user13@example.com"], ["encrypted_password", "$2a$04$1e.kUeeDlesLHAPU5Knyh.itsXaOec3iJkyfPniQAQ/khXY12JYJW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:21.500620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:21.505240"], ["title", "Site Title 4"], ["updated_at", "2014-05-27 01:26:21.505240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:21 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user13@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user13@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:21.519859"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:21.519859"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:21.520315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26:21 -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.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 20:26:21 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (1.5ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.5ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (10.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (12.9ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 19.0ms | ActiveRecord: 1.2ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-05-26 20:26:21 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "post"=>{"title"=>"The Story", "excerpt"=>"It was a dark and stormy night...", "draft_content"=>"It was a dark and stormy night...", "tag_list"=>"", "published"=>"0"}, "commit"=>"Create Post"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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.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]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:21.594574"], ["excerpt", "It was a dark and stormy night..."], ["published", "f"], ["title", "The Story"], ["updated_at", "2014-05-27 01:26:21.594574"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 01:26:21.596364"], ["updated_at", "2014-05-27 01:26:21.596364"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/posts/1/edit Completed 302 Found in 11ms (ActiveRecord: 0.9ms) Started GET "/dashboard/posts/1/edit" for 127.0.0.1 at 2014-05-26 20:26:21 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.5ms) 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::Post"]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (1.7ms) 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.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", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.4ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (2.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (11.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (15.6ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 20.5ms | ActiveRecord: 1.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (1.8ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:21.663452"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$/Qf31v9iBxwsxQCuZ1WAr./Muqp9.sPLRERXf/RmeSnihPTae8/pm"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:21.663452"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user14@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:21.663452"], ["email", "user14@example.com"], ["encrypted_password", "$2a$04$/Qf31v9iBxwsxQCuZ1WAr./Muqp9.sPLRERXf/RmeSnihPTae8/pm"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:21.663452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:21.667726"], ["title", "Site Title 5"], ["updated_at", "2014-05-27 01:26:21.667726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:23 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (2.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 20:26:24 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 20:26:24 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:24 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user14@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user14@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:24.181363"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:24.181363"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:24.182399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50071/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26:24 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user15@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:24.256914"], ["email", "user15@example.com"], ["encrypted_password", "$2a$04$ENGsGi9LtQgqQ/qNrEIB0OYp1/izAf6MpEAL5reBWJW.7WjcB1aku"], ["updated_at", "2014-05-27 01:26:24.256914"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:24.259392"], ["excerpt", "Post #10. It was a dark and stormy night."], ["published", "t"], ["title", "Post #10"], ["updated_at", "2014-05-27 01:26:24.259392"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #10. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:24.261499"], ["updated_at", "2014-05-27 01:26:24.261499"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #10. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user16@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:24.265818"], ["email", "user16@example.com"], ["encrypted_password", "$2a$04$sbC4rpweVeirdCI9xsB5wuCbjDXCChYt/5VW.szYkjjWpZUnzSHDK"], ["updated_at", "2014-05-27 01:26:24.265818"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:24.267639"], ["excerpt", "Post #11. It was a dark and stormy night."], ["published", "t"], ["title", "Post #11"], ["updated_at", "2014-05-27 01:26:24.267639"], ["user_id", 3]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #11. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:24.269160"], ["updated_at", "2014-05-27 01:26:24.269160"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #11. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user17@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:24.273176"], ["email", "user17@example.com"], ["encrypted_password", "$2a$04$LYTIcptj7BTdZEUmGYg5v.Lws/N9AAnl3fUAkG9uBMwUrnE1SlDh6"], ["updated_at", "2014-05-27 01:26:24.273176"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:24.275012"], ["excerpt", "Post #12. It was a dark and stormy night."], ["published", "t"], ["title", "Post #12"], ["updated_at", "2014-05-27 01:26:24.275012"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #12. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:24.276528"], ["updated_at", "2014-05-27 01:26:24.276528"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #12. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-05-26 20:26:24 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (4.8ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.5ms | ActiveRecord: 0.8ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 20:26:24 -0500 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Started DELETE "/dashboard/posts/1" for 127.0.0.1 at 2014-05-26 20:26:25 -0500 Processing by Storytime::Dashboard::PostsController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.1ms) SAVEPOINT active_record_1 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 (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] SQL (0.1ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 12ms (ActiveRecord: 1.0ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user18@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.284023"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$lJNPm/JqvRaGaRauNm70wuHv4ewiy4const5/.phDet5/3cG37g3q"], ["updated_at", "2014-05-27 01:26:25.284023"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user18@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:25.284023"], ["email", "user18@example.com"], ["encrypted_password", "$2a$04$lJNPm/JqvRaGaRauNm70wuHv4ewiy4const5/.phDet5/3cG37g3q"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:25.284023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.288929"], ["excerpt", "Post #13. It was a dark and stormy night."], ["published", "f"], ["title", "Post #13"], ["updated_at", "2014-05-27 01:26:25.288929"], ["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.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 01:26:25.291278"], ["updated_at", "2014-05-27 01:26:25.291278"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user19@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.297824"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$6T1sSaxvu56ARtB50m7wOu.blVq2crsAWkCMjfcfKgMJWTfdMoiXC"], ["updated_at", "2014-05-27 01:26:25.297824"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user19@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:25.297824"], ["email", "user19@example.com"], ["encrypted_password", "$2a$04$6T1sSaxvu56ARtB50m7wOu.blVq2crsAWkCMjfcfKgMJWTfdMoiXC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:25.297824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.302278"], ["excerpt", "Post #14. It was a dark and stormy night."], ["published", "f"], ["title", "Post #14"], ["updated_at", "2014-05-27 01:26:25.302278"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 01:26:25.303992"], ["updated_at", "2014-05-27 01:26:25.303992"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_posts" SET "excerpt" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 1 [["excerpt", "New Excerpt"], ["updated_at", "2014-05-27 01:26:25.306132"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_versions"  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user20@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.312461"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$j.FmvzF2leRTjlgtYgWU9ej6rNKAdZWom6jy0ZCjhimozfFUyV3rW"], ["updated_at", "2014-05-27 01:26:25.312461"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user20@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:25.312461"], ["email", "user20@example.com"], ["encrypted_password", "$2a$04$j.FmvzF2leRTjlgtYgWU9ej6rNKAdZWom6jy0ZCjhimozfFUyV3rW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:25.312461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.318354"], ["excerpt", "Post #15. It was a dark and stormy night."], ["published", "f"], ["title", "Post #15"], ["updated_at", "2014-05-27 01:26:25.318354"], ["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", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 01:26:25.321924"], ["updated_at", "2014-05-27 01:26:25.321924"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Testing 123', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.6ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user21@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.330333"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$86WJRXbl0Wx773shW966xugq82NeYGDzSHMyz0/g1KR8q2TFL2ezO"], ["updated_at", "2014-05-27 01:26:25.330333"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user21@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:25.330333"], ["email", "user21@example.com"], ["encrypted_password", "$2a$04$86WJRXbl0Wx773shW966xugq82NeYGDzSHMyz0/g1KR8q2TFL2ezO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:25.330333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.335546"], ["excerpt", "Post #16. It was a dark and stormy night."], ["published", "f"], ["title", "Post #16"], ["updated_at", "2014-05-27 01:26:25.335546"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 01:26:25.337884"], ["updated_at", "2014-05-27 01:26:25.337884"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions" 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" ORDER BY "storytime_versions"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user22@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.346163"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$qNBkazZmBkUB7NFqc374Nu7tYuII1afOK2cCP5gkWB5Mv03yXmCta"], ["updated_at", "2014-05-27 01:26:25.346163"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user22@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:25.346163"], ["email", "user22@example.com"], ["encrypted_password", "$2a$04$qNBkazZmBkUB7NFqc374Nu7tYuII1afOK2cCP5gkWB5Mv03yXmCta"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:25.346163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.350895"], ["excerpt", "Post #17. It was a dark and stormy night."], ["published", "t"], ["title", "Post #17"], ["updated_at", "2014-05-27 01:26:25.350895"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Testing 123"], ["created_at", "2014-05-27 01:26:25.353526"], ["updated_at", "2014-05-27 01:26:25.353526"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Testing 123', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "New Content"], ["created_at", "2014-05-27 01:26:25.357617"], ["updated_at", "2014-05-27 01:26:25.357617"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_versions"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user23@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.364339"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$CuGMYHckEMsR3TAEuY1yX.rqatxeNhmAI/j.uSoKAG5jT56gfrgpe"], ["updated_at", "2014-05-27 01:26:25.364339"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user23@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:25.364339"], ["email", "user23@example.com"], ["encrypted_password", "$2a$04$CuGMYHckEMsR3TAEuY1yX.rqatxeNhmAI/j.uSoKAG5jT56gfrgpe"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:25.364339"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.370071"], ["excerpt", "Post #18. It was a dark and stormy night."], ["published", "t"], ["title", "Post #18"], ["updated_at", "2014-05-27 01:26:25.370071"], ["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", "Post #13. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:25.373661"], ["updated_at", "2014-05-27 01:26:25.373661"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #13. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" ORDER BY "storytime_versions"."id" DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "New Content"], ["created_at", "2014-05-27 01:26:25.378906"], ["updated_at", "2014-05-27 01:26:25.378906"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'New Content', "published" = 't' WHERE "storytime_posts"."id" = 1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #13. It was a dark and stormy night. The End.' WHERE "storytime_posts"."id" = 1 SQL (0.1ms) UPDATE "storytime_versions" SET "updated_at" = '2014-05-27 01:26:25.384095' WHERE "storytime_versions"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user24@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.389435"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$hwUqemZN9qz/Uygf44fgx.5rKuCFHP5WBkBwpMmamKCxHtviCqgv6"], ["updated_at", "2014-05-27 01:26:25.389435"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user24@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:25.389435"], ["email", "user24@example.com"], ["encrypted_password", "$2a$04$hwUqemZN9qz/Uygf44fgx.5rKuCFHP5WBkBwpMmamKCxHtviCqgv6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:25.389435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-2' 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" = 'page-2') LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.395759"], ["published", "t"], ["slug", "page-2"], ["title", "Page #2"], ["updated_at", "2014-05-27 01:26:25.395759"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #2. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:25.399211"], ["updated_at", "2014-05-27 01:26:25.399211"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #2. It was a dark and stormy night. The End.', "published" = 't' 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"]] 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" = 'page-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.404768"], ["slug", "page-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:25.409488"], ["title", "Site Title 6"], ["updated_at", "2014-05-27 01:26:25.409488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.413521"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$XBxsxojucEzR65k5nwPyfulhFvHVUWjJPZ1gSPjJymcpstxj875KC"], ["updated_at", "2014-05-27 01:26:25.413521"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user25@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:25.413521"], ["email", "user25@example.com"], ["encrypted_password", "$2a$04$XBxsxojucEzR65k5nwPyfulhFvHVUWjJPZ1gSPjJymcpstxj875KC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:25.413521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:25 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:25 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user25@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user25@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:25.529273"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:25.529273"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:25.529705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50071/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26: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#index 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user26@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.604636"], ["email", "user26@example.com"], ["encrypted_password", "$2a$04$iXxSDKRGqUTphdS3JS0AsuhSE/Svrb6Z/0Is09U1QSqK3VeVNFIl."], ["updated_at", "2014-05-27 01:26:25.604636"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:25.611515"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:26:25.611515"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 20:26:25 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.9ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (8.6ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 20.5ms | ActiveRecord: 0.9ms) Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-26 20:26:26 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 4ms (ActiveRecord: 0.4ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:26.600717"], ["title", "Site Title 7"], ["updated_at", "2014-05-27 01:26:26.600717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:26.604308"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$D2O1CRMSGnZNGNbKzyo78uRIT5qYwuhhZm/ao9iPekQXKXPBbqGIO"], ["updated_at", "2014-05-27 01:26:26.604308"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user27@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:26.604308"], ["email", "user27@example.com"], ["encrypted_password", "$2a$04$D2O1CRMSGnZNGNbKzyo78uRIT5qYwuhhZm/ao9iPekQXKXPBbqGIO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:26.604308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:26 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user27@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user27@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:26.713933"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:26.713933"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:26.714445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50071/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26:26 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.8ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 20:26:26 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (3.7ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 10.8ms | ActiveRecord: 0.7ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-26 20:26:26 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:26.907583"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:26:26.907583"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (3.7ms) Completed 200 OK in 30ms (Views: 16.4ms | ActiveRecord: 0.6ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:27.807977"], ["title", "Site Title 8"], ["updated_at", "2014-05-27 01:26:27.807977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:27.811821"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$3arG/VJzHbeWtyQj0TmkVeUSmPz7nFGi/Fa2pB3dVTO0A6c51sSze"], ["updated_at", "2014-05-27 01:26:27.811821"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user28@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:27.811821"], ["email", "user28@example.com"], ["encrypted_password", "$2a$04$3arG/VJzHbeWtyQj0TmkVeUSmPz7nFGi/Fa2pB3dVTO0A6c51sSze"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:27.811821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:27 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:27 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user28@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user28@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:27.830535"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:27.830535"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:27.831591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26:27 -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.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 12.9ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user29@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:27.865322"], ["email", "user29@example.com"], ["encrypted_password", "$2a$04$gRFTUxGhOJPfygH69G9TL.miC5jCb6Y0oejaZA7QFg8To7wuihZoW"], ["updated_at", "2014-05-27 01:26:27.865322"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:27.869967"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:26:27.869967"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user30@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:27.875824"], ["email", "user30@example.com"], ["encrypted_password", "$2a$04$mxz6MGWjZDj5CjoIbkU3zeXMyrBcIRZviz.1D0vww.ormfMmKwoNi"], ["updated_at", "2014-05-27 01:26:27.875824"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:27.880737"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:26:27.880737"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 20:26:27 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (6.5ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 13.4ms | ActiveRecord: 0.8ms)  (2.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:27.916987"], ["title", "Site Title 9"], ["updated_at", "2014-05-27 01:26:27.916987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:27.920795"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$o1.2xH6CRrDeVy1YGFldpu/jySDrZabt4Jk4Z..7ApgwkGPwCb0Lq"], ["updated_at", "2014-05-27 01:26:27.920795"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user31@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:27.920795"], ["email", "user31@example.com"], ["encrypted_password", "$2a$04$o1.2xH6CRrDeVy1YGFldpu/jySDrZabt4Jk4Z..7ApgwkGPwCb0Lq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:27.920795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:27 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user31@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user31@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:28.038951"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:28.038951"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:28.039921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50071/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26:28 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.0ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user32@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:28.117059"], ["email", "user32@example.com"], ["encrypted_password", "$2a$04$uzV0NXFE9Qaanu03cmw2K.domAn2yR2twttHPgk4KcbYet337OXqG"], ["updated_at", "2014-05-27 01:26:28.117059"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:28.123012"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:26:28.123012"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 20:26:28 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.0ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (1.4ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (3.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (5.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (13.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (14.9ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 20.6ms | ActiveRecord: 1.2ms) Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 20:26:29 -0500  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:29.490079"], ["title", "Site Title 10"], ["updated_at", "2014-05-27 01:26:29.490079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user33@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:29.494181"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$LInm60Wbqho6BDIjX2JZkOcsr2agfDmM16f..NdRofNw5oc.vPoXy"], ["updated_at", "2014-05-27 01:26:29.494181"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user33@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:29.494181"], ["email", "user33@example.com"], ["encrypted_password", "$2a$04$LInm60Wbqho6BDIjX2JZkOcsr2agfDmM16f..NdRofNw5oc.vPoXy"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:29.494181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:29.499833"], ["excerpt", "Post #19. It was a dark and stormy night."], ["published", "t"], ["title", "Post #19"], ["updated_at", "2014-05-27 01:26:29.499833"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #14. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:29.501801"], ["updated_at", "2014-05-27 01:26:29.501801"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #14. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user34@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:29.506277"], ["email", "user34@example.com"], ["encrypted_password", "$2a$04$XDk5O8UMW5BPSJIuHUSa6OWONGRowYH8A2D54WKxEs1frKGHZKjZ2"], ["updated_at", "2014-05-27 01:26:29.506277"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:29.508251"], ["excerpt", "Post #20. It was a dark and stormy night."], ["published", "t"], ["title", "Post #20"], ["updated_at", "2014-05-27 01:26:29.508251"], ["user_id", 2]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #15. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:29.509938"], ["updated_at", "2014-05-27 01:26:29.509938"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #15. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user35@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:29.514257"], ["email", "user35@example.com"], ["encrypted_password", "$2a$04$LgkefZNVzpomQelsqu4MmOC9W4xRgXTPdYsgMWViFuF94b9zvscfm"], ["updated_at", "2014-05-27 01:26:29.514257"]]  (0.0ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:29.516180"], ["excerpt", "Post #21. It was a dark and stormy night."], ["published", "t"], ["title", "Post #21"], ["updated_at", "2014-05-27 01:26:29.516180"], ["user_id", 3]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #16. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:29.517824"], ["updated_at", "2014-05-27 01:26:29.517824"], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] 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", 3], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #16. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts" for 127.0.0.1 at 2014-05-26 20:26:29 -0500 Processing by Storytime::PostsController#index as HTML 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 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/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.7ms) 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", 2]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (0.7ms) 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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (0.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (10.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 15.8ms | ActiveRecord: 0.7ms) Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:29.640962"], ["title", "Site Title 11"], ["updated_at", "2014-05-27 01:26:29.640962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user36@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:29.645057"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$5T18YJ.EzF1kt3lvPQefZeDEGs8W3ME9R/naH3ffle2X7evLnhOJW"], ["updated_at", "2014-05-27 01:26:29.645057"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user36@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:29.645057"], ["email", "user36@example.com"], ["encrypted_password", "$2a$04$5T18YJ.EzF1kt3lvPQefZeDEGs8W3ME9R/naH3ffle2X7evLnhOJW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:29.645057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:29.651137"], ["excerpt", "Post #22. It was a dark and stormy night."], ["published", "t"], ["title", "Post #22"], ["updated_at", "2014-05-27 01:26:29.651137"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #17. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:29.654435"], ["updated_at", "2014-05-27 01:26:29.654435"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #17. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/posts/1" for 127.0.0.1 at 2014-05-26 20:26:29 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"1"} 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"."published" = 't' AND "storytime_posts"."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", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/_tags.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.4ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:29.700640"], ["title", "Site Title 12"], ["updated_at", "2014-05-27 01:26:29.700640"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user37@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:29.704972"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$i/gS7wqpObunWMY1/QwqsObwPuarD.NxoR7foSSJ782ONe98GVUiG"], ["updated_at", "2014-05-27 01:26:29.704972"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user37@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:29.704972"], ["email", "user37@example.com"], ["encrypted_password", "$2a$04$i/gS7wqpObunWMY1/QwqsObwPuarD.NxoR7foSSJ782ONe98GVUiG"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:29.704972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered widgets/index.html.erb within layouts/storytime/dashboard (0.6ms) Completed 500 Internal Server Error in 5ms  (0.5ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 401 Unauthorized in 0ms  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user38@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:29.761203"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$Mht5Pb58qUsxzKqVAwqwAetWO4mAc1.M3NNOdlfedIHaWrZvd.uxO"], ["updated_at", "2014-05-27 01:26:29.761203"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user38@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:29.761203"], ["email", "user38@example.com"], ["encrypted_password", "$2a$04$Mht5Pb58qUsxzKqVAwqwAetWO4mAc1.M3NNOdlfedIHaWrZvd.uxO"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:29.761203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://test.host/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user39@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:29.797876"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$4dsZ9rD7gySz2LDJhSdYAuZ0e0QH4BnoF5sBZS2A.RWeh19qjbpmq"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:29.797876"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user39@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:29.797876"], ["email", "user39@example.com"], ["encrypted_password", "$2a$04$4dsZ9rD7gySz2LDJhSdYAuZ0e0QH4BnoF5sBZS2A.RWeh19qjbpmq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:29.797876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user39@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user39@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:29.817557"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:29.817557"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:29.818668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26: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::ApplicationController#setup as HTML  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://www.example.com/dashboard/sites/new Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 20:26:29 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' 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" = 3 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (13.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]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 33ms (Views: 25.7ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 20:26:29 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '47342a' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.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]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 17.3ms | ActiveRecord: 0.7ms) Started POST "/dashboard/sites" for 127.0.0.1 at 2014-05-26 20:26:29 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' 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.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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:29.915970"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site"], ["updated_at", "2014-05-27 01:26:29.915970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/sites/1/edit Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 20:26:29 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (10.3ms) Storytime::Role Load (0.1ms) 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.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.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" 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 41ms (Views: 34.7ms | ActiveRecord: 1.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:29.994245"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$jPjfsuOyJ.Q0BN/FkK8TzuVKb/1.qI7vVdnt0MMhG/M/rusuDXM0G"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:29.994245"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user40@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:29.994245"], ["email", "user40@example.com"], ["encrypted_password", "$2a$04$jPjfsuOyJ.Q0BN/FkK8TzuVKb/1.qI7vVdnt0MMhG/M/rusuDXM0G"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:29.994245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:29.998881"], ["title", "Site Title 13"], ["updated_at", "2014-05-27 01:26:29.998881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user40@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user40@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:30.018142"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:30.018142"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:30.019204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26:30 -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.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (9.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 1.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.9ms) Storytime::Role Load (0.1ms) 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.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.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" 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 29ms (Views: 24.9ms | ActiveRecord: 1.1ms) Started PATCH "/dashboard/sites/1" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Storytime::Dashboard::SitesController#update as HTML Parameters: {"utf8"=>"✓", "site"=>{"title"=>"The Site's New Name", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Update Site", "id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_sites" SET "footer" = ?, "ga_tracking_id" = ?, "header" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_sites"."id" = 1 [["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "The Site's New Name"], ["updated_at", "2014-05-27 01:26:30.103683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (8.9ms) Storytime::Role Load (0.1ms) 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.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.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" 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 35ms (Views: 28.0ms | ActiveRecord: 1.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (2.0ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.174007"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$R7z4.DM7Pe4ICHZbpY507uh8saqXeEb5VhULJOu21gZo7HLPMkSl2"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:30.174007"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user41@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:30.174007"], ["email", "user41@example.com"], ["encrypted_password", "$2a$04$R7z4.DM7Pe4ICHZbpY507uh8saqXeEb5VhULJOu21gZo7HLPMkSl2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:30.174007"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:30.183044"], ["title", "Site Title 14"], ["updated_at", "2014-05-27 01:26:30.183044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user41@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user41@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:30.203972"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:30.203972"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:30.204585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26:30 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 1.0ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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 Redirected to http://www.example.com/dashboard/sites/1/edit Filter chain halted as :redirect_if_site_exists rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.0ms) 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.4ms) Storytime::Role Load (0.1ms) 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.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.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" 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 35.7ms | ActiveRecord: 1.0ms)  (2.0ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user42@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.318492"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$IlWnrCODRBl29Vt5uHZyn.RS6vpEowXLLCM4KzSXy08GBEG.5qYQm"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:30.318492"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user42@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:30.318492"], ["email", "user42@example.com"], ["encrypted_password", "$2a$04$IlWnrCODRBl29Vt5uHZyn.RS6vpEowXLLCM4KzSXy08GBEG.5qYQm"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:30.318492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:30.323969"], ["title", "Site Title 15"], ["updated_at", "2014-05-27 01:26:30.323969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user42@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user42@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:30.341106"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:30.341106"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:30.341569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26:30 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (8.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 13.7ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user43@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.385162"], ["email", "user43@example.com"], ["encrypted_password", "$2a$04$VDqPtUgsglfqyyEt6TdxpOa/jILEGZJZ6zch32q./inxVLlGMV5Jy"], ["updated_at", "2014-05-27 01:26:30.385162"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-3' 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" = 'page-3') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.389782"], ["published", "f"], ["slug", "page-3"], ["title", "Page #3"], ["updated_at", "2014-05-27 01:26:30.389782"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #3. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:30.392097"], ["updated_at", "2014-05-27 01:26:30.392097"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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" = 'page-3' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.396481"], ["slug", "page-3"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/page-3/edit" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"page-3"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-3' 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.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"]] 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", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (1.8ms) 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.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_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (4.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (12.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 48ms (Views: 38.6ms | ActiveRecord: 2.0ms) Started PATCH "/dashboard/pages/page-3" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Update Page", "id"=>"page-3"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-3' 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.1ms) SAVEPOINT active_record_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 (sluggable_id <> 1) AND "storytime_pages"."slug" = 'the-story' 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 (sluggable_id <> 1) AND ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'the-story') LIMIT 1 SQL (0.1ms) UPDATE "storytime_pages" SET "slug" = ?, "title" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-27 01:26:30.484104"]] 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.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 01:26:30.487623"], ["updated_at", "2014-05-27 01:26:30.487623"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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"]] 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" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.491603"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 26ms (ActiveRecord: 2.1ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.3ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.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"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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 "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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (5.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", 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_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (2.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (7.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (15.9ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 47ms (Views: 36.0ms | ActiveRecord: 2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 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"]] 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"]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]]  (0.7ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user44@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.596312"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$DA62Dd/ePqp4VuFi5qkM3uDIc8XNRZSjUV1GihFVHULAojfzb5w4."], ["role_id", 3], ["updated_at", "2014-05-27 01:26:30.596312"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user44@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:30.596312"], ["email", "user44@example.com"], ["encrypted_password", "$2a$04$DA62Dd/ePqp4VuFi5qkM3uDIc8XNRZSjUV1GihFVHULAojfzb5w4."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:30.596312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:30.601775"], ["title", "Site Title 16"], ["updated_at", "2014-05-27 01:26:30.601775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user44@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user44@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:30.618572"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:30.618572"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:30.619124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26:30 -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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (8.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 15.4ms | ActiveRecord: 1.3ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user45@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.658352"], ["email", "user45@example.com"], ["encrypted_password", "$2a$04$eC9w2FKa093aLbbRN99D7eKa/ofYO/gjbNo/UUemGyQcLKt1MVsuC"], ["updated_at", "2014-05-27 01:26:30.658352"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-4' 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" = 'page-4') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.662379"], ["published", "t"], ["slug", "page-4"], ["title", "Page #4"], ["updated_at", "2014-05-27 01:26:30.662379"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #4. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:30.664497"], ["updated_at", "2014-05-27 01:26:30.664497"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #4. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-4' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.668046"], ["slug", "page-4"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user46@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.671657"], ["email", "user46@example.com"], ["encrypted_password", "$2a$04$TVecoOOL2aN0pi9uIAcEdunHeGnLX5j2BJDYVqc6pn1qXiI8RdrSe"], ["updated_at", "2014-05-27 01:26:30.671657"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-5' 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" = 'page-5') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.674879"], ["published", "t"], ["slug", "page-5"], ["title", "Page #5"], ["updated_at", "2014-05-27 01:26:30.674879"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #5. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:30.676613"], ["updated_at", "2014-05-27 01:26:30.676613"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #5. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-5' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.679867"], ["slug", "page-5"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user47@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.683354"], ["email", "user47@example.com"], ["encrypted_password", "$2a$04$56RoBnsfZGT4AbGULg/PjO0PDVgZ.MNS.KSgsgtWIIIP9o.bi2mPW"], ["updated_at", "2014-05-27 01:26:30.683354"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-6' 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" = 'page-6') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.686866"], ["published", "t"], ["slug", "page-6"], ["title", "Page #6"], ["updated_at", "2014-05-27 01:26:30.686866"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #6. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:30.688696"], ["updated_at", "2014-05-27 01:26:30.688696"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #6. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-6' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.691851"], ["slug", "page-6"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (5.3ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 13.4ms | ActiveRecord: 0.8ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages"  (0.8ms) rollback transaction  (0.2ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user48@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.767141"], ["email", "user48@example.com"], ["encrypted_password", "$2a$04$JFldgNJTGMFzOvOqM/7y7.J7RQ..srkKdBcg1CNEYtY3twiB0Hsl2"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:30.767141"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user48@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:30.767141"], ["email", "user48@example.com"], ["encrypted_password", "$2a$04$JFldgNJTGMFzOvOqM/7y7.J7RQ..srkKdBcg1CNEYtY3twiB0Hsl2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:30.767141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:30.773561"], ["title", "Site Title 17"], ["updated_at", "2014-05-27 01:26:30.773561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user48@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user48@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:30.789216"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:30.789216"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:30.789691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26:30 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (9.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 17ms (Views: 15.1ms | ActiveRecord: 1.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (1.9ms) 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/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (9.1ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 19.3ms | ActiveRecord: 1.3ms) Started POST "/dashboard/pages" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "page"=>{"title"=>"The Story", "draft_content"=>"It was a dark and stormy night...", "published"=>"0"}, "commit"=>"Create Page"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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.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]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'the-story' 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" = 'the-story') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.879218"], ["published", "f"], ["slug", "the-story"], ["title", "The Story"], ["updated_at", "2014-05-27 01:26:30.879218"], ["user_id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "It was a dark and stormy night..."], ["created_at", "2014-05-27 01:26:30.881081"], ["updated_at", "2014-05-27 01:26:30.881081"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.0ms) 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.0ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'the-story' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.884266"], ["slug", "the-story"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/pages/the-story/edit Completed 302 Found in 25ms (ActiveRecord: 1.5ms) Started GET "/dashboard/pages/the-story/edit" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"the-story"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'the-story' 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::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (2.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", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (2.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", 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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (3.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_form.html.erb (9.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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 19.6ms | ActiveRecord: 1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 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", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (1.9ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user49@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:30.962183"], ["email", "user49@example.com"], ["encrypted_password", "$2a$04$wRub88NcQQvKT74OyhrtVuseadF29ElF0iOnFiN6xY1L3mpOSuq5K"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:30.962183"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user49@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:30.962183"], ["email", "user49@example.com"], ["encrypted_password", "$2a$04$wRub88NcQQvKT74OyhrtVuseadF29ElF0iOnFiN6xY1L3mpOSuq5K"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:30.962183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:30.967505"], ["title", "Site Title 18"], ["updated_at", "2014-05-27 01:26:30.967505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user49@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user49@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:31.077136"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:31.077136"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:31.078112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50071/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26:31 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (6.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user50@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:31.160765"], ["email", "user50@example.com"], ["encrypted_password", "$2a$04$g8puujXCGPbViThTo9f/oeG0W08sTVyUkK/97pw/vm64LPoz2x3gi"], ["updated_at", "2014-05-27 01:26:31.160765"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-7' 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" = 'page-7') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:31.164182"], ["published", "t"], ["slug", "page-7"], ["title", "Page #7"], ["updated_at", "2014-05-27 01:26:31.164182"], ["user_id", 2]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #7. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:31.166107"], ["updated_at", "2014-05-27 01:26:31.166107"], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] 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", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #7. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.0ms) 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" = 'page-7' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:31.169815"], ["slug", "page-7"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user51@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:31.173591"], ["email", "user51@example.com"], ["encrypted_password", "$2a$04$P8J3aaCgVYgbW1zPRMnf3uwUkrCZrZkozXLOq8NdKNf6PR5GAjOgC"], ["updated_at", "2014-05-27 01:26:31.173591"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-8' 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" = 'page-8') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:31.176854"], ["published", "t"], ["slug", "page-8"], ["title", "Page #8"], ["updated_at", "2014-05-27 01:26:31.176854"], ["user_id", 3]] 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::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #8. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:31.178556"], ["updated_at", "2014-05-27 01:26:31.178556"], ["versionable_id", 2], ["versionable_type", "Storytime::Page"]] 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::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #8. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 2 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-8' [["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:31.181744"], ["slug", "page-8"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user52@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:31.185390"], ["email", "user52@example.com"], ["encrypted_password", "$2a$04$UdNi8rW8Zzn5TZqKpvJh3etAuo/sGWHHf3yhAxiQGuoqzPvOmjSE2"], ["updated_at", "2014-05-27 01:26:31.185390"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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 "storytime_pages"."slug" = 'page-9' 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" = 'page-9') LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_pages" ("created_at", "published", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:31.188645"], ["published", "t"], ["slug", "page-9"], ["title", "Page #9"], ["updated_at", "2014-05-27 01:26:31.188645"], ["user_id", 4]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Page #9. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:31.190383"], ["updated_at", "2014-05-27 01:26:31.190383"], ["versionable_id", 3], ["versionable_type", "Storytime::Page"]] 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", 3], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'Page #9. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_pages"."id" = 3 FriendlyId::Slug Load (0.0ms) 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::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" = 'page-9' [["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:31.193578"], ["slug", "page-9"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Page"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-05-26 20:26:31 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/pages/_list.html.erb (5.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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 11.8ms | ActiveRecord: 0.9ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started DELETE "/dashboard/pages/page-7" for 127.0.0.1 at 2014-05-26 20:26:32 -0500 Processing by Storytime::Dashboard::PagesController#destroy as JS Parameters: {"id"=>"page-7"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = 'page-7' 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' 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" = 1 LIMIT 1 [["role_id", 3]]  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) 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::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_pages" WHERE "storytime_pages"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 11ms (ActiveRecord: 1.0ms) Storytime::Page Load (0.3ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."id" = ? LIMIT 1 [["id", 1]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user53@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.171128"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$rUeGzplFYUVXSwjI3Z8qkud6dxD39/tx4m5GfsOGEJygvWPH.7c4O"], ["updated_at", "2014-05-27 01:26:32.171128"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user53@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.171128"], ["email", "user53@example.com"], ["encrypted_password", "$2a$04$rUeGzplFYUVXSwjI3Z8qkud6dxD39/tx4m5GfsOGEJygvWPH.7c4O"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.171128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:32.177848"], ["name", "tag1"], ["updated_at", "2014-05-27 01:26:32.177848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:32.179815"], ["name", "tag2"], ["updated_at", "2014-05-27 01:26:32.179815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.182812"], ["excerpt", "Post #23. It was a dark and stormy night."], ["published", "t"], ["title", "Post #23"], ["updated_at", "2014-05-27 01:26:32.182812"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.183756"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 01:26:32.183756"]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.184580"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 01:26:32.184580"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #18. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:32.186639"], ["updated_at", "2014-05-27 01:26:32.186639"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #18. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.1ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:32.193754"], ["name", "tag1"], ["updated_at", "2014-05-27 01:26:32.193754"]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.195607"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-27 01:26:32.195607"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #18. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_tags"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user54@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.204093"], ["email", "user54@example.com"], ["encrypted_password", "$2a$04$DkRNrVHoeTniT/xpvPMAR.bm2OIcqF6Sy5d7JLeA2f9tKUwzkHjQ6"], ["updated_at", "2014-05-27 01:26:32.204093"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user54@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.204093"], ["email", "user54@example.com"], ["encrypted_password", "$2a$04$DkRNrVHoeTniT/xpvPMAR.bm2OIcqF6Sy5d7JLeA2f9tKUwzkHjQ6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.204093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:32.211555"], ["name", "tag1"], ["updated_at", "2014-05-27 01:26:32.211555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:32.214667"], ["name", "tag2"], ["updated_at", "2014-05-27 01:26:32.214667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.219248"], ["excerpt", "Post #24. It was a dark and stormy night."], ["published", "t"], ["title", "Post #24"], ["updated_at", "2014-05-27 01:26:32.219248"], ["user_id", 1]] SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.221055"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 01:26:32.221055"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.222403"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 01:26:32.222403"]] 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"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #19. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:32.227006"], ["updated_at", "2014-05-27 01:26:32.227006"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #19. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user55@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.234441"], ["email", "user55@example.com"], ["encrypted_password", "$2a$04$sNSKwgvD2guDOTqk5jOO/ucJSWvYO7w.K0q7RjbaX0srLx8v/GfyS"], ["updated_at", "2014-05-27 01:26:32.234441"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.240103"], ["excerpt", "Post #25. It was a dark and stormy night."], ["published", "t"], ["title", "Post #25"], ["updated_at", "2014-05-27 01:26:32.240103"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.241140"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-05-27 01:26:32.241140"]] 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"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #20. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:32.243761"], ["updated_at", "2014-05-27 01:26:32.243761"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #20. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tagging Load (0.0ms) 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_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user56@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.262015"], ["email", "user56@example.com"], ["encrypted_password", "$2a$04$7DeJgk2YKnPz6F.MYpsVlegg6SgtCZvmhbePvTilLM6fN.x5PTA66"], ["updated_at", "2014-05-27 01:26:32.262015"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user56@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.262015"], ["email", "user56@example.com"], ["encrypted_password", "$2a$04$7DeJgk2YKnPz6F.MYpsVlegg6SgtCZvmhbePvTilLM6fN.x5PTA66"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.262015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:32.269660"], ["name", "tag1"], ["updated_at", "2014-05-27 01:26:32.269660"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:32.272143"], ["name", "tag2"], ["updated_at", "2014-05-27 01:26:32.272143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag1' AND "storytime_tags"."id" != 1) LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.275289"], ["excerpt", "Post #26. It was a dark and stormy night."], ["published", "t"], ["title", "Post #26"], ["updated_at", "2014-05-27 01:26:32.275289"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.276305"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-05-27 01:26:32.276305"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.277459"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-05-27 01:26:32.277459"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #21. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:32.280798"], ["updated_at", "2014-05-27 01:26:32.280798"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] 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.1ms) UPDATE "storytime_posts" SET "content" = 'Post #21. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user57@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.287359"], ["email", "user57@example.com"], ["encrypted_password", "$2a$04$c19aNR1KMbbqEeu0Ol1o5.E7oo1zjgb/QnP9t7S8SCn3/i/hWWOxu"], ["updated_at", "2014-05-27 01:26:32.287359"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag2' ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE ("storytime_tags"."name" = 'tag2' AND "storytime_tags"."id" != 2) LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "published", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.291353"], ["excerpt", "Post #27. It was a dark and stormy night."], ["published", "t"], ["title", "Post #27"], ["updated_at", "2014-05-27 01:26:32.291353"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.292296"], ["post_id", 2], ["tag_id", 2], ["updated_at", "2014-05-27 01:26:32.292296"]] 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"]] SQL (0.1ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "Post #22. It was a dark and stormy night. The End."], ["created_at", "2014-05-27 01:26:32.294583"], ["updated_at", "2014-05-27 01:26:32.294583"], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] 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"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #22. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.0ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'tag1' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:32.300819"], ["name", "tag1"], ["updated_at", "2014-05-27 01:26:32.300819"]] SQL (0.0ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? AND "storytime_taggings"."tag_id" IN (1, 2) [["post_id", 1]] SQL (0.0ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.302592"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-05-27 01:26:32.302592"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] 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", 1], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'Post #21. It was a dark and stormy night. The End.', "published" = 't' WHERE "storytime_posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "storytime_tags"  (0.7ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user58@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.314870"], ["email", "user58@example.com"], ["encrypted_password", "$2a$04$qMm7QYkIaLPP3ulmDN7uFeAvOxsam8efTbdh4OeMAtQsP6OK/bHNW"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:32.314870"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user58@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.314870"], ["email", "user58@example.com"], ["encrypted_password", "$2a$04$qMm7QYkIaLPP3ulmDN7uFeAvOxsam8efTbdh4OeMAtQsP6OK/bHNW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.314870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user59@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.326693"], ["email", "user59@example.com"], ["encrypted_password", "$2a$04$3vpLergQmkCtZc39qZgvte3jIgrhPTvRCovcsVTQU56m3sQSuNBCy"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:32.326693"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user59@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.326693"], ["email", "user59@example.com"], ["encrypted_password", "$2a$04$3vpLergQmkCtZc39qZgvte3jIgrhPTvRCovcsVTQU56m3sQSuNBCy"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.326693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user60@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.339321"], ["email", "user60@example.com"], ["encrypted_password", "$2a$04$jH0tXJYrfoHi7ooaXsvWUOg8djS0gcEJfP5baXfj02.ABgD9SztY."], ["role_id", 2], ["updated_at", "2014-05-27 01:26:32.339321"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user60@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.339321"], ["email", "user60@example.com"], ["encrypted_password", "$2a$04$jH0tXJYrfoHi7ooaXsvWUOg8djS0gcEJfP5baXfj02.ABgD9SztY."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.339321"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user61@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.359443"], ["email", "user61@example.com"], ["encrypted_password", "$2a$04$ri7R.yEe1VK9XRJ/FYl0o.ePU3k3WClmhIRJ6SqOeU626SE4mBoC."], ["role_id", 2], ["updated_at", "2014-05-27 01:26:32.359443"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user61@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.359443"], ["email", "user61@example.com"], ["encrypted_password", "$2a$04$ri7R.yEe1VK9XRJ/FYl0o.ePU3k3WClmhIRJ6SqOeU626SE4mBoC."], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.359443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user62@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.376896"], ["email", "user62@example.com"], ["encrypted_password", "$2a$04$A3uXusDQ3n1KRCRLlEFrhOOfa7JSqivySshaTQiU4SFR6cXLSU8Zy"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:32.376896"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user62@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.376896"], ["email", "user62@example.com"], ["encrypted_password", "$2a$04$A3uXusDQ3n1KRCRLlEFrhOOfa7JSqivySshaTQiU4SFR6cXLSU8Zy"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.376896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user63@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.390832"], ["email", "user63@example.com"], ["encrypted_password", "$2a$04$ki0wS8XEbyBTzc5yd03averEFvJJcGbx.V6k/lhkyHwE4FbuzhmNu"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:32.390832"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user63@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.390832"], ["email", "user63@example.com"], ["encrypted_password", "$2a$04$ki0wS8XEbyBTzc5yd03averEFvJJcGbx.V6k/lhkyHwE4FbuzhmNu"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.390832"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user65@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.411608"], ["email", "user65@example.com"], ["encrypted_password", "$2a$04$OV7tPTd8vwWgIgh4IWDoFORHus5tPdBJkNhFdNFsthOTNGQCxw73O"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:32.411608"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user65@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.411608"], ["email", "user65@example.com"], ["encrypted_password", "$2a$04$OV7tPTd8vwWgIgh4IWDoFORHus5tPdBJkNhFdNFsthOTNGQCxw73O"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.411608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user67@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.426883"], ["email", "user67@example.com"], ["encrypted_password", "$2a$04$fDpVRszQWp/o5GctOb734.9chnkmVdY/HOTX8eYWEkBYNQ6NtMLr2"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:32.426883"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user67@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.426883"], ["email", "user67@example.com"], ["encrypted_password", "$2a$04$fDpVRszQWp/o5GctOb734.9chnkmVdY/HOTX8eYWEkBYNQ6NtMLr2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.426883"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.5ms) rollback transaction  (0.0ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user69@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.442114"], ["email", "user69@example.com"], ["encrypted_password", "$2a$04$p0CcokF5UAIim4e7U7DFb.2cfAEFK3BfzWS1GPFxmoOF0hwEkLS7e"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:32.442114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user70@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.451185"], ["email", "user70@example.com"], ["encrypted_password", "$2a$04$kjR86z/SthbytwGSnxbk2ugUUVR0YhgnWRauzbQok6zvzGOd8Fq/i"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:32.451185"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user71@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.458975"], ["email", "user71@example.com"], ["encrypted_password", "$2a$04$OC.LAl01UlXuzp8WLDn8JOjw7urmF.t4evtJzejDURqL6fPCot0LK"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:32.458975"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user72@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.474355"], ["email", "user72@example.com"], ["encrypted_password", "$2a$04$YRYQjuHIspDAHVLKluMJ/esBHaI.JfGI52yF.dUlzoGQ6IYzsTZaK"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:32.474355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user73@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.483158"], ["email", "user73@example.com"], ["encrypted_password", "$2a$04$VrGs4wJyxKsGJWrzJdSv6eV4buLwHgeqOOhkEwkEgTeljS8puG0Tm"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:32.483158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.4ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user74@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.494177"], ["email", "user74@example.com"], ["encrypted_password", "$2a$04$y2dUEwwq8.kmDcZZqYMkgukFNB2fsb4xh7qN4k1VoAbo5.5wCS88m"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:32.494177"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user76@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.509965"], ["email", "user76@example.com"], ["encrypted_password", "$2a$04$gya8dNdcde.0roL1Qs1qX.k9GXPtLIxHkochTTx7N6sC5SE4nAKz."], ["role_id", 1], ["updated_at", "2014-05-27 01:26:32.509965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user78@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.522341"], ["email", "user78@example.com"], ["encrypted_password", "$2a$04$5VAZKW4qYKeTA7pLR6HjS.bDOWtP7Bnm85pjxq6KVwi6jzpWpnE9C"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:32.522341"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user80@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.534588"], ["email", "user80@example.com"], ["encrypted_password", "$2a$04$fRyfGzqfV9zGGqW9hZJ1YefGKWy5qMubbcbSLNVXQqQbE.w5MV1J2"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.534588"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user80@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.534588"], ["email", "user80@example.com"], ["encrypted_password", "$2a$04$fRyfGzqfV9zGGqW9hZJ1YefGKWy5qMubbcbSLNVXQqQbE.w5MV1J2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.534588"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user81@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.545651"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$CNG5Pvf67wVK6.Aa727pxe9DpR057ADqwMVEaxUrHYjGU9pjcV.zW"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.545651"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user81@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.545651"], ["email", "user81@example.com"], ["encrypted_password", "$2a$04$CNG5Pvf67wVK6.Aa727pxe9DpR057ADqwMVEaxUrHYjGU9pjcV.zW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.545651"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (11.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user82@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.568942"], ["email", "user82@example.com"], ["encrypted_password", "$2a$04$cdHV.0JEA8Mf8U21J0ywBeEKZ9uCTCKcMawCt0svzpjKfSzC5bDQC"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.568942"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user82@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.568942"], ["email", "user82@example.com"], ["encrypted_password", "$2a$04$cdHV.0JEA8Mf8U21J0ywBeEKZ9uCTCKcMawCt0svzpjKfSzC5bDQC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.568942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user83@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.581403"], ["email", "user83@example.com"], ["encrypted_password", "$2a$04$SKcwZp44LnkKPQhgLn.UYOYdfSX9JTQcYO.sHrhxR1isUIGb0C/be"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.581403"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user83@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.581403"], ["email", "user83@example.com"], ["encrypted_password", "$2a$04$SKcwZp44LnkKPQhgLn.UYOYdfSX9JTQcYO.sHrhxR1isUIGb0C/be"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.581403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user84@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.591992"], ["email", "user84@example.com"], ["encrypted_password", "$2a$04$oYcr0MgZZ/rlsjfzSFgXZu20rCiu./PFy0F6aBYBK8rCIw5NN/MNm"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.591992"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user84@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.591992"], ["email", "user84@example.com"], ["encrypted_password", "$2a$04$oYcr0MgZZ/rlsjfzSFgXZu20rCiu./PFy0F6aBYBK8rCIw5NN/MNm"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.591992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user85@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.612146"], ["email", "user85@example.com"], ["encrypted_password", "$2a$04$czgMWIn2ZhubtQcAU/dJDOl9QfvA.ox9TLwzBeum/Q1MEb9CxZEV2"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.612146"]]  (0.2ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user85@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.612146"], ["email", "user85@example.com"], ["encrypted_password", "$2a$04$czgMWIn2ZhubtQcAU/dJDOl9QfvA.ox9TLwzBeum/Q1MEb9CxZEV2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.612146"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user87@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.634623"], ["email", "user87@example.com"], ["encrypted_password", "$2a$04$NiDj7jNE4ZH929OPmyfwEutHbecLckvJrZDvvEMl/5B8hu4vZewzm"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.634623"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user87@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.634623"], ["email", "user87@example.com"], ["encrypted_password", "$2a$04$NiDj7jNE4ZH929OPmyfwEutHbecLckvJrZDvvEMl/5B8hu4vZewzm"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.634623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user89@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.651437"], ["email", "user89@example.com"], ["encrypted_password", "$2a$04$Mv7mLaNunkt7I9.hRyCS6.idFY.cK32fZdnTBTygnUsl5zKH95Ysi"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.651437"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user89@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.651437"], ["email", "user89@example.com"], ["encrypted_password", "$2a$04$Mv7mLaNunkt7I9.hRyCS6.idFY.cK32fZdnTBTygnUsl5zKH95Ysi"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.651437"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user91@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.667530"], ["email", "user91@example.com"], ["encrypted_password", "$2a$04$Da7xZHmBjMjCjoTA9xurmuI63AeA3KKbyObAUPmB9BzttfQZUx6.a"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.667530"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user91@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.667530"], ["email", "user91@example.com"], ["encrypted_password", "$2a$04$Da7xZHmBjMjCjoTA9xurmuI63AeA3KKbyObAUPmB9BzttfQZUx6.a"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.667530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:32.675125"], ["title", "Site Title 19"], ["updated_at", "2014-05-27 01:26:32.675125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user91@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user91@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:32.702798"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:32.702798"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:32.703995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26: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::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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (9.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 15.0ms | ActiveRecord: 1.1ms) Started GET "/dashboard/users/new" for 127.0.0.1 at 2014-05-26 20:26:32 -0500 Processing by Storytime::Dashboard::UsersController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 26ms (Views: 21.2ms | ActiveRecord: 0.8ms) Started POST "/dashboard/users" for 127.0.0.1 at 2014-05-26 20:26:32 -0500 Processing by Storytime::Dashboard::UsersController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"new_user@example.com", "role_id"=>"1", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Create User"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]]  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'new_user@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.793582"], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$hw.41.kZlqXNaOwJEqZn.OUoh8CssCDLSghofHmpPx8phhEih4KFy"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:32.793582"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/users Completed 302 Found in 10ms (ActiveRecord: 0.7ms) Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 20:26:32 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (7.7ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 18.8ms | ActiveRecord: 0.9ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user92@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.860558"], ["email", "user92@example.com"], ["encrypted_password", "$2a$04$dkkZMNgHrK7ZhqRLTghTju9NNTMsj8UJljAq2JSMHrEZdC644HBLm"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.860558"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user92@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:32.860558"], ["email", "user92@example.com"], ["encrypted_password", "$2a$04$dkkZMNgHrK7ZhqRLTghTju9NNTMsj8UJljAq2JSMHrEZdC644HBLm"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:32.860558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:32.865287"], ["title", "Site Title 20"], ["updated_at", "2014-05-27 01:26:32.865287"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:32 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user92@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user92@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:32.883407"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:32.883407"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:32.883892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26:32 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (8.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user93@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.921270"], ["email", "user93@example.com"], ["encrypted_password", "$2a$04$7xxw1i9aENSjOonUr5y0jOqsU6SiRP..9cF1NnxTwpUvgZz2iE2IK"], ["updated_at", "2014-05-27 01:26:32.921270"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user94@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.925896"], ["email", "user94@example.com"], ["encrypted_password", "$2a$04$oJKb6rq2OGGKiBsdvPas7OQljpd80ZCrKhG4DDEx2TfeYVj4r6XAy"], ["updated_at", "2014-05-27 01:26:32.925896"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user95@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:32.930085"], ["email", "user95@example.com"], ["encrypted_password", "$2a$04$Q56NoubIAAkrfAz8mieeCOL34B1TU7y4fA.BS8zQXK7ziybDEPG7W"], ["updated_at", "2014-05-27 01:26:32.930085"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 20:26:32 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (3.4ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 14ms (Views: 10.3ms | ActiveRecord: 0.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users"  (1.8ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user96@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:33.021535"], ["email", "user96@example.com"], ["encrypted_password", "$2a$04$onm2z2R1P2j0B6JO3zF44ejJxB.OqtZbCsUf.C3MoynGJCCRcq8wi"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:33.021535"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user96@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:33.021535"], ["email", "user96@example.com"], ["encrypted_password", "$2a$04$onm2z2R1P2j0B6JO3zF44ejJxB.OqtZbCsUf.C3MoynGJCCRcq8wi"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:33.021535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:33.029453"], ["title", "Site Title 21"], ["updated_at", "2014-05-27 01:26:33.029453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user96@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user96@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:33.046169"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:33.046169"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:33.046758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26: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#index 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"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (8.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 15.1ms | ActiveRecord: 1.2ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user97@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:33.092596"], ["email", "user97@example.com"], ["encrypted_password", "$2a$04$LirbfpGYGCzkQEvEAx63MeFEl5qkpHpN9RdC2VpCL9GlfQ0XNByDS"], ["updated_at", "2014-05-27 01:26:33.092596"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users/2/edit" for 127.0.0.1 at 2014-05-26 20:26:33 -0500 Processing by Storytime::Dashboard::UsersController#edit as HTML Parameters: {"id"=>"2"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 16.5ms | ActiveRecord: 1.1ms) Started PATCH "/dashboard/users/2" for 127.0.0.1 at 2014-05-26 20:26:33 -0500 Processing by Storytime::Dashboard::UsersController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"new_email@example.com", "role_id"=>"1"}, "commit"=>"Update User", "id"=>"2"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 2]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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]]  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'new_email@example.com' AND "storytime_users"."id" != 2) LIMIT 1 SQL (0.1ms) UPDATE "storytime_users" SET "email" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 2 [["email", "new_email@example.com"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:33.180692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/dashboard/users Completed 302 Found in 56ms (ActiveRecord: 0.9ms) Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 20:26:33 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (2.2ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 8.3ms | ActiveRecord: 0.7ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user98@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:33.221629"], ["email", "user98@example.com"], ["encrypted_password", "$2a$04$zPZ6Iy3ni/72P1T5bpKcfuFisWXlll.AB17sWSX9l5trU/Ug0XfNK"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:33.221629"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user98@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:33.221629"], ["email", "user98@example.com"], ["encrypted_password", "$2a$04$zPZ6Iy3ni/72P1T5bpKcfuFisWXlll.AB17sWSX9l5trU/Ug0XfNK"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:33.221629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:26:33.226276"], ["title", "Site Title 22"], ["updated_at", "2014-05-27 01:26:33.226276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:33 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:26:33 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user98@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user98@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:26:33.337370"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:26:33.337370"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:26:33.338331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50071/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:26:33 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user99@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:33.420085"], ["email", "user99@example.com"], ["encrypted_password", "$2a$04$M0d.BhV..v14E4A6pGrr/.JSSMuloy7jGjCRwpONmWlCqF/TFa3je"], ["updated_at", "2014-05-27 01:26:33.420085"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user100@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:33.423623"], ["email", "user100@example.com"], ["encrypted_password", "$2a$04$37AyIP0yzJNoei9pwn1UBOhL.ezsI.1.RT5QkZCKnpTDgl1AGzLk6"], ["updated_at", "2014-05-27 01:26:33.423623"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user101@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:33.427166"], ["email", "user101@example.com"], ["encrypted_password", "$2a$04$zwWEHN.ZoTecNGhABWKUJOQvrxzln7PI6MUHETxLl3BGUPUssNuG6"], ["updated_at", "2014-05-27 01:26:33.427166"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/users" for 127.0.0.1 at 2014-05-26 20:26:33 -0500 Processing by Storytime::Dashboard::UsersController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 4 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" CACHE (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/users/_user.html.erb (3.0ms) CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' 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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 9.4ms | ActiveRecord: 0.7ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" ORDER BY "storytime_users"."id" DESC LIMIT 1 Started DELETE "/dashboard/users/4" for 127.0.0.1 at 2014-05-26 20:26:34 -0500 Processing by Storytime::Dashboard::UsersController#destroy as JS Parameters: {"id"=>"4"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.0ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 4]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_users" WHERE "storytime_users"."id" = ? [["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 7ms (ActiveRecord: 0.6ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 4]]  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'tony@stark.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.417941"], ["email", "tony@stark.com"], ["encrypted_password", "$2a$04$eg8zKZjp6i/4YRxWtDZmYu6YHO25Ui.P6JugWAsFu6xydaPXXoRz2"], ["updated_at", "2014-05-27 01:26:34.417941"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'tony@stark.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.417941"], ["email", "tony@stark.com"], ["encrypted_password", "$2a$04$eg8zKZjp6i/4YRxWtDZmYu6YHO25Ui.P6JugWAsFu6xydaPXXoRz2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.417941"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]]  (0.4ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user102@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.427734"], ["email", "user102@example.com"], ["encrypted_password", "$2a$04$RvkyqKgk9S/vsjRniiO3.O/0PbV0sYQJO9NfcrV8JyUdE3XPfWLVW"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:34.427734"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user102@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.427734"], ["email", "user102@example.com"], ["encrypted_password", "$2a$04$RvkyqKgk9S/vsjRniiO3.O/0PbV0sYQJO9NfcrV8JyUdE3XPfWLVW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.427734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user103@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.437699"], ["email", "user103@example.com"], ["encrypted_password", "$2a$04$/G9nR9ZeinBU.5MzN45tT.ykeVKj4SzVd2Dm72tRIFSvL3KaiBMP6"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:34.437699"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user103@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.437699"], ["email", "user103@example.com"], ["encrypted_password", "$2a$04$/G9nR9ZeinBU.5MzN45tT.ykeVKj4SzVd2Dm72tRIFSvL3KaiBMP6"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.437699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user104@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.447920"], ["email", "user104@example.com"], ["encrypted_password", "$2a$04$HoExw7NjqUYrS1fUJMv8zOqAm3Jr2A9P5jsXfcn0FExqquzN/ZVpq"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:34.447920"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user104@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.447920"], ["email", "user104@example.com"], ["encrypted_password", "$2a$04$HoExw7NjqUYrS1fUJMv8zOqAm3Jr2A9P5jsXfcn0FExqquzN/ZVpq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.447920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (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]]  (0.5ms) rollback transaction  (0.0ms) begin transaction Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user105@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.461120"], ["email", "user105@example.com"], ["encrypted_password", "$2a$04$xHGtJr/rMaRrosC5M6vSveBlIDs/qjzS.H/lgOJyU318ILjy3ujTe"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:34.461120"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user105@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.461120"], ["email", "user105@example.com"], ["encrypted_password", "$2a$04$xHGtJr/rMaRrosC5M6vSveBlIDs/qjzS.H/lgOJyU318ILjy3ujTe"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.461120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user106@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.473702"], ["email", "user106@example.com"], ["encrypted_password", "$2a$04$VKJ3UHukYcQ3qW.rAEwjtuKmblRzSPjlbJmit45zoMsPIaql8wn9m"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:34.473702"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user106@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.473702"], ["email", "user106@example.com"], ["encrypted_password", "$2a$04$VKJ3UHukYcQ3qW.rAEwjtuKmblRzSPjlbJmit45zoMsPIaql8wn9m"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.473702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user107@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.484858"], ["email", "user107@example.com"], ["encrypted_password", "$2a$04$B/sAubOu7rvpT6DaqNwwcOKcdgVUsCAA1pJ7.svCzZ0jor1AwkZU2"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:34.484858"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user107@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.484858"], ["email", "user107@example.com"], ["encrypted_password", "$2a$04$B/sAubOu7rvpT6DaqNwwcOKcdgVUsCAA1pJ7.svCzZ0jor1AwkZU2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.484858"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user109@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.500452"], ["email", "user109@example.com"], ["encrypted_password", "$2a$04$SjUkXfJR4zTl7uAxZVlqKej50JYurO..OUXhIn0xfh6TfP77EcKG2"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:34.500452"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user109@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.500452"], ["email", "user109@example.com"], ["encrypted_password", "$2a$04$SjUkXfJR4zTl7uAxZVlqKej50JYurO..OUXhIn0xfh6TfP77EcKG2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.500452"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user111@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.514578"], ["email", "user111@example.com"], ["encrypted_password", "$2a$04$a4yLDAoSlJuDTzogLrLvoOyVjO9rARrlGAgQvbze45ycXALIEDYES"], ["role_id", 2], ["updated_at", "2014-05-27 01:26:34.514578"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user111@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.514578"], ["email", "user111@example.com"], ["encrypted_password", "$2a$04$a4yLDAoSlJuDTzogLrLvoOyVjO9rARrlGAgQvbze45ycXALIEDYES"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.514578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.6ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user113@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.529217"], ["email", "user113@example.com"], ["encrypted_password", "$2a$04$Js5KEXmUwjmSZVO9l7OD/.CVOvzt2GlW9s2MlizVHqXVBIR4Gyp/S"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:34.529217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user114@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.540263"], ["email", "user114@example.com"], ["encrypted_password", "$2a$04$8OnxFhSfjfOq4D.eEqGoouV5KxpG9lKutKhkGD4tQcQMK6DMpq4pi"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:34.540263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user115@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.548551"], ["email", "user115@example.com"], ["encrypted_password", "$2a$04$8mkHD3k5QSegHjhYsBxhIu3be8bToEvyg3TSWOOS.hLRYnVdOwX5a"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:34.548551"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user116@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.561560"], ["email", "user116@example.com"], ["encrypted_password", "$2a$04$Ch9d6NIBrzjcTm32gTYT6uMTMGdt7nnkjKX6OD7j.5ziJ/uzKfTea"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:34.561560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user117@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.569300"], ["email", "user117@example.com"], ["encrypted_password", "$2a$04$Uj/fvBr2UYIC8rkZpI.vL.YQRazmv3SpR8nbiQt0CtffMDnEY57lG"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:34.569300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user118@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.577381"], ["email", "user118@example.com"], ["encrypted_password", "$2a$04$DVOFD83v1hsd08NrZYAcFuzrrnBGAewDmcUywFw8Bjkw9qJTuQXtW"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:34.577381"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user120@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.590842"], ["email", "user120@example.com"], ["encrypted_password", "$2a$04$tet.SCJG5zPDgbUJG2dDl.FUI/w5rvoxR4YbZpCOLb8AzafwDAfTW"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:34.590842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user122@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.600837"], ["email", "user122@example.com"], ["encrypted_password", "$2a$04$cGBNdkqwLeh76vRC0oBIael0iNEVkxMo1IwXse6czIjFMBrYyFscW"], ["role_id", 1], ["updated_at", "2014-05-27 01:26:34.600837"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user124@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.612577"], ["email", "user124@example.com"], ["encrypted_password", "$2a$04$jcsU82PgG.Eh4rxfVJ423u2ABMRsyHBqlmgaFfkfgFM.ZAgfN8YFi"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.612577"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user124@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.612577"], ["email", "user124@example.com"], ["encrypted_password", "$2a$04$jcsU82PgG.Eh4rxfVJ423u2ABMRsyHBqlmgaFfkfgFM.ZAgfN8YFi"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.612577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user125@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.626401"], ["email", "user125@example.com"], ["encrypted_password", "$2a$04$zM.LQH0fvrJjvTLRXKuDwuc71B5aHuOXWg3pHtmnm.a.B2S8S1hd2"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.626401"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user125@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.626401"], ["email", "user125@example.com"], ["encrypted_password", "$2a$04$zM.LQH0fvrJjvTLRXKuDwuc71B5aHuOXWg3pHtmnm.a.B2S8S1hd2"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.626401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user126@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.637644"], ["email", "user126@example.com"], ["encrypted_password", "$2a$04$BGQqFf7LuA567F1qR25OQe64mJmUqqO6SWAWzWA9w1JphMMyG0Obm"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.637644"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user126@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.637644"], ["email", "user126@example.com"], ["encrypted_password", "$2a$04$BGQqFf7LuA567F1qR25OQe64mJmUqqO6SWAWzWA9w1JphMMyG0Obm"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.637644"]]  (0.1ms) RELEASE SAVEPOINT active_record_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]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.2ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user127@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.653007"], ["email", "user127@example.com"], ["encrypted_password", "$2a$04$bB/YkAtgKILgp4vDOD/G0.1j.U.z0PgVJBPIrhBCRfwtQ7wC/fzUC"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.653007"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user127@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.653007"], ["email", "user127@example.com"], ["encrypted_password", "$2a$04$bB/YkAtgKILgp4vDOD/G0.1j.U.z0PgVJBPIrhBCRfwtQ7wC/fzUC"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.653007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user128@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.664060"], ["email", "user128@example.com"], ["encrypted_password", "$2a$04$NkN6e6f2uIMsBu0l7TIMKO5.WQ6hi9a2ny6W3oNIiEV8VyA73SRFq"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.664060"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user128@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.664060"], ["email", "user128@example.com"], ["encrypted_password", "$2a$04$NkN6e6f2uIMsBu0l7TIMKO5.WQ6hi9a2ny6W3oNIiEV8VyA73SRFq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.664060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user129@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.674431"], ["email", "user129@example.com"], ["encrypted_password", "$2a$04$P6.xq7pXxLvn3PSK3A.GQu8dNAjMfrFssq.esQUzhYuYQUZwFrWHW"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.674431"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user129@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.674431"], ["email", "user129@example.com"], ["encrypted_password", "$2a$04$P6.xq7pXxLvn3PSK3A.GQu8dNAjMfrFssq.esQUzhYuYQUZwFrWHW"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.674431"]]  (0.0ms) RELEASE SAVEPOINT active_record_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]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user131@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.687960"], ["email", "user131@example.com"], ["encrypted_password", "$2a$04$zQ5MEFUOA9tQ5mxk4UfZg.dh73.v4IIky8RRuS5pYHqu9VFmEqI26"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.687960"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user131@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.687960"], ["email", "user131@example.com"], ["encrypted_password", "$2a$04$zQ5MEFUOA9tQ5mxk4UfZg.dh73.v4IIky8RRuS5pYHqu9VFmEqI26"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.687960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user133@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "role_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-27 01:26:34.700734"], ["email", "user133@example.com"], ["encrypted_password", "$2a$04$wW35PukYX.LHMRa0AcQ0Zuolj1DfqQTcOK.eTQrMQ8TWIc/E1/VUi"], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.700734"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user133@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:26:34.700734"], ["email", "user133@example.com"], ["encrypted_password", "$2a$04$wW35PukYX.LHMRa0AcQ0Zuolj1DfqQTcOK.eTQrMQ8TWIc/E1/VUi"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:26:34.700734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (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" = 1 LIMIT 1 [["role_id", 3]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Storytime::Role Exists (0.7ms) 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.1ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Storytime::Role Exists (0.1ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) 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.0ms) begin transaction Storytime::Action Exists (0.1ms) 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.0ms) rollback transaction  (0.0ms) 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.0ms) rollback transaction  (0.0ms) 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  (0.0ms) 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 (1.6ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:34:31.636488"], ["role_id", 1], ["updated_at", "2014-05-27 01:34:31.636488"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:34:31.644821"], ["role_id", 2], ["updated_at", "2014-05-27 01:34:31.644821"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:34:31.646899"], ["role_id", 3], ["updated_at", "2014-05-27 01:34:31.646899"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 01:34:31.648980"], ["role_id", 2], ["updated_at", "2014-05-27 01:34:31.648980"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 01:34:31.651147"], ["role_id", 3], ["updated_at", "2014-05-27 01:34:31.651147"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 01:34:31.653254"], ["role_id", 3], ["updated_at", "2014-05-27 01:34:31.653254"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 01:34:31.656427"], ["role_id", 3], ["updated_at", "2014-05-27 01:34:31.656427"]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:34:31.666884"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 01:34:31.666884"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.5ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:34:31.680782"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Pzzc14OJGr/UMvFArggyseBM913kpU2cR2ZX/xM1jIAPbW8z.Ws.G"], ["updated_at", "2014-05-27 01:34:31.680782"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:34:31.680782"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Pzzc14OJGr/UMvFArggyseBM913kpU2cR2ZX/xM1jIAPbW8z.Ws.G"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:34:31.680782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:34:34 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (31.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 281ms (Views: 266.3ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 20:34:34 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 20:34:34 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:34:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:34:34.684602"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:34:34.684602"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:34:34.685911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50186/ Completed 302 Found in 15ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:34:34 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (43.2ms) Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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.1ms) SELECT 1 AS one 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (26.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (30.1ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.5ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (3.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 92ms (Views: 87.8ms | ActiveRecord: 3.0ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:34:34.875900"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$9sVA4B7U6DRnpikWkpGyL.ElbeBfY1/rZ2bQgejQCpCj50S.YDk4C"], ["updated_at", "2014-05-27 01:34:34.875900"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:34:34.891347"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:34:34.891347"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 20:34:34 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.8ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (5.7ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (3.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (10.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (19.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (48.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (55.7ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 94ms (Views: 73.3ms | ActiveRecord: 3.0ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 20:34:35 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 20:34:35 -0500  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) 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.0ms) 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.2ms) 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.1ms) 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 (1.9ms) 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.0ms) 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  (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.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.2ms) 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 (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:35:18.117910"], ["role_id", 1], ["updated_at", "2014-05-27 01:35:18.117910"]]  (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-05-27 01:35:18.127131"], ["role_id", 2], ["updated_at", "2014-05-27 01:35:18.127131"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:35:18.129353"], ["role_id", 3], ["updated_at", "2014-05-27 01:35:18.129353"]]  (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-05-27 01:35:18.131559"], ["role_id", 2], ["updated_at", "2014-05-27 01:35:18.131559"]]  (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-05-27 01:35:18.134152"], ["role_id", 3], ["updated_at", "2014-05-27 01:35:18.134152"]]  (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", 3], ["created_at", "2014-05-27 01:35:18.138039"], ["role_id", 3], ["updated_at", "2014-05-27 01:35:18.138039"]]  (1.0ms) 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-05-27 01:35:18.141464"], ["role_id", 3], ["updated_at", "2014-05-27 01:35:18.141464"]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:35:18.154134"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 01:35:18.154134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.5ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:35:18.169573"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$5.POwtgIjHBxzqG5Jgl1pu6DBiIytJIwWp5NtezfEJeo4gTq5y/3u"], ["updated_at", "2014-05-27 01:35:18.169573"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:35:18.169573"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$5.POwtgIjHBxzqG5Jgl1pu6DBiIytJIwWp5NtezfEJeo4gTq5y/3u"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:35:18.169573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:35:20 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (29.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 185ms (Views: 169.3ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 20:35:20 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 20:35:20 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:35:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:35:20.955686"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:35:20.955686"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:35:20.957078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50244/ Completed 302 Found in 14ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:35:20 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (15.6ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (22.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (24.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 57ms (Views: 53.7ms | ActiveRecord: 1.8ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:35:21.088447"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$rFZl1KEkreXIAZfSkBszcesH0NUw2p/gKhHx.p7hjY8f1Ylcf9wd."], ["updated_at", "2014-05-27 01:35:21.088447"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:35:21.100059"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:35:21.100059"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 20:35:21 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::Role Load (0.0ms) 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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (2.3ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (4.3ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (7.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (15.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (39.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (44.9ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 74ms (Views: 56.4ms | ActiveRecord: 1.9ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 20:35:21 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 20:35:21 -0500  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Storytime::Role Exists (0.2ms) 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.1ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Storytime::Role Exists (0.1ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Storytime::Action Exists (0.1ms) 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.0ms) rollback transaction  (0.0ms) begin transaction Storytime::Action Exists (0.1ms) 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.0ms) 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.0ms) 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  (0.0ms) 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 (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:41:14.785694"], ["role_id", 1], ["updated_at", "2014-05-27 01:41:14.785694"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:41:14.793772"], ["role_id", 2], ["updated_at", "2014-05-27 01:41:14.793772"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-05-27 01:41:14.795920"], ["role_id", 3], ["updated_at", "2014-05-27 01:41:14.795920"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 01:41:14.798424"], ["role_id", 2], ["updated_at", "2014-05-27 01:41:14.798424"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-05-27 01:41:14.800376"], ["role_id", 3], ["updated_at", "2014-05-27 01:41:14.800376"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-05-27 01:41:14.802401"], ["role_id", 3], ["updated_at", "2014-05-27 01:41:14.802401"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-05-27 01:41:14.805282"], ["role_id", 3], ["updated_at", "2014-05-27 01:41:14.805282"]]  (0.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:41:14.814766"], ["title", "Site Title 1"], ["updated_at", "2014-05-27 01:41:14.814766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:41:14.828611"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$dqygGOmq3qNiu6xyKBTSy.pny38UI.GU7LibpdqSM5FU9HatxSAim"], ["updated_at", "2014-05-27 01:41:14.828611"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user1@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:41:14.828611"], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$dqygGOmq3qNiu6xyKBTSy.pny38UI.GU7LibpdqSM5FU9HatxSAim"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:41:14.828611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:41:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (30.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 223ms (Views: 207.9ms | ActiveRecord: 0.0ms) Started GET "/assets/storytime/application.css" for 127.0.0.1 at 2014-05-26 20:41:17 -0500 Started GET "/assets/storytime/application.js" for 127.0.0.1 at 2014-05-26 20:41:17 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:41:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user1@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.2ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:41:17.653788"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:41:17.653788"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:41:17.654819"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50334/ Completed 302 Found in 18ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:41:17 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (16.4ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (23.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (26.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (2.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.5ms) Completed 200 OK in 60ms (Views: 56.8ms | ActiveRecord: 1.8ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:41:17.797741"], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$rF8GEZkxxjW67I1z3goASek3F3bv6Dj2lPftwtSi35J6/f/ukPCBq"], ["updated_at", "2014-05-27 01:41:17.797741"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:41:17.808153"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:41:17.808153"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 20:41:17 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (7.9ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (8.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/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::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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 35.8ms | ActiveRecord: 1.0ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-05-26 20:41:17 -0500 Started DELETE "/dashboard/media/1" for 127.0.0.1 at 2014-05-26 20:41:18 -0500 Processing by Storytime::Dashboard::MediaController#destroy as JS Parameters: {"id"=>"1"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "storytime_media" WHERE "storytime_media"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 7ms (ActiveRecord: 0.5ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:41:18.973909"], ["title", "Site Title 2"], ["updated_at", "2014-05-27 01:41:18.973909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:41:18.977692"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$T/r4u6XgIltoiFNyGavz8uGxbdC7xgHRKGxFBUEs9TPUCVHGT0IPq"], ["updated_at", "2014-05-27 01:41:18.977692"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user3@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:41:18.977692"], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$T/r4u6XgIltoiFNyGavz8uGxbdC7xgHRKGxFBUEs9TPUCVHGT0IPq"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:41:18.977692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:41:18 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.9ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:41:18 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user3@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user3@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:41:18.998351"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:41:18.998351"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:41:18.999374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:41:19 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (2.1ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (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" = 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.0ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user4@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:41:19.031286"], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$iRHKP2irAMcv98odRiIAauEUXtqsBkRfL1nAtK77GveHh/vJtMzme"], ["updated_at", "2014-05-27 01:41:19.031286"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:41:19.035651"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:41:19.035651"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user5@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:41:19.042178"], ["email", "user5@example.com"], ["encrypted_password", "$2a$04$sZw4wSLi3bizpg9Mc9300eRulTNMhHS2ZWE0zkn/7wwjMzJMmAASi"], ["updated_at", "2014-05-27 01:41:19.042178"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:41:19.046941"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:41:19.046941"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 20:41:19 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.0ms)  (1.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (5.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (7.6ms) 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.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.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 13.2ms | ActiveRecord: 1.9ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:41:19.082329"], ["title", "Site Title 3"], ["updated_at", "2014-05-27 01:41:19.082329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.3ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:41:19.086008"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$vsHPKQVAq4Ii1wS5AhBwrO8.L73GU0WUVeInhtbNhYefY6RkmDP6G"], ["updated_at", "2014-05-27 01:41:19.086008"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user6@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:41:19.086008"], ["email", "user6@example.com"], ["encrypted_password", "$2a$04$vsHPKQVAq4Ii1wS5AhBwrO8.L73GU0WUVeInhtbNhYefY6RkmDP6G"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:41:19.086008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:41:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:41:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user6@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user6@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:41:19.214198"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:41:19.214198"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:41:19.215149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50334/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:41:19 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.8ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (5.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (0.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.8ms) Started GET "/dashboard/media" for 127.0.0.1 at 2014-05-26 20:41:19 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.6ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (1.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (3.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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.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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 9.5ms | ActiveRecord: 0.7ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-05-26 20:41:19 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "media"=>{"file"=>#, @original_filename="success-kid.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"success-kid.jpg\"\r\nContent-Type: image/jpeg\r\n">}} Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:41:19.391006"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:41:19.391006"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (3.4ms) Completed 200 OK in 24ms (Views: 12.4ms | ActiveRecord: 0.6ms) Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-27 01:41:20.406399"], ["title", "Site Title 4"], ["updated_at", "2014-05-27 01:41:20.406399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:41:20.410984"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$ujDecpfnfHAFYadkSZTphOzVX8tUQcHh7MGwK3JG0oFS9y6EWTIvS"], ["updated_at", "2014-05-27 01:41:20.410984"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE ("storytime_users"."email" = 'user7@example.com' AND "storytime_users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) UPDATE "storytime_users" SET "created_at" = ?, "email" = ?, "encrypted_password" = ?, "id" = ?, "role_id" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["created_at", "2014-05-27 01:41:20.410984"], ["email", "user7@example.com"], ["encrypted_password", "$2a$04$ujDecpfnfHAFYadkSZTphOzVX8tUQcHh7MGwK3JG0oFS9y6EWTIvS"], ["id", 1], ["role_id", 3], ["updated_at", "2014-05-27 01:41:20.410984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:41:20 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/devise/sessions/new.html.erb within layouts/storytime/application (1.6ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (0.2ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-05-26 20:41:20 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user7@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"} Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."email" = 'user7@example.com' ORDER BY "storytime_users"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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.1ms) UPDATE "storytime_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "storytime_users"."id" = 1 [["current_sign_in_at", "2014-05-27 01:41:20.537453"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-05-27 01:41:20.537453"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-05-27 01:41:20.538153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://127.0.0.1:50334/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2014-05-26 20:41:20 -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.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."published" = 't' 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_taggings.tag_id Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (1.9ms) Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.0ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.5ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_navigation.html.erb (7.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."published" = 't' Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_header.html.erb (1.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_footer.html.erb (0.0ms) Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 Storytime::User Exists (0.1ms) SELECT 1 AS one FROM "storytime_users" WHERE "storytime_users"."email" = 'user8@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.1ms) INSERT INTO "storytime_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:41:20.685367"], ["email", "user8@example.com"], ["encrypted_password", "$2a$04$yVmSiOaox9JOp3YhGqzRNeAQ0T5Qg2E0sc2o7yPWnU5fmx.ZHQgqm"], ["updated_at", "2014-05-27 01:41:20.685367"]]  (0.1ms) SELECT COUNT(*) FROM "storytime_users"  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-05-27 01:41:20.691944"], ["file", "success-kid.jpg"], ["updated_at", "2014-05-27 01:41:20.691944"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-05-26 20:41:20 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Storytime::User Load (0.2ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = 1 ORDER BY "storytime_users"."id" ASC LIMIT 1 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::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" = 1 LIMIT 1 [["role_id", 3]] Storytime::User Load (0.1ms) SELECT "storytime_users".* FROM "storytime_users" WHERE "storytime_users"."id" = ? LIMIT 1 [["id", 1]] 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.1ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.5ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_gallery.html (4.3ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/media/_modal.html.erb (7.8ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/_form.html.erb (39.7ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (47.7ms) 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/Documents/projects/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.4ms) Rendered /Users/ben/Documents/projects/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 86ms (Views: 60.7ms | ActiveRecord: 2.4ms) Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-05-26 20:41:21 -0500  (2.0ms) rollback transaction