(0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA foreign_keys = OFF  (1.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "wiki_page_revisions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';  (1.0ms) DELETE FROM "wiki_pages";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';  (0.9ms) DELETE FROM "wiki_spaces";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';  (1.0ms) DELETE FROM "ar_internal_metadata";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (0.1ms) PRAGMA foreign_keys = 1  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.5ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title1"], ["created_at", "2018-05-22 03:57:43.303555"], ["updated_at", "2018-05-22 03:57:43.303555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.317273"], ["updated_at", "2018-05-22 03:57:43.317273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page1"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page1"], ["created_at", "2018-05-22 03:57:43.340079"], ["updated_at", "2018-05-22 03:57:43.340079"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.341127"], ["updated_at", "2018-05-22 03:57:43.341127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"} WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title1"], ["LIMIT", 1]] WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page1"], ["LIMIT", 1]] WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki (0.2ms) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Completed 200 OK in 17ms (Views: 7.9ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title2"], ["created_at", "2018-05-22 03:57:43.364809"], ["updated_at", "2018-05-22 03:57:43.364809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.366316"], ["updated_at", "2018-05-22 03:57:43.366316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page2"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page2"], ["created_at", "2018-05-22 03:57:43.368483"], ["updated_at", "2018-05-22 03:57:43.368483"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.369316"], ["updated_at", "2018-05-22 03:57:43.369316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"} WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title2"], ["LIMIT", 1]] WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "new/id"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.2ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title3"], ["created_at", "2018-05-22 03:57:43.380529"], ["updated_at", "2018-05-22 03:57:43.380529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.381889"], ["updated_at", "2018-05-22 03:57:43.381889"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page3"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page3"], ["created_at", "2018-05-22 03:57:43.383888"], ["updated_at", "2018-05-22 03:57:43.383888"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.384627"], ["updated_at", "2018-05-22 03:57:43.384627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"} WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title3"], ["LIMIT", 1]] WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "This is a pen"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.0ms) Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title4"], ["created_at", "2018-05-22 03:57:43.391348"], ["updated_at", "2018-05-22 03:57:43.391348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.392734"], ["updated_at", "2018-05-22 03:57:43.392734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page4"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page4"], ["created_at", "2018-05-22 03:57:43.395005"], ["updated_at", "2018-05-22 03:57:43.395005"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.395748"], ["updated_at", "2018-05-22 03:57:43.395748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#edit as HTML Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"} WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title4"], ["LIMIT", 1]] WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page4"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki (0.2ms) Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title5"], ["created_at", "2018-05-22 03:57:43.420801"], ["updated_at", "2018-05-22 03:57:43.420801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.422448"], ["updated_at", "2018-05-22 03:57:43.422448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page5"], ["created_at", "2018-05-22 03:57:43.424883"], ["updated_at", "2018-05-22 03:57:43.424883"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.425741"], ["updated_at", "2018-05-22 03:57:43.425741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#update as HTML Parameters: {"wiki_page"=>{"body"=>"blah", "title"=>"new name"}, "wiki_space_id"=>"title5", "path"=>"path/to/page5"} WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title5"], ["LIMIT", 1]] WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page5"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.435132"], ["updated_at", "2018-05-22 03:57:43.435132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 1], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-22 03:57:43.437642"], ["updated_at", "2018-05-22 03:57:43.437642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/wiki/title5/wiki/path/to/page5 Completed 302 Found in 27ms (ActiveRecord: 0.5ms) WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title6"], ["created_at", "2018-05-22 03:57:43.467180"], ["updated_at", "2018-05-22 03:57:43.467180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.468572"], ["updated_at", "2018-05-22 03:57:43.468572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page6"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page6"], ["created_at", "2018-05-22 03:57:43.470927"], ["updated_at", "2018-05-22 03:57:43.470927"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.471745"], ["updated_at", "2018-05-22 03:57:43.471745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#create as HTML Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"} WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title6"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.474323"], ["updated_at", "2018-05-22 03:57:43.474323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path"], ["created_at", "2018-05-22 03:57:43.476999"], ["updated_at", "2018-05-22 03:57:43.476999"]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-22 03:57:43.477698"], ["updated_at", "2018-05-22 03:57:43.477698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/wiki/title6/wiki/path Completed 302 Found in 19ms (ActiveRecord: 0.6ms) WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 2], ["LIMIT", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title7"], ["created_at", "2018-05-22 03:57:43.498022"], ["updated_at", "2018-05-22 03:57:43.498022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.499500"], ["updated_at", "2018-05-22 03:57:43.499500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page7"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page7"], ["created_at", "2018-05-22 03:57:43.502149"], ["updated_at", "2018-05-22 03:57:43.502149"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.503034"], ["updated_at", "2018-05-22 03:57:43.503034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title8"], ["created_at", "2018-05-22 03:57:43.508157"], ["updated_at", "2018-05-22 03:57:43.508157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.509675"], ["updated_at", "2018-05-22 03:57:43.509675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page8"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page8"], ["created_at", "2018-05-22 03:57:43.512273"], ["updated_at", "2018-05-22 03:57:43.512273"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.513233"], ["updated_at", "2018-05-22 03:57:43.513233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title9"], ["created_at", "2018-05-22 03:57:43.517502"], ["updated_at", "2018-05-22 03:57:43.517502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.519214"], ["updated_at", "2018-05-22 03:57:43.519214"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page9"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page9"], ["created_at", "2018-05-22 03:57:43.521971"], ["updated_at", "2018-05-22 03:57:43.521971"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.522896"], ["updated_at", "2018-05-22 03:57:43.522896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title10"], ["created_at", "2018-05-22 03:57:43.527964"], ["updated_at", "2018-05-22 03:57:43.527964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.529770"], ["updated_at", "2018-05-22 03:57:43.529770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page10"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page10"], ["created_at", "2018-05-22 03:57:43.532321"], ["updated_at", "2018-05-22 03:57:43.532321"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.533213"], ["updated_at", "2018-05-22 03:57:43.533213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.535449"], ["updated_at", "2018-05-22 03:57:43.535449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-22 03:57:43.537942"], ["updated_at", "2018-05-22 03:57:43.537942"]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.538777"], ["updated_at", "2018-05-22 03:57:43.538777"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title11"], ["created_at", "2018-05-22 03:57:43.543247"], ["updated_at", "2018-05-22 03:57:43.543247"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.544950"], ["updated_at", "2018-05-22 03:57:43.544950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page11"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page11"], ["created_at", "2018-05-22 03:57:43.547454"], ["updated_at", "2018-05-22 03:57:43.547454"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.548507"], ["updated_at", "2018-05-22 03:57:43.548507"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.550816"], ["updated_at", "2018-05-22 03:57:43.550816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-22 03:57:43.553221"], ["updated_at", "2018-05-22 03:57:43.553221"]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.553993"], ["updated_at", "2018-05-22 03:57:43.553993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title12"], ["created_at", "2018-05-22 03:57:43.561602"], ["updated_at", "2018-05-22 03:57:43.561602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.563970"], ["updated_at", "2018-05-22 03:57:43.563970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title13"], ["created_at", "2018-05-22 03:57:43.567157"], ["updated_at", "2018-05-22 03:57:43.567157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.569749"], ["updated_at", "2018-05-22 03:57:43.569749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.2ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page"], ["created_at", "2018-05-22 03:57:43.576127"], ["updated_at", "2018-05-22 03:57:43.576127"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "title"], ["body", "body"], ["created_at", "2018-05-22 03:57:43.577129"], ["updated_at", "2018-05-22 03:57:43.577129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title14"], ["created_at", "2018-05-22 03:57:43.581381"], ["updated_at", "2018-05-22 03:57:43.581381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.583893"], ["updated_at", "2018-05-22 03:57:43.583893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title15"], ["created_at", "2018-05-22 03:57:43.587701"], ["updated_at", "2018-05-22 03:57:43.587701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.590091"], ["updated_at", "2018-05-22 03:57:43.590091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title16"], ["created_at", "2018-05-22 03:57:43.593361"], ["updated_at", "2018-05-22 03:57:43.593361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.595004"], ["updated_at", "2018-05-22 03:57:43.595004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.3ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page12"], ["created_at", "2018-05-22 03:57:43.597528"], ["updated_at", "2018-05-22 03:57:43.597528"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.598499"], ["updated_at", "2018-05-22 03:57:43.598499"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("wiki_page_id", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_page_id", 1], ["body", "new title"], ["created_at", "2018-05-22 03:57:43.602015"], ["updated_at", "2018-05-22 03:57:43.602015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title17"], ["created_at", "2018-05-22 03:57:43.618951"], ["updated_at", "2018-05-22 03:57:43.618951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.620301"], ["updated_at", "2018-05-22 03:57:43.620301"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page13"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page13"], ["created_at", "2018-05-22 03:57:43.622359"], ["updated_at", "2018-05-22 03:57:43.622359"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.623081"], ["updated_at", "2018-05-22 03:57:43.623081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.624580"], ["updated_at", "2018-05-22 03:57:43.624580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title18"], ["created_at", "2018-05-22 03:57:43.627314"], ["updated_at", "2018-05-22 03:57:43.627314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.628637"], ["updated_at", "2018-05-22 03:57:43.628637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page14"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page14"], ["created_at", "2018-05-22 03:57:43.630631"], ["updated_at", "2018-05-22 03:57:43.630631"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.631362"], ["updated_at", "2018-05-22 03:57:43.631362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.632933"], ["updated_at", "2018-05-22 03:57:43.632933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title19"], ["created_at", "2018-05-22 03:57:43.635736"], ["updated_at", "2018-05-22 03:57:43.635736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.636996"], ["updated_at", "2018-05-22 03:57:43.636996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page15"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page15"], ["created_at", "2018-05-22 03:57:43.639181"], ["updated_at", "2018-05-22 03:57:43.639181"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.639948"], ["updated_at", "2018-05-22 03:57:43.639948"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.641414"], ["updated_at", "2018-05-22 03:57:43.641414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title20"], ["created_at", "2018-05-22 03:57:43.644027"], ["updated_at", "2018-05-22 03:57:43.644027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.645408"], ["updated_at", "2018-05-22 03:57:43.645408"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page16"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page16"], ["created_at", "2018-05-22 03:57:43.647371"], ["updated_at", "2018-05-22 03:57:43.647371"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.648114"], ["updated_at", "2018-05-22 03:57:43.648114"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title21"], ["created_at", "2018-05-22 03:57:43.652101"], ["updated_at", "2018-05-22 03:57:43.652101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.653330"], ["updated_at", "2018-05-22 03:57:43.653330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.3ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page17"], ["created_at", "2018-05-22 03:57:43.655233"], ["updated_at", "2018-05-22 03:57:43.655233"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.656177"], ["updated_at", "2018-05-22 03:57:43.656177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title22"], ["created_at", "2018-05-22 03:57:43.657704"], ["updated_at", "2018-05-22 03:57:43.657704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.658829"], ["updated_at", "2018-05-22 03:57:43.658829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 2], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title23"], ["created_at", "2018-05-22 03:57:43.663379"], ["updated_at", "2018-05-22 03:57:43.663379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.664980"], ["updated_at", "2018-05-22 03:57:43.664980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page18"], ["created_at", "2018-05-22 03:57:43.667311"], ["updated_at", "2018-05-22 03:57:43.667311"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.668198"], ["updated_at", "2018-05-22 03:57:43.668198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.669794"], ["updated_at", "2018-05-22 03:57:43.669794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title24"], ["created_at", "2018-05-22 03:57:43.686269"], ["updated_at", "2018-05-22 03:57:43.686269"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.687970"], ["updated_at", "2018-05-22 03:57:43.687970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page19"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page19"], ["created_at", "2018-05-22 03:57:43.690599"], ["updated_at", "2018-05-22 03:57:43.690599"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.691551"], ["updated_at", "2018-05-22 03:57:43.691551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title25"], ["created_at", "2018-05-22 03:57:43.693230"], ["updated_at", "2018-05-22 03:57:43.693230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:57:43.694351"], ["updated_at", "2018-05-22 03:57:43.694351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page20"], ["wiki_space_id", 2], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 2], ["path", "path/to/page20"], ["created_at", "2018-05-22 03:57:43.696704"], ["updated_at", "2018-05-22 03:57:43.696704"]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:57:43.697526"], ["updated_at", "2018-05-22 03:57:43.697526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page20"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA foreign_keys = OFF  (1.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (2.1ms) DELETE FROM "wiki_page_revisions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';  (1.6ms) DELETE FROM "wiki_pages";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';  (1.4ms) DELETE FROM "wiki_spaces";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';  (1.4ms) DELETE FROM "ar_internal_metadata";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title1"], ["created_at", "2018-05-22 03:58:18.146491"], ["updated_at", "2018-05-22 03:58:18.146491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.157518"], ["updated_at", "2018-05-22 03:58:18.157518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page1"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page1"], ["created_at", "2018-05-22 03:58:18.180129"], ["updated_at", "2018-05-22 03:58:18.180129"]] WikiPageRevision Create (0.3ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.181224"], ["updated_at", "2018-05-22 03:58:18.181224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"} WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title1"], ["LIMIT", 1]] WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page1"], ["LIMIT", 1]] WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki (0.2ms) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Completed 200 OK in 21ms (Views: 8.6ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title2"], ["created_at", "2018-05-22 03:58:18.210034"], ["updated_at", "2018-05-22 03:58:18.210034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.211410"], ["updated_at", "2018-05-22 03:58:18.211410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page2"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page2"], ["created_at", "2018-05-22 03:58:18.213551"], ["updated_at", "2018-05-22 03:58:18.213551"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.214330"], ["updated_at", "2018-05-22 03:58:18.214330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"} WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title2"], ["LIMIT", 1]] WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "new/id"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.2ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title3"], ["created_at", "2018-05-22 03:58:18.225574"], ["updated_at", "2018-05-22 03:58:18.225574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.226828"], ["updated_at", "2018-05-22 03:58:18.226828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page3"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page3"], ["created_at", "2018-05-22 03:58:18.229093"], ["updated_at", "2018-05-22 03:58:18.229093"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.229987"], ["updated_at", "2018-05-22 03:58:18.229987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"} WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title3"], ["LIMIT", 1]] WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "This is a pen"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.1ms) Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title4"], ["created_at", "2018-05-22 03:58:18.236773"], ["updated_at", "2018-05-22 03:58:18.236773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.238123"], ["updated_at", "2018-05-22 03:58:18.238123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page4"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page4"], ["created_at", "2018-05-22 03:58:18.240225"], ["updated_at", "2018-05-22 03:58:18.240225"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.241043"], ["updated_at", "2018-05-22 03:58:18.241043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#edit as HTML Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"} WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title4"], ["LIMIT", 1]] WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page4"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki (0.2ms) Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title5"], ["created_at", "2018-05-22 03:58:18.263023"], ["updated_at", "2018-05-22 03:58:18.263023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.264636"], ["updated_at", "2018-05-22 03:58:18.264636"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page5"], ["created_at", "2018-05-22 03:58:18.266940"], ["updated_at", "2018-05-22 03:58:18.266940"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.267831"], ["updated_at", "2018-05-22 03:58:18.267831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#update as HTML Parameters: {"wiki_page"=>{"body"=>"blah", "title"=>"new name"}, "wiki_space_id"=>"title5", "path"=>"path/to/page5"} WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title5"], ["LIMIT", 1]] WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page5"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.276750"], ["updated_at", "2018-05-22 03:58:18.276750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 1], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-22 03:58:18.279774"], ["updated_at", "2018-05-22 03:58:18.279774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/wiki/title5/wiki/path/to/page5 Completed 302 Found in 22ms (ActiveRecord: 0.6ms) WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title6"], ["created_at", "2018-05-22 03:58:18.304340"], ["updated_at", "2018-05-22 03:58:18.304340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.305766"], ["updated_at", "2018-05-22 03:58:18.305766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page6"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page6"], ["created_at", "2018-05-22 03:58:18.308017"], ["updated_at", "2018-05-22 03:58:18.308017"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.308863"], ["updated_at", "2018-05-22 03:58:18.308863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#create as HTML Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"} WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title6"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.311567"], ["updated_at", "2018-05-22 03:58:18.311567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path"], ["created_at", "2018-05-22 03:58:18.314380"], ["updated_at", "2018-05-22 03:58:18.314380"]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-22 03:58:18.315279"], ["updated_at", "2018-05-22 03:58:18.315279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/wiki/title6/wiki/path Completed 302 Found in 20ms (ActiveRecord: 0.5ms) WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 2], ["LIMIT", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title7"], ["created_at", "2018-05-22 03:58:18.336277"], ["updated_at", "2018-05-22 03:58:18.336277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.337710"], ["updated_at", "2018-05-22 03:58:18.337710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page7"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page7"], ["created_at", "2018-05-22 03:58:18.339950"], ["updated_at", "2018-05-22 03:58:18.339950"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.340838"], ["updated_at", "2018-05-22 03:58:18.340838"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title8"], ["created_at", "2018-05-22 03:58:18.348083"], ["updated_at", "2018-05-22 03:58:18.348083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.349760"], ["updated_at", "2018-05-22 03:58:18.349760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page8"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page8"], ["created_at", "2018-05-22 03:58:18.352129"], ["updated_at", "2018-05-22 03:58:18.352129"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.352957"], ["updated_at", "2018-05-22 03:58:18.352957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.6ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title9"], ["created_at", "2018-05-22 03:58:18.358047"], ["updated_at", "2018-05-22 03:58:18.358047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.360227"], ["updated_at", "2018-05-22 03:58:18.360227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page9"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page9"], ["created_at", "2018-05-22 03:58:18.363171"], ["updated_at", "2018-05-22 03:58:18.363171"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.364132"], ["updated_at", "2018-05-22 03:58:18.364132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title10"], ["created_at", "2018-05-22 03:58:18.370517"], ["updated_at", "2018-05-22 03:58:18.370517"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.372334"], ["updated_at", "2018-05-22 03:58:18.372334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page10"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page10"], ["created_at", "2018-05-22 03:58:18.374964"], ["updated_at", "2018-05-22 03:58:18.374964"]] WikiPageRevision Create (0.4ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.375982"], ["updated_at", "2018-05-22 03:58:18.375982"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.378764"], ["updated_at", "2018-05-22 03:58:18.378764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-22 03:58:18.381645"], ["updated_at", "2018-05-22 03:58:18.381645"]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.382574"], ["updated_at", "2018-05-22 03:58:18.382574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title11"], ["created_at", "2018-05-22 03:58:18.387885"], ["updated_at", "2018-05-22 03:58:18.387885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.389454"], ["updated_at", "2018-05-22 03:58:18.389454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page11"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page11"], ["created_at", "2018-05-22 03:58:18.391902"], ["updated_at", "2018-05-22 03:58:18.391902"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.392755"], ["updated_at", "2018-05-22 03:58:18.392755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.394812"], ["updated_at", "2018-05-22 03:58:18.394812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-22 03:58:18.397162"], ["updated_at", "2018-05-22 03:58:18.397162"]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.398013"], ["updated_at", "2018-05-22 03:58:18.398013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title12"], ["created_at", "2018-05-22 03:58:18.406493"], ["updated_at", "2018-05-22 03:58:18.406493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.408641"], ["updated_at", "2018-05-22 03:58:18.408641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.5ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title13"], ["created_at", "2018-05-22 03:58:18.411669"], ["updated_at", "2018-05-22 03:58:18.411669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.414145"], ["updated_at", "2018-05-22 03:58:18.414145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page"], ["created_at", "2018-05-22 03:58:18.419468"], ["updated_at", "2018-05-22 03:58:18.419468"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "title"], ["body", "body"], ["created_at", "2018-05-22 03:58:18.420449"], ["updated_at", "2018-05-22 03:58:18.420449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title14"], ["created_at", "2018-05-22 03:58:18.423973"], ["updated_at", "2018-05-22 03:58:18.423973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.426167"], ["updated_at", "2018-05-22 03:58:18.426167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title15"], ["created_at", "2018-05-22 03:58:18.429674"], ["updated_at", "2018-05-22 03:58:18.429674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.432234"], ["updated_at", "2018-05-22 03:58:18.432234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title16"], ["created_at", "2018-05-22 03:58:18.436159"], ["updated_at", "2018-05-22 03:58:18.436159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.437754"], ["updated_at", "2018-05-22 03:58:18.437754"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page12"], ["created_at", "2018-05-22 03:58:18.440393"], ["updated_at", "2018-05-22 03:58:18.440393"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.441439"], ["updated_at", "2018-05-22 03:58:18.441439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("wiki_page_id", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_page_id", 1], ["body", "new title"], ["created_at", "2018-05-22 03:58:18.445554"], ["updated_at", "2018-05-22 03:58:18.445554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title17"], ["created_at", "2018-05-22 03:58:18.463562"], ["updated_at", "2018-05-22 03:58:18.463562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.465347"], ["updated_at", "2018-05-22 03:58:18.465347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page13"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page13"], ["created_at", "2018-05-22 03:58:18.468181"], ["updated_at", "2018-05-22 03:58:18.468181"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.469101"], ["updated_at", "2018-05-22 03:58:18.469101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.471266"], ["updated_at", "2018-05-22 03:58:18.471266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title18"], ["created_at", "2018-05-22 03:58:18.474647"], ["updated_at", "2018-05-22 03:58:18.474647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.476158"], ["updated_at", "2018-05-22 03:58:18.476158"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page14"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page14"], ["created_at", "2018-05-22 03:58:18.479219"], ["updated_at", "2018-05-22 03:58:18.479219"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.480253"], ["updated_at", "2018-05-22 03:58:18.480253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.482455"], ["updated_at", "2018-05-22 03:58:18.482455"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title19"], ["created_at", "2018-05-22 03:58:18.485780"], ["updated_at", "2018-05-22 03:58:18.485780"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.487434"], ["updated_at", "2018-05-22 03:58:18.487434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page15"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page15"], ["created_at", "2018-05-22 03:58:18.489943"], ["updated_at", "2018-05-22 03:58:18.489943"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.490810"], ["updated_at", "2018-05-22 03:58:18.490810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.492521"], ["updated_at", "2018-05-22 03:58:18.492521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title20"], ["created_at", "2018-05-22 03:58:18.495832"], ["updated_at", "2018-05-22 03:58:18.495832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.497507"], ["updated_at", "2018-05-22 03:58:18.497507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page16"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page16"], ["created_at", "2018-05-22 03:58:18.499854"], ["updated_at", "2018-05-22 03:58:18.499854"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.500706"], ["updated_at", "2018-05-22 03:58:18.500706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title21"], ["created_at", "2018-05-22 03:58:18.504909"], ["updated_at", "2018-05-22 03:58:18.504909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.506313"], ["updated_at", "2018-05-22 03:58:18.506313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page17"], ["created_at", "2018-05-22 03:58:18.509009"], ["updated_at", "2018-05-22 03:58:18.509009"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.509932"], ["updated_at", "2018-05-22 03:58:18.509932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title22"], ["created_at", "2018-05-22 03:58:18.511751"], ["updated_at", "2018-05-22 03:58:18.511751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.512887"], ["updated_at", "2018-05-22 03:58:18.512887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 2], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title23"], ["created_at", "2018-05-22 03:58:18.517431"], ["updated_at", "2018-05-22 03:58:18.517431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.518945"], ["updated_at", "2018-05-22 03:58:18.518945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page18"], ["created_at", "2018-05-22 03:58:18.521237"], ["updated_at", "2018-05-22 03:58:18.521237"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.522077"], ["updated_at", "2018-05-22 03:58:18.522077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.523755"], ["updated_at", "2018-05-22 03:58:18.523755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title24"], ["created_at", "2018-05-22 03:58:18.534633"], ["updated_at", "2018-05-22 03:58:18.534633"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.536345"], ["updated_at", "2018-05-22 03:58:18.536345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page19"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page19"], ["created_at", "2018-05-22 03:58:18.538997"], ["updated_at", "2018-05-22 03:58:18.538997"]] WikiPageRevision Create (0.3ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.539905"], ["updated_at", "2018-05-22 03:58:18.539905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title25"], ["created_at", "2018-05-22 03:58:18.541486"], ["updated_at", "2018-05-22 03:58:18.541486"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:18.543021"], ["updated_at", "2018-05-22 03:58:18.543021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page20"], ["wiki_space_id", 2], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 2], ["path", "path/to/page20"], ["created_at", "2018-05-22 03:58:18.546936"], ["updated_at", "2018-05-22 03:58:18.546936"]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:18.548061"], ["updated_at", "2018-05-22 03:58:18.548061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page20"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA foreign_keys = OFF  (1.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "wiki_page_revisions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';  (1.1ms) DELETE FROM "wiki_pages";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';  (0.9ms) DELETE FROM "wiki_spaces";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';  (1.0ms) DELETE FROM "ar_internal_metadata";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title1"], ["created_at", "2018-05-22 03:58:40.628707"], ["updated_at", "2018-05-22 03:58:40.628707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.641651"], ["updated_at", "2018-05-22 03:58:40.641651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page1"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page1"], ["created_at", "2018-05-22 03:58:40.666295"], ["updated_at", "2018-05-22 03:58:40.666295"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.667378"], ["updated_at", "2018-05-22 03:58:40.667378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"} WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title1"], ["LIMIT", 1]] WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page1"], ["LIMIT", 1]] WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki (0.2ms) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Completed 200 OK in 22ms (Views: 10.1ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title2"], ["created_at", "2018-05-22 03:58:40.696004"], ["updated_at", "2018-05-22 03:58:40.696004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.697559"], ["updated_at", "2018-05-22 03:58:40.697559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page2"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page2"], ["created_at", "2018-05-22 03:58:40.699969"], ["updated_at", "2018-05-22 03:58:40.699969"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.700795"], ["updated_at", "2018-05-22 03:58:40.700795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"} WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title2"], ["LIMIT", 1]] WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "new/id"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.2ms) Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title3"], ["created_at", "2018-05-22 03:58:40.713593"], ["updated_at", "2018-05-22 03:58:40.713593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.715251"], ["updated_at", "2018-05-22 03:58:40.715251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page3"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page3"], ["created_at", "2018-05-22 03:58:40.717901"], ["updated_at", "2018-05-22 03:58:40.717901"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.718923"], ["updated_at", "2018-05-22 03:58:40.718923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"} WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title3"], ["LIMIT", 1]] WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "This is a pen"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.0ms) Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title4"], ["created_at", "2018-05-22 03:58:40.726652"], ["updated_at", "2018-05-22 03:58:40.726652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.728200"], ["updated_at", "2018-05-22 03:58:40.728200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page4"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.4ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page4"], ["created_at", "2018-05-22 03:58:40.731038"], ["updated_at", "2018-05-22 03:58:40.731038"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.732210"], ["updated_at", "2018-05-22 03:58:40.732210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#edit as HTML Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"} WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title4"], ["LIMIT", 1]] WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page4"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki (0.2ms) Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title5"], ["created_at", "2018-05-22 03:58:40.757818"], ["updated_at", "2018-05-22 03:58:40.757818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.759405"], ["updated_at", "2018-05-22 03:58:40.759405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page5"], ["created_at", "2018-05-22 03:58:40.762008"], ["updated_at", "2018-05-22 03:58:40.762008"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.762897"], ["updated_at", "2018-05-22 03:58:40.762897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#update as HTML Parameters: {"wiki_page"=>{"body"=>"blah", "title"=>"new name"}, "wiki_space_id"=>"title5", "path"=>"path/to/page5"} WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title5"], ["LIMIT", 1]] WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page5"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.773087"], ["updated_at", "2018-05-22 03:58:40.773087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 1], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-22 03:58:40.776330"], ["updated_at", "2018-05-22 03:58:40.776330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/wiki/title5/wiki/path/to/page5 Completed 302 Found in 25ms (ActiveRecord: 0.6ms) WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title6"], ["created_at", "2018-05-22 03:58:40.803606"], ["updated_at", "2018-05-22 03:58:40.803606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.805063"], ["updated_at", "2018-05-22 03:58:40.805063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page6"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page6"], ["created_at", "2018-05-22 03:58:40.807612"], ["updated_at", "2018-05-22 03:58:40.807612"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.808480"], ["updated_at", "2018-05-22 03:58:40.808480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#create as HTML Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"} WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title6"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.811553"], ["updated_at", "2018-05-22 03:58:40.811553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path"], ["created_at", "2018-05-22 03:58:40.814266"], ["updated_at", "2018-05-22 03:58:40.814266"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-22 03:58:40.815015"], ["updated_at", "2018-05-22 03:58:40.815015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/wiki/title6/wiki/path Completed 302 Found in 20ms (ActiveRecord: 0.7ms) WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 2], ["LIMIT", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title7"], ["created_at", "2018-05-22 03:58:40.836592"], ["updated_at", "2018-05-22 03:58:40.836592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.838194"], ["updated_at", "2018-05-22 03:58:40.838194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page7"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page7"], ["created_at", "2018-05-22 03:58:40.840604"], ["updated_at", "2018-05-22 03:58:40.840604"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.841445"], ["updated_at", "2018-05-22 03:58:40.841445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title8"], ["created_at", "2018-05-22 03:58:40.847982"], ["updated_at", "2018-05-22 03:58:40.847982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.849667"], ["updated_at", "2018-05-22 03:58:40.849667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page8"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page8"], ["created_at", "2018-05-22 03:58:40.852085"], ["updated_at", "2018-05-22 03:58:40.852085"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.852921"], ["updated_at", "2018-05-22 03:58:40.852921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title9"], ["created_at", "2018-05-22 03:58:40.859068"], ["updated_at", "2018-05-22 03:58:40.859068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.860687"], ["updated_at", "2018-05-22 03:58:40.860687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page9"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page9"], ["created_at", "2018-05-22 03:58:40.863180"], ["updated_at", "2018-05-22 03:58:40.863180"]] WikiPageRevision Create (0.3ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.864074"], ["updated_at", "2018-05-22 03:58:40.864074"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title10"], ["created_at", "2018-05-22 03:58:40.869969"], ["updated_at", "2018-05-22 03:58:40.869969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.871535"], ["updated_at", "2018-05-22 03:58:40.871535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.2ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page10"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page10"], ["created_at", "2018-05-22 03:58:40.874075"], ["updated_at", "2018-05-22 03:58:40.874075"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.874951"], ["updated_at", "2018-05-22 03:58:40.874951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.877036"], ["updated_at", "2018-05-22 03:58:40.877036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-22 03:58:40.879255"], ["updated_at", "2018-05-22 03:58:40.879255"]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.880037"], ["updated_at", "2018-05-22 03:58:40.880037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title11"], ["created_at", "2018-05-22 03:58:40.891720"], ["updated_at", "2018-05-22 03:58:40.891720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.893248"], ["updated_at", "2018-05-22 03:58:40.893248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page11"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page11"], ["created_at", "2018-05-22 03:58:40.895658"], ["updated_at", "2018-05-22 03:58:40.895658"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.896535"], ["updated_at", "2018-05-22 03:58:40.896535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.898539"], ["updated_at", "2018-05-22 03:58:40.898539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-22 03:58:40.901066"], ["updated_at", "2018-05-22 03:58:40.901066"]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.902089"], ["updated_at", "2018-05-22 03:58:40.902089"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title12"], ["created_at", "2018-05-22 03:58:40.910430"], ["updated_at", "2018-05-22 03:58:40.910430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.912536"], ["updated_at", "2018-05-22 03:58:40.912536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title13"], ["created_at", "2018-05-22 03:58:40.915400"], ["updated_at", "2018-05-22 03:58:40.915400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.917462"], ["updated_at", "2018-05-22 03:58:40.917462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page"], ["created_at", "2018-05-22 03:58:40.922343"], ["updated_at", "2018-05-22 03:58:40.922343"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "title"], ["body", "body"], ["created_at", "2018-05-22 03:58:40.923286"], ["updated_at", "2018-05-22 03:58:40.923286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title14"], ["created_at", "2018-05-22 03:58:40.926834"], ["updated_at", "2018-05-22 03:58:40.926834"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.928892"], ["updated_at", "2018-05-22 03:58:40.928892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title15"], ["created_at", "2018-05-22 03:58:40.931849"], ["updated_at", "2018-05-22 03:58:40.931849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.934012"], ["updated_at", "2018-05-22 03:58:40.934012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title16"], ["created_at", "2018-05-22 03:58:40.937137"], ["updated_at", "2018-05-22 03:58:40.937137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.938814"], ["updated_at", "2018-05-22 03:58:40.938814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page12"], ["created_at", "2018-05-22 03:58:40.941502"], ["updated_at", "2018-05-22 03:58:40.941502"]] WikiPageRevision Create (0.3ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.942371"], ["updated_at", "2018-05-22 03:58:40.942371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("wiki_page_id", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_page_id", 1], ["body", "new title"], ["created_at", "2018-05-22 03:58:40.945673"], ["updated_at", "2018-05-22 03:58:40.945673"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title17"], ["created_at", "2018-05-22 03:58:40.962203"], ["updated_at", "2018-05-22 03:58:40.962203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.963862"], ["updated_at", "2018-05-22 03:58:40.963862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page13"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page13"], ["created_at", "2018-05-22 03:58:40.966296"], ["updated_at", "2018-05-22 03:58:40.966296"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.967215"], ["updated_at", "2018-05-22 03:58:40.967215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.968997"], ["updated_at", "2018-05-22 03:58:40.968997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title18"], ["created_at", "2018-05-22 03:58:40.972159"], ["updated_at", "2018-05-22 03:58:40.972159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.973716"], ["updated_at", "2018-05-22 03:58:40.973716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page14"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page14"], ["created_at", "2018-05-22 03:58:40.976492"], ["updated_at", "2018-05-22 03:58:40.976492"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.977402"], ["updated_at", "2018-05-22 03:58:40.977402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.979224"], ["updated_at", "2018-05-22 03:58:40.979224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title19"], ["created_at", "2018-05-22 03:58:40.982286"], ["updated_at", "2018-05-22 03:58:40.982286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.983838"], ["updated_at", "2018-05-22 03:58:40.983838"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page15"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.3ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page15"], ["created_at", "2018-05-22 03:58:40.986296"], ["updated_at", "2018-05-22 03:58:40.986296"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:40.987474"], ["updated_at", "2018-05-22 03:58:40.987474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:40.996426"], ["updated_at", "2018-05-22 03:58:40.996426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title20"], ["created_at", "2018-05-22 03:58:40.999728"], ["updated_at", "2018-05-22 03:58:40.999728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:41.001200"], ["updated_at", "2018-05-22 03:58:41.001200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page16"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page16"], ["created_at", "2018-05-22 03:58:41.004289"], ["updated_at", "2018-05-22 03:58:41.004289"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:41.005268"], ["updated_at", "2018-05-22 03:58:41.005268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title21"], ["created_at", "2018-05-22 03:58:41.009826"], ["updated_at", "2018-05-22 03:58:41.009826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:41.011372"], ["updated_at", "2018-05-22 03:58:41.011372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page17"], ["created_at", "2018-05-22 03:58:41.013794"], ["updated_at", "2018-05-22 03:58:41.013794"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:41.014692"], ["updated_at", "2018-05-22 03:58:41.014692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title22"], ["created_at", "2018-05-22 03:58:41.016303"], ["updated_at", "2018-05-22 03:58:41.016303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:41.017423"], ["updated_at", "2018-05-22 03:58:41.017423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 2], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title23"], ["created_at", "2018-05-22 03:58:41.022233"], ["updated_at", "2018-05-22 03:58:41.022233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:41.024058"], ["updated_at", "2018-05-22 03:58:41.024058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page18"], ["created_at", "2018-05-22 03:58:41.026881"], ["updated_at", "2018-05-22 03:58:41.026881"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:41.027835"], ["updated_at", "2018-05-22 03:58:41.027835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:41.029642"], ["updated_at", "2018-05-22 03:58:41.029642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title24"], ["created_at", "2018-05-22 03:58:41.040434"], ["updated_at", "2018-05-22 03:58:41.040434"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:41.042387"], ["updated_at", "2018-05-22 03:58:41.042387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page19"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.3ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page19"], ["created_at", "2018-05-22 03:58:41.045174"], ["updated_at", "2018-05-22 03:58:41.045174"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:41.046125"], ["updated_at", "2018-05-22 03:58:41.046125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title25"], ["created_at", "2018-05-22 03:58:41.047649"], ["updated_at", "2018-05-22 03:58:41.047649"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-22 03:58:41.049048"], ["updated_at", "2018-05-22 03:58:41.049048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page20"], ["wiki_space_id", 2], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 2], ["path", "path/to/page20"], ["created_at", "2018-05-22 03:58:41.051766"], ["updated_at", "2018-05-22 03:58:41.051766"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-22 03:58:41.052947"], ["updated_at", "2018-05-22 03:58:41.052947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page20"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA foreign_keys = OFF  (2.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (2.0ms) DELETE FROM "wiki_page_revisions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';  (2.6ms) DELETE FROM "wiki_pages";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';  (1.3ms) DELETE FROM "wiki_spaces";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';  (1.5ms) DELETE FROM "ar_internal_metadata";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (0.0ms) PRAGMA foreign_keys = 1  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title1"], ["created_at", "2018-05-23 08:11:02.404034"], ["updated_at", "2018-05-23 08:11:02.404034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.415083"], ["updated_at", "2018-05-23 08:11:02.415083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page1"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page1"], ["created_at", "2018-05-23 08:11:02.437734"], ["updated_at", "2018-05-23 08:11:02.437734"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.438581"], ["updated_at", "2018-05-23 08:11:02.438581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"} WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title1"], ["LIMIT", 1]] WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page1"], ["LIMIT", 1]] WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki (0.3ms) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Completed 200 OK in 19ms (Views: 9.4ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title2"], ["created_at", "2018-05-23 08:11:02.464482"], ["updated_at", "2018-05-23 08:11:02.464482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.465816"], ["updated_at", "2018-05-23 08:11:02.465816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page2"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page2"], ["created_at", "2018-05-23 08:11:02.467851"], ["updated_at", "2018-05-23 08:11:02.467851"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.468574"], ["updated_at", "2018-05-23 08:11:02.468574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"} WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title2"], ["LIMIT", 1]] WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "new/id"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.3ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title3"], ["created_at", "2018-05-23 08:11:02.480333"], ["updated_at", "2018-05-23 08:11:02.480333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.481619"], ["updated_at", "2018-05-23 08:11:02.481619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page3"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page3"], ["created_at", "2018-05-23 08:11:02.483626"], ["updated_at", "2018-05-23 08:11:02.483626"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.484423"], ["updated_at", "2018-05-23 08:11:02.484423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"} WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title3"], ["LIMIT", 1]] WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "This is a pen"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.0ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title4"], ["created_at", "2018-05-23 08:11:02.491099"], ["updated_at", "2018-05-23 08:11:02.491099"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.492382"], ["updated_at", "2018-05-23 08:11:02.492382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page4"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page4"], ["created_at", "2018-05-23 08:11:02.494553"], ["updated_at", "2018-05-23 08:11:02.494553"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.495288"], ["updated_at", "2018-05-23 08:11:02.495288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#edit as HTML Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"} WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title4"], ["LIMIT", 1]] WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page4"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki (0.2ms) Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title5"], ["created_at", "2018-05-23 08:11:02.520531"], ["updated_at", "2018-05-23 08:11:02.520531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.521921"], ["updated_at", "2018-05-23 08:11:02.521921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page5"], ["created_at", "2018-05-23 08:11:02.523877"], ["updated_at", "2018-05-23 08:11:02.523877"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.524562"], ["updated_at", "2018-05-23 08:11:02.524562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#update as HTML Parameters: {"wiki_page"=>{"body"=>"blah", "title"=>"new name"}, "wiki_space_id"=>"title5", "path"=>"path/to/page5"} WikiSpace Load (0.2ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title5"], ["LIMIT", 1]] WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page5"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.533807"], ["updated_at", "2018-05-23 08:11:02.533807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 1], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:11:02.536389"], ["updated_at", "2018-05-23 08:11:02.536389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/wiki/title5/wiki/path/to/page5 Completed 302 Found in 22ms (ActiveRecord: 0.6ms) WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title6"], ["created_at", "2018-05-23 08:11:02.561598"], ["updated_at", "2018-05-23 08:11:02.561598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.563049"], ["updated_at", "2018-05-23 08:11:02.563049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page6"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page6"], ["created_at", "2018-05-23 08:11:02.565330"], ["updated_at", "2018-05-23 08:11:02.565330"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.566227"], ["updated_at", "2018-05-23 08:11:02.566227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#create as HTML Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"} WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title6"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.569542"], ["updated_at", "2018-05-23 08:11:02.569542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path"], ["created_at", "2018-05-23 08:11:02.572549"], ["updated_at", "2018-05-23 08:11:02.572549"]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:11:02.573309"], ["updated_at", "2018-05-23 08:11:02.573309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/wiki/title6/wiki/path Completed 302 Found in 21ms (ActiveRecord: 0.6ms) WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 2], ["LIMIT", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title7"], ["created_at", "2018-05-23 08:11:02.595591"], ["updated_at", "2018-05-23 08:11:02.595591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.597168"], ["updated_at", "2018-05-23 08:11:02.597168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page7"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page7"], ["created_at", "2018-05-23 08:11:02.600009"], ["updated_at", "2018-05-23 08:11:02.600009"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.600961"], ["updated_at", "2018-05-23 08:11:02.600961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title8"], ["created_at", "2018-05-23 08:11:02.607446"], ["updated_at", "2018-05-23 08:11:02.607446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.609029"], ["updated_at", "2018-05-23 08:11:02.609029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page8"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page8"], ["created_at", "2018-05-23 08:11:02.611698"], ["updated_at", "2018-05-23 08:11:02.611698"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.612647"], ["updated_at", "2018-05-23 08:11:02.612647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title9"], ["created_at", "2018-05-23 08:11:02.619586"], ["updated_at", "2018-05-23 08:11:02.619586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.621220"], ["updated_at", "2018-05-23 08:11:02.621220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page9"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page9"], ["created_at", "2018-05-23 08:11:02.623816"], ["updated_at", "2018-05-23 08:11:02.623816"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.624708"], ["updated_at", "2018-05-23 08:11:02.624708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title10"], ["created_at", "2018-05-23 08:11:02.630588"], ["updated_at", "2018-05-23 08:11:02.630588"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.632120"], ["updated_at", "2018-05-23 08:11:02.632120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page10"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.4ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page10"], ["created_at", "2018-05-23 08:11:02.634660"], ["updated_at", "2018-05-23 08:11:02.634660"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.635802"], ["updated_at", "2018-05-23 08:11:02.635802"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.638159"], ["updated_at", "2018-05-23 08:11:02.638159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-23 08:11:02.640445"], ["updated_at", "2018-05-23 08:11:02.640445"]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.641158"], ["updated_at", "2018-05-23 08:11:02.641158"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title11"], ["created_at", "2018-05-23 08:11:02.646485"], ["updated_at", "2018-05-23 08:11:02.646485"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.647976"], ["updated_at", "2018-05-23 08:11:02.647976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page11"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page11"], ["created_at", "2018-05-23 08:11:02.650615"], ["updated_at", "2018-05-23 08:11:02.650615"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.651758"], ["updated_at", "2018-05-23 08:11:02.651758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.654134"], ["updated_at", "2018-05-23 08:11:02.654134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-23 08:11:02.656400"], ["updated_at", "2018-05-23 08:11:02.656400"]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.657147"], ["updated_at", "2018-05-23 08:11:02.657147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title12"], ["created_at", "2018-05-23 08:11:02.666235"], ["updated_at", "2018-05-23 08:11:02.666235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.668543"], ["updated_at", "2018-05-23 08:11:02.668543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title13"], ["created_at", "2018-05-23 08:11:02.671758"], ["updated_at", "2018-05-23 08:11:02.671758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.673835"], ["updated_at", "2018-05-23 08:11:02.673835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page"], ["created_at", "2018-05-23 08:11:02.679082"], ["updated_at", "2018-05-23 08:11:02.679082"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "title"], ["body", "body"], ["created_at", "2018-05-23 08:11:02.680077"], ["updated_at", "2018-05-23 08:11:02.680077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title14"], ["created_at", "2018-05-23 08:11:02.683630"], ["updated_at", "2018-05-23 08:11:02.683630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.686115"], ["updated_at", "2018-05-23 08:11:02.686115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title15"], ["created_at", "2018-05-23 08:11:02.689338"], ["updated_at", "2018-05-23 08:11:02.689338"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.691649"], ["updated_at", "2018-05-23 08:11:02.691649"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title16"], ["created_at", "2018-05-23 08:11:02.695143"], ["updated_at", "2018-05-23 08:11:02.695143"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.696875"], ["updated_at", "2018-05-23 08:11:02.696875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page12"], ["created_at", "2018-05-23 08:11:02.699550"], ["updated_at", "2018-05-23 08:11:02.699550"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.700487"], ["updated_at", "2018-05-23 08:11:02.700487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]  (0.1ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("wiki_page_id", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_page_id", 1], ["body", "new title"], ["created_at", "2018-05-23 08:11:02.704176"], ["updated_at", "2018-05-23 08:11:02.704176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title17"], ["created_at", "2018-05-23 08:11:02.722102"], ["updated_at", "2018-05-23 08:11:02.722102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.723687"], ["updated_at", "2018-05-23 08:11:02.723687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page13"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page13"], ["created_at", "2018-05-23 08:11:02.726282"], ["updated_at", "2018-05-23 08:11:02.726282"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.727155"], ["updated_at", "2018-05-23 08:11:02.727155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.729071"], ["updated_at", "2018-05-23 08:11:02.729071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title18"], ["created_at", "2018-05-23 08:11:02.732376"], ["updated_at", "2018-05-23 08:11:02.732376"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.734040"], ["updated_at", "2018-05-23 08:11:02.734040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page14"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page14"], ["created_at", "2018-05-23 08:11:02.736362"], ["updated_at", "2018-05-23 08:11:02.736362"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.737236"], ["updated_at", "2018-05-23 08:11:02.737236"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.738903"], ["updated_at", "2018-05-23 08:11:02.738903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title19"], ["created_at", "2018-05-23 08:11:02.741825"], ["updated_at", "2018-05-23 08:11:02.741825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.743276"], ["updated_at", "2018-05-23 08:11:02.743276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page15"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page15"], ["created_at", "2018-05-23 08:11:02.745631"], ["updated_at", "2018-05-23 08:11:02.745631"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.746501"], ["updated_at", "2018-05-23 08:11:02.746501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.748160"], ["updated_at", "2018-05-23 08:11:02.748160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title20"], ["created_at", "2018-05-23 08:11:02.751470"], ["updated_at", "2018-05-23 08:11:02.751470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.753046"], ["updated_at", "2018-05-23 08:11:02.753046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page16"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page16"], ["created_at", "2018-05-23 08:11:02.755447"], ["updated_at", "2018-05-23 08:11:02.755447"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.756333"], ["updated_at", "2018-05-23 08:11:02.756333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title21"], ["created_at", "2018-05-23 08:11:02.760698"], ["updated_at", "2018-05-23 08:11:02.760698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.762393"], ["updated_at", "2018-05-23 08:11:02.762393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page17"], ["created_at", "2018-05-23 08:11:02.764956"], ["updated_at", "2018-05-23 08:11:02.764956"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.765907"], ["updated_at", "2018-05-23 08:11:02.765907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title22"], ["created_at", "2018-05-23 08:11:02.767805"], ["updated_at", "2018-05-23 08:11:02.767805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.769048"], ["updated_at", "2018-05-23 08:11:02.769048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 2], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title23"], ["created_at", "2018-05-23 08:11:02.780814"], ["updated_at", "2018-05-23 08:11:02.780814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.782467"], ["updated_at", "2018-05-23 08:11:02.782467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page18"], ["created_at", "2018-05-23 08:11:02.785189"], ["updated_at", "2018-05-23 08:11:02.785189"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.786152"], ["updated_at", "2018-05-23 08:11:02.786152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.787822"], ["updated_at", "2018-05-23 08:11:02.787822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WikiPage Exists (0.2ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title24"], ["created_at", "2018-05-23 08:11:02.799923"], ["updated_at", "2018-05-23 08:11:02.799923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.801529"], ["updated_at", "2018-05-23 08:11:02.801529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page19"], ["wiki_space_id", 1], ["LIMIT", 1]] WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page19"], ["created_at", "2018-05-23 08:11:02.803985"], ["updated_at", "2018-05-23 08:11:02.803985"]] WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.804915"], ["updated_at", "2018-05-23 08:11:02.804915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title25"], ["created_at", "2018-05-23 08:11:02.806411"], ["updated_at", "2018-05-23 08:11:02.806411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.807570"], ["updated_at", "2018-05-23 08:11:02.807570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page20"], ["wiki_space_id", 2], ["LIMIT", 1]] WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 2], ["path", "path/to/page20"], ["created_at", "2018-05-23 08:11:02.809845"], ["updated_at", "2018-05-23 08:11:02.809845"]] WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.810611"], ["updated_at", "2018-05-23 08:11:02.810611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page20"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA foreign_keys = OFF  (1.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (1.9ms) DELETE FROM "wiki_page_revisions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';  (1.4ms) DELETE FROM "wiki_pages";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';  (1.6ms) DELETE FROM "wiki_spaces";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';  (1.2ms) DELETE FROM "ar_internal_metadata";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (0.1ms) PRAGMA foreign_keys = 1  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA foreign_keys = OFF  (2.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (1.9ms) DELETE FROM "wiki_page_revisions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';  (1.4ms) DELETE FROM "wiki_pages";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';  (1.4ms) DELETE FROM "wiki_spaces";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';  (1.3ms) DELETE FROM "ar_internal_metadata";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA foreign_keys = OFF  (1.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (2.1ms) DELETE FROM "wiki_page_revisions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';  (1.6ms) DELETE FROM "wiki_pages";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';  (1.2ms) DELETE FROM "wiki_spaces";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';  (0.9ms) DELETE FROM "ar_internal_metadata";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA foreign_keys = OFF  (1.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (2.0ms) DELETE FROM "wiki_page_revisions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';  (1.6ms) DELETE FROM "wiki_pages";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';  (1.5ms) DELETE FROM "wiki_spaces";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';  (1.5ms) DELETE FROM "ar_internal_metadata";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.5ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title1"], ["created_at", "2018-05-23 08:16:59.819213"], ["updated_at", "2018-05-23 08:16:59.819213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.832727"], ["updated_at", "2018-05-23 08:16:59.832727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page1"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page1"], ["created_at", "2018-05-23 08:16:59.856229"], ["updated_at", "2018-05-23 08:16:59.856229"]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:16:59.857153"], ["updated_at", "2018-05-23 08:16:59.857153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"} Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title1"], ["LIMIT", 1]] Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page1"], ["LIMIT", 1]] Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki (0.2ms) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Completed 200 OK in 19ms (Views: 9.3ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title2"], ["created_at", "2018-05-23 08:16:59.882498"], ["updated_at", "2018-05-23 08:16:59.882498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.883814"], ["updated_at", "2018-05-23 08:16:59.883814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page2"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page2"], ["created_at", "2018-05-23 08:16:59.886082"], ["updated_at", "2018-05-23 08:16:59.886082"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:16:59.887170"], ["updated_at", "2018-05-23 08:16:59.887170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"} Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title2"], ["LIMIT", 1]] Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "new/id"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.2ms) Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title3"], ["created_at", "2018-05-23 08:16:59.899344"], ["updated_at", "2018-05-23 08:16:59.899344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.900909"], ["updated_at", "2018-05-23 08:16:59.900909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page3"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.3ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page3"], ["created_at", "2018-05-23 08:16:59.903832"], ["updated_at", "2018-05-23 08:16:59.903832"]] Yaw::WikiPageRevision Create (0.3ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:16:59.905146"], ["updated_at", "2018-05-23 08:16:59.905146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"} Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title3"], ["LIMIT", 1]] Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "This is a pen"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.0ms) Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title4"], ["created_at", "2018-05-23 08:16:59.912276"], ["updated_at", "2018-05-23 08:16:59.912276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.913488"], ["updated_at", "2018-05-23 08:16:59.913488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page4"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page4"], ["created_at", "2018-05-23 08:16:59.915313"], ["updated_at", "2018-05-23 08:16:59.915313"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:16:59.916333"], ["updated_at", "2018-05-23 08:16:59.916333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#edit as HTML Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"} Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title4"], ["LIMIT", 1]] Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page4"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki (0.2ms) Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title5"], ["created_at", "2018-05-23 08:16:59.941096"], ["updated_at", "2018-05-23 08:16:59.941096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.942525"], ["updated_at", "2018-05-23 08:16:59.942525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page5"], ["created_at", "2018-05-23 08:16:59.944714"], ["updated_at", "2018-05-23 08:16:59.944714"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:16:59.945566"], ["updated_at", "2018-05-23 08:16:59.945566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#update as HTML Parameters: {"wiki_page"=>{"body"=>"blah", "title"=>"new name"}, "wiki_space_id"=>"title5", "path"=>"path/to/page5"} Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title5"], ["LIMIT", 1]] Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page5"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.954686"], ["updated_at", "2018-05-23 08:16:59.954686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 1], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:16:59.957316"], ["updated_at", "2018-05-23 08:16:59.957316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/wiki/title5/wiki/path/to/page5 Completed 302 Found in 22ms (ActiveRecord: 0.5ms) Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Yaw::WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title6"], ["created_at", "2018-05-23 08:16:59.982185"], ["updated_at", "2018-05-23 08:16:59.982185"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.983629"], ["updated_at", "2018-05-23 08:16:59.983629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page6"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page6"], ["created_at", "2018-05-23 08:16:59.986145"], ["updated_at", "2018-05-23 08:16:59.986145"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:16:59.987253"], ["updated_at", "2018-05-23 08:16:59.987253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#create as HTML Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"} Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title6"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.990253"], ["updated_at", "2018-05-23 08:16:59.990253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path"], ["created_at", "2018-05-23 08:16:59.993029"], ["updated_at", "2018-05-23 08:16:59.993029"]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:16:59.993738"], ["updated_at", "2018-05-23 08:16:59.993738"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/wiki/title6/wiki/path Completed 302 Found in 21ms (ActiveRecord: 0.5ms) Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 2], ["LIMIT", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title7"], ["created_at", "2018-05-23 08:17:00.016757"], ["updated_at", "2018-05-23 08:17:00.016757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.018281"], ["updated_at", "2018-05-23 08:17:00.018281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page7"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page7"], ["created_at", "2018-05-23 08:17:00.021337"], ["updated_at", "2018-05-23 08:17:00.021337"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.022352"], ["updated_at", "2018-05-23 08:17:00.022352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title8"], ["created_at", "2018-05-23 08:17:00.028223"], ["updated_at", "2018-05-23 08:17:00.028223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.029747"], ["updated_at", "2018-05-23 08:17:00.029747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page8"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page8"], ["created_at", "2018-05-23 08:17:00.032059"], ["updated_at", "2018-05-23 08:17:00.032059"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.032893"], ["updated_at", "2018-05-23 08:17:00.032893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title9"], ["created_at", "2018-05-23 08:17:00.038007"], ["updated_at", "2018-05-23 08:17:00.038007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.039663"], ["updated_at", "2018-05-23 08:17:00.039663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page9"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.3ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page9"], ["created_at", "2018-05-23 08:17:00.042253"], ["updated_at", "2018-05-23 08:17:00.042253"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.043464"], ["updated_at", "2018-05-23 08:17:00.043464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title10"], ["created_at", "2018-05-23 08:17:00.048368"], ["updated_at", "2018-05-23 08:17:00.048368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.049897"], ["updated_at", "2018-05-23 08:17:00.049897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page10"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page10"], ["created_at", "2018-05-23 08:17:00.052670"], ["updated_at", "2018-05-23 08:17:00.052670"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.053686"], ["updated_at", "2018-05-23 08:17:00.053686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title11"], ["created_at", "2018-05-23 08:17:00.058880"], ["updated_at", "2018-05-23 08:17:00.058880"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.060643"], ["updated_at", "2018-05-23 08:17:00.060643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page11"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page11"], ["created_at", "2018-05-23 08:17:00.063097"], ["updated_at", "2018-05-23 08:17:00.063097"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.063972"], ["updated_at", "2018-05-23 08:17:00.063972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title12"], ["created_at", "2018-05-23 08:17:00.072811"], ["updated_at", "2018-05-23 08:17:00.072811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.075159"], ["updated_at", "2018-05-23 08:17:00.075159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title13"], ["created_at", "2018-05-23 08:17:00.078399"], ["updated_at", "2018-05-23 08:17:00.078399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.080518"], ["updated_at", "2018-05-23 08:17:00.080518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page"], ["created_at", "2018-05-23 08:17:00.085890"], ["updated_at", "2018-05-23 08:17:00.085890"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "title"], ["body", "body"], ["created_at", "2018-05-23 08:17:00.086904"], ["updated_at", "2018-05-23 08:17:00.086904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title14"], ["created_at", "2018-05-23 08:17:00.090807"], ["updated_at", "2018-05-23 08:17:00.090807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.092998"], ["updated_at", "2018-05-23 08:17:00.092998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title15"], ["created_at", "2018-05-23 08:17:00.095904"], ["updated_at", "2018-05-23 08:17:00.095904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.098084"], ["updated_at", "2018-05-23 08:17:00.098084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title16"], ["created_at", "2018-05-23 08:17:00.100991"], ["updated_at", "2018-05-23 08:17:00.100991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.102903"], ["updated_at", "2018-05-23 08:17:00.102903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page12"], ["created_at", "2018-05-23 08:17:00.105744"], ["updated_at", "2018-05-23 08:17:00.105744"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.106866"], ["updated_at", "2018-05-23 08:17:00.106866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("wiki_page_id", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_page_id", 1], ["body", "new title"], ["created_at", "2018-05-23 08:17:00.110211"], ["updated_at", "2018-05-23 08:17:00.110211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title17"], ["created_at", "2018-05-23 08:17:00.128663"], ["updated_at", "2018-05-23 08:17:00.128663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.130245"], ["updated_at", "2018-05-23 08:17:00.130245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page13"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page13"], ["created_at", "2018-05-23 08:17:00.132748"], ["updated_at", "2018-05-23 08:17:00.132748"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.133831"], ["updated_at", "2018-05-23 08:17:00.133831"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.135984"], ["updated_at", "2018-05-23 08:17:00.135984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title18"], ["created_at", "2018-05-23 08:17:00.139586"], ["updated_at", "2018-05-23 08:17:00.139586"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.141155"], ["updated_at", "2018-05-23 08:17:00.141155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page14"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page14"], ["created_at", "2018-05-23 08:17:00.143549"], ["updated_at", "2018-05-23 08:17:00.143549"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.144417"], ["updated_at", "2018-05-23 08:17:00.144417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.146193"], ["updated_at", "2018-05-23 08:17:00.146193"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title19"], ["created_at", "2018-05-23 08:17:00.149117"], ["updated_at", "2018-05-23 08:17:00.149117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.150533"], ["updated_at", "2018-05-23 08:17:00.150533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page15"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page15"], ["created_at", "2018-05-23 08:17:00.152947"], ["updated_at", "2018-05-23 08:17:00.152947"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.153945"], ["updated_at", "2018-05-23 08:17:00.153945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.155984"], ["updated_at", "2018-05-23 08:17:00.155984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title20"], ["created_at", "2018-05-23 08:17:00.159007"], ["updated_at", "2018-05-23 08:17:00.159007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.160364"], ["updated_at", "2018-05-23 08:17:00.160364"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page16"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page16"], ["created_at", "2018-05-23 08:17:00.162600"], ["updated_at", "2018-05-23 08:17:00.162600"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.163451"], ["updated_at", "2018-05-23 08:17:00.163451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title21"], ["created_at", "2018-05-23 08:17:00.168001"], ["updated_at", "2018-05-23 08:17:00.168001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.169928"], ["updated_at", "2018-05-23 08:17:00.169928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page17"], ["created_at", "2018-05-23 08:17:00.172477"], ["updated_at", "2018-05-23 08:17:00.172477"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.173329"], ["updated_at", "2018-05-23 08:17:00.173329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title22"], ["created_at", "2018-05-23 08:17:00.174997"], ["updated_at", "2018-05-23 08:17:00.174997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.176107"], ["updated_at", "2018-05-23 08:17:00.176107"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 2], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title23"], ["created_at", "2018-05-23 08:17:00.180444"], ["updated_at", "2018-05-23 08:17:00.180444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.181953"], ["updated_at", "2018-05-23 08:17:00.181953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page18"], ["created_at", "2018-05-23 08:17:00.184185"], ["updated_at", "2018-05-23 08:17:00.184185"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.185042"], ["updated_at", "2018-05-23 08:17:00.185042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.186901"], ["updated_at", "2018-05-23 08:17:00.186901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title24"], ["created_at", "2018-05-23 08:17:00.205404"], ["updated_at", "2018-05-23 08:17:00.205404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.207014"], ["updated_at", "2018-05-23 08:17:00.207014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page19"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page19"], ["created_at", "2018-05-23 08:17:00.209479"], ["updated_at", "2018-05-23 08:17:00.209479"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.210352"], ["updated_at", "2018-05-23 08:17:00.210352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title25"], ["created_at", "2018-05-23 08:17:00.211812"], ["updated_at", "2018-05-23 08:17:00.211812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.212892"], ["updated_at", "2018-05-23 08:17:00.212892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.2ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page20"], ["wiki_space_id", 2], ["LIMIT", 1]] Yaw::WikiPage Create (0.3ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 2], ["path", "path/to/page20"], ["created_at", "2018-05-23 08:17:00.215716"], ["updated_at", "2018-05-23 08:17:00.215716"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.217720"], ["updated_at", "2018-05-23 08:17:00.217720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page20"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA foreign_keys = OFF  (2.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (2.0ms) DELETE FROM "wiki_page_revisions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';  (1.5ms) DELETE FROM "wiki_pages";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';  (1.5ms) DELETE FROM "wiki_spaces";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';  (1.3ms) DELETE FROM "ar_internal_metadata";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (0.0ms) PRAGMA foreign_keys = 1  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA foreign_keys = OFF  (1.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (1.6ms) DELETE FROM "wiki_page_revisions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';  (1.5ms) DELETE FROM "wiki_pages";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';  (0.9ms) DELETE FROM "wiki_spaces";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';  (1.5ms) DELETE FROM "ar_internal_metadata";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (0.0ms) PRAGMA foreign_keys = 1  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title1"], ["created_at", "2018-05-23 08:18:25.770987"], ["updated_at", "2018-05-23 08:18:25.770987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.784411"], ["updated_at", "2018-05-23 08:18:25.784411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page1"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page1"], ["created_at", "2018-05-23 08:18:25.808032"], ["updated_at", "2018-05-23 08:18:25.808032"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.809018"], ["updated_at", "2018-05-23 08:18:25.809018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"} Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title1"], ["LIMIT", 1]] Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page1"], ["LIMIT", 1]] Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki (0.2ms) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Completed 200 OK in 19ms (Views: 8.8ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title2"], ["created_at", "2018-05-23 08:18:25.834038"], ["updated_at", "2018-05-23 08:18:25.834038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.835336"], ["updated_at", "2018-05-23 08:18:25.835336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page2"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page2"], ["created_at", "2018-05-23 08:18:25.837287"], ["updated_at", "2018-05-23 08:18:25.837287"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.837973"], ["updated_at", "2018-05-23 08:18:25.837973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"} Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title2"], ["LIMIT", 1]] Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "new/id"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.2ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title3"], ["created_at", "2018-05-23 08:18:25.848813"], ["updated_at", "2018-05-23 08:18:25.848813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.850060"], ["updated_at", "2018-05-23 08:18:25.850060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page3"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page3"], ["created_at", "2018-05-23 08:18:25.852037"], ["updated_at", "2018-05-23 08:18:25.852037"]] Yaw::WikiPageRevision Create (0.3ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.852836"], ["updated_at", "2018-05-23 08:18:25.852836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"} Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title3"], ["LIMIT", 1]] Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "This is a pen"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.0ms) Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title4"], ["created_at", "2018-05-23 08:18:25.860664"], ["updated_at", "2018-05-23 08:18:25.860664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.862490"], ["updated_at", "2018-05-23 08:18:25.862490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page4"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page4"], ["created_at", "2018-05-23 08:18:25.864551"], ["updated_at", "2018-05-23 08:18:25.864551"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.865258"], ["updated_at", "2018-05-23 08:18:25.865258"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#edit as HTML Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"} Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title4"], ["LIMIT", 1]] Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page4"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki (0.2ms) Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title5"], ["created_at", "2018-05-23 08:18:25.889053"], ["updated_at", "2018-05-23 08:18:25.889053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.890495"], ["updated_at", "2018-05-23 08:18:25.890495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page5"], ["created_at", "2018-05-23 08:18:25.892650"], ["updated_at", "2018-05-23 08:18:25.892650"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.893345"], ["updated_at", "2018-05-23 08:18:25.893345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#update as HTML Parameters: {"wiki_page"=>{"body"=>"blah", "title"=>"new name"}, "wiki_space_id"=>"title5", "path"=>"path/to/page5"} Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title5"], ["LIMIT", 1]] Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page5"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.902961"], ["updated_at", "2018-05-23 08:18:25.902961"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 1], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:18:25.905943"], ["updated_at", "2018-05-23 08:18:25.905943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/wiki/title5/wiki/path/to/page5 Completed 302 Found in 24ms (ActiveRecord: 0.6ms) Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] Yaw::WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title6"], ["created_at", "2018-05-23 08:18:25.932236"], ["updated_at", "2018-05-23 08:18:25.932236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.933851"], ["updated_at", "2018-05-23 08:18:25.933851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page6"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page6"], ["created_at", "2018-05-23 08:18:25.936657"], ["updated_at", "2018-05-23 08:18:25.936657"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.937630"], ["updated_at", "2018-05-23 08:18:25.937630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#create as HTML Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"} Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title6"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.940914"], ["updated_at", "2018-05-23 08:18:25.940914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path"], ["created_at", "2018-05-23 08:18:25.943645"], ["updated_at", "2018-05-23 08:18:25.943645"]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:18:25.944444"], ["updated_at", "2018-05-23 08:18:25.944444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/wiki/title6/wiki/path Completed 302 Found in 21ms (ActiveRecord: 0.6ms) Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 2], ["LIMIT", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title7"], ["created_at", "2018-05-23 08:18:25.966509"], ["updated_at", "2018-05-23 08:18:25.966509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.968129"], ["updated_at", "2018-05-23 08:18:25.968129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page7"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page7"], ["created_at", "2018-05-23 08:18:25.970790"], ["updated_at", "2018-05-23 08:18:25.970790"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.971686"], ["updated_at", "2018-05-23 08:18:25.971686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title8"], ["created_at", "2018-05-23 08:18:25.978022"], ["updated_at", "2018-05-23 08:18:25.978022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.979637"], ["updated_at", "2018-05-23 08:18:25.979637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page8"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page8"], ["created_at", "2018-05-23 08:18:25.982030"], ["updated_at", "2018-05-23 08:18:25.982030"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.982910"], ["updated_at", "2018-05-23 08:18:25.982910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title9"], ["created_at", "2018-05-23 08:18:25.988862"], ["updated_at", "2018-05-23 08:18:25.988862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.990631"], ["updated_at", "2018-05-23 08:18:25.990631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page9"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page9"], ["created_at", "2018-05-23 08:18:25.993129"], ["updated_at", "2018-05-23 08:18:25.993129"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.994097"], ["updated_at", "2018-05-23 08:18:25.994097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title10"], ["created_at", "2018-05-23 08:18:26.000044"], ["updated_at", "2018-05-23 08:18:26.000044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.001824"], ["updated_at", "2018-05-23 08:18:26.001824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page10"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page10"], ["created_at", "2018-05-23 08:18:26.004951"], ["updated_at", "2018-05-23 08:18:26.004951"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.005907"], ["updated_at", "2018-05-23 08:18:26.005907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.008312"], ["updated_at", "2018-05-23 08:18:26.008312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-23 08:18:26.010494"], ["updated_at", "2018-05-23 08:18:26.010494"]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.011353"], ["updated_at", "2018-05-23 08:18:26.011353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title11"], ["created_at", "2018-05-23 08:18:26.016854"], ["updated_at", "2018-05-23 08:18:26.016854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.018468"], ["updated_at", "2018-05-23 08:18:26.018468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page11"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page11"], ["created_at", "2018-05-23 08:18:26.021240"], ["updated_at", "2018-05-23 08:18:26.021240"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.022215"], ["updated_at", "2018-05-23 08:18:26.022215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.024424"], ["updated_at", "2018-05-23 08:18:26.024424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-23 08:18:26.026724"], ["updated_at", "2018-05-23 08:18:26.026724"]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.027487"], ["updated_at", "2018-05-23 08:18:26.027487"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title12"], ["created_at", "2018-05-23 08:18:26.036263"], ["updated_at", "2018-05-23 08:18:26.036263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.038566"], ["updated_at", "2018-05-23 08:18:26.038566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title13"], ["created_at", "2018-05-23 08:18:26.042059"], ["updated_at", "2018-05-23 08:18:26.042059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.044096"], ["updated_at", "2018-05-23 08:18:26.044096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page"], ["created_at", "2018-05-23 08:18:26.049463"], ["updated_at", "2018-05-23 08:18:26.049463"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "title"], ["body", "body"], ["created_at", "2018-05-23 08:18:26.050494"], ["updated_at", "2018-05-23 08:18:26.050494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title14"], ["created_at", "2018-05-23 08:18:26.054216"], ["updated_at", "2018-05-23 08:18:26.054216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.056821"], ["updated_at", "2018-05-23 08:18:26.056821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title15"], ["created_at", "2018-05-23 08:18:26.060053"], ["updated_at", "2018-05-23 08:18:26.060053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.062314"], ["updated_at", "2018-05-23 08:18:26.062314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title16"], ["created_at", "2018-05-23 08:18:26.065376"], ["updated_at", "2018-05-23 08:18:26.065376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.067098"], ["updated_at", "2018-05-23 08:18:26.067098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page12"], ["created_at", "2018-05-23 08:18:26.069852"], ["updated_at", "2018-05-23 08:18:26.069852"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.070834"], ["updated_at", "2018-05-23 08:18:26.070834"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("wiki_page_id", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_page_id", 1], ["body", "new title"], ["created_at", "2018-05-23 08:18:26.074260"], ["updated_at", "2018-05-23 08:18:26.074260"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title17"], ["created_at", "2018-05-23 08:18:26.091808"], ["updated_at", "2018-05-23 08:18:26.091808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.093554"], ["updated_at", "2018-05-23 08:18:26.093554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page13"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page13"], ["created_at", "2018-05-23 08:18:26.096032"], ["updated_at", "2018-05-23 08:18:26.096032"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.096933"], ["updated_at", "2018-05-23 08:18:26.096933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.098757"], ["updated_at", "2018-05-23 08:18:26.098757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title18"], ["created_at", "2018-05-23 08:18:26.102027"], ["updated_at", "2018-05-23 08:18:26.102027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.103632"], ["updated_at", "2018-05-23 08:18:26.103632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page14"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page14"], ["created_at", "2018-05-23 08:18:26.105964"], ["updated_at", "2018-05-23 08:18:26.105964"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.106804"], ["updated_at", "2018-05-23 08:18:26.106804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.108451"], ["updated_at", "2018-05-23 08:18:26.108451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title19"], ["created_at", "2018-05-23 08:18:26.111621"], ["updated_at", "2018-05-23 08:18:26.111621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.113150"], ["updated_at", "2018-05-23 08:18:26.113150"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page15"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page15"], ["created_at", "2018-05-23 08:18:26.115425"], ["updated_at", "2018-05-23 08:18:26.115425"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.116422"], ["updated_at", "2018-05-23 08:18:26.116422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.118128"], ["updated_at", "2018-05-23 08:18:26.118128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title20"], ["created_at", "2018-05-23 08:18:26.121096"], ["updated_at", "2018-05-23 08:18:26.121096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.122629"], ["updated_at", "2018-05-23 08:18:26.122629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page16"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page16"], ["created_at", "2018-05-23 08:18:26.125362"], ["updated_at", "2018-05-23 08:18:26.125362"]] Yaw::WikiPageRevision Create (0.3ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.126361"], ["updated_at", "2018-05-23 08:18:26.126361"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title21"], ["created_at", "2018-05-23 08:18:26.131062"], ["updated_at", "2018-05-23 08:18:26.131062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.132524"], ["updated_at", "2018-05-23 08:18:26.132524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page17"], ["created_at", "2018-05-23 08:18:26.134983"], ["updated_at", "2018-05-23 08:18:26.134983"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.136079"], ["updated_at", "2018-05-23 08:18:26.136079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title22"], ["created_at", "2018-05-23 08:18:26.137762"], ["updated_at", "2018-05-23 08:18:26.137762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.138910"], ["updated_at", "2018-05-23 08:18:26.138910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 2], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title23"], ["created_at", "2018-05-23 08:18:26.143473"], ["updated_at", "2018-05-23 08:18:26.143473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.145127"], ["updated_at", "2018-05-23 08:18:26.145127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page18"], ["created_at", "2018-05-23 08:18:26.147499"], ["updated_at", "2018-05-23 08:18:26.147499"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.148356"], ["updated_at", "2018-05-23 08:18:26.148356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.149963"], ["updated_at", "2018-05-23 08:18:26.149963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title24"], ["created_at", "2018-05-23 08:18:26.169726"], ["updated_at", "2018-05-23 08:18:26.169726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.171322"], ["updated_at", "2018-05-23 08:18:26.171322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page19"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page19"], ["created_at", "2018-05-23 08:18:26.173859"], ["updated_at", "2018-05-23 08:18:26.173859"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.174784"], ["updated_at", "2018-05-23 08:18:26.174784"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title25"], ["created_at", "2018-05-23 08:18:26.176467"], ["updated_at", "2018-05-23 08:18:26.176467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.177669"], ["updated_at", "2018-05-23 08:18:26.177669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page20"], ["wiki_space_id", 2], ["LIMIT", 1]] Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 2], ["path", "path/to/page20"], ["created_at", "2018-05-23 08:18:26.179959"], ["updated_at", "2018-05-23 08:18:26.179959"]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.180709"], ["updated_at", "2018-05-23 08:18:26.180709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page20"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) PRAGMA foreign_keys  (0.1ms) PRAGMA foreign_keys = OFF  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "wiki_page_revisions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';  (1.2ms) DELETE FROM "wiki_pages";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';  (0.8ms) DELETE FROM "wiki_spaces";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';  (1.0ms) DELETE FROM "ar_internal_metadata";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (0.0ms) PRAGMA foreign_keys = 1  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title1"], ["created_at", "2018-05-23 08:19:21.637228"], ["updated_at", "2018-05-23 08:19:21.637228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.654751"], ["updated_at", "2018-05-23 08:19:21.654751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page1"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page1"], ["created_at", "2018-05-23 08:19:21.676630"], ["updated_at", "2018-05-23 08:19:21.676630"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.677514"], ["updated_at", "2018-05-23 08:19:21.677514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"} Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title1"], ["LIMIT", 1]] Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page1"], ["LIMIT", 1]] Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki (0.3ms) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Completed 200 OK in 19ms (Views: 9.6ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title2"], ["created_at", "2018-05-23 08:19:21.703301"], ["updated_at", "2018-05-23 08:19:21.703301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.704664"], ["updated_at", "2018-05-23 08:19:21.704664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page2"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page2"], ["created_at", "2018-05-23 08:19:21.706725"], ["updated_at", "2018-05-23 08:19:21.706725"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.707442"], ["updated_at", "2018-05-23 08:19:21.707442"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"} Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title2"], ["LIMIT", 1]] Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "new/id"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.3ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title3"], ["created_at", "2018-05-23 08:19:21.718713"], ["updated_at", "2018-05-23 08:19:21.718713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.720011"], ["updated_at", "2018-05-23 08:19:21.720011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page3"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page3"], ["created_at", "2018-05-23 08:19:21.722035"], ["updated_at", "2018-05-23 08:19:21.722035"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.722760"], ["updated_at", "2018-05-23 08:19:21.722760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#show as HTML Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"} Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title3"], ["LIMIT", 1]] Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "This is a pen"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.0ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title4"], ["created_at", "2018-05-23 08:19:21.729314"], ["updated_at", "2018-05-23 08:19:21.729314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.730706"], ["updated_at", "2018-05-23 08:19:21.730706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page4"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page4"], ["created_at", "2018-05-23 08:19:21.732833"], ["updated_at", "2018-05-23 08:19:21.732833"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.733843"], ["updated_at", "2018-05-23 08:19:21.733843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#edit as HTML Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"} Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title4"], ["LIMIT", 1]] Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page4"], ["LIMIT", 1]] Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki (0.2ms) Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title5"], ["created_at", "2018-05-23 08:19:21.757879"], ["updated_at", "2018-05-23 08:19:21.757879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.759556"], ["updated_at", "2018-05-23 08:19:21.759556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page5"], ["created_at", "2018-05-23 08:19:21.762306"], ["updated_at", "2018-05-23 08:19:21.762306"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.763249"], ["updated_at", "2018-05-23 08:19:21.763249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#update as HTML Parameters: {"wiki_page"=>{"body"=>"blah", "title"=>"new name"}, "wiki_space_id"=>"title5", "path"=>"path/to/page5"} Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title5"], ["LIMIT", 1]] Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page5"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.773577"], ["updated_at", "2018-05-23 08:19:21.773577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 1], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:19:21.776717"], ["updated_at", "2018-05-23 08:19:21.776717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/wiki/title5/wiki/path/to/page5 Completed 302 Found in 27ms (ActiveRecord: 0.6ms) Yaw::WikiPage Load (0.2ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Yaw::WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] Yaw::WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title6"], ["created_at", "2018-05-23 08:19:21.806214"], ["updated_at", "2018-05-23 08:19:21.806214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.807709"], ["updated_at", "2018-05-23 08:19:21.807709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page6"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page6"], ["created_at", "2018-05-23 08:19:21.810039"], ["updated_at", "2018-05-23 08:19:21.810039"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.810891"], ["updated_at", "2018-05-23 08:19:21.810891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Yaw::WikiPageController#create as HTML Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"} Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title6"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.813711"], ["updated_at", "2018-05-23 08:19:21.813711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path"], ["created_at", "2018-05-23 08:19:21.816382"], ["updated_at", "2018-05-23 08:19:21.816382"]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:19:21.817087"], ["updated_at", "2018-05-23 08:19:21.817087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/wiki/title6/wiki/path Completed 302 Found in 20ms (ActiveRecord: 0.5ms) Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 2], ["LIMIT", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title7"], ["created_at", "2018-05-23 08:19:21.838438"], ["updated_at", "2018-05-23 08:19:21.838438"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.840035"], ["updated_at", "2018-05-23 08:19:21.840035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page7"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page7"], ["created_at", "2018-05-23 08:19:21.842683"], ["updated_at", "2018-05-23 08:19:21.842683"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.843552"], ["updated_at", "2018-05-23 08:19:21.843552"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title8"], ["created_at", "2018-05-23 08:19:21.849678"], ["updated_at", "2018-05-23 08:19:21.849678"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.851305"], ["updated_at", "2018-05-23 08:19:21.851305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page8"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page8"], ["created_at", "2018-05-23 08:19:21.853891"], ["updated_at", "2018-05-23 08:19:21.853891"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.854822"], ["updated_at", "2018-05-23 08:19:21.854822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title9"], ["created_at", "2018-05-23 08:19:21.861695"], ["updated_at", "2018-05-23 08:19:21.861695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.863327"], ["updated_at", "2018-05-23 08:19:21.863327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page9"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page9"], ["created_at", "2018-05-23 08:19:21.865821"], ["updated_at", "2018-05-23 08:19:21.865821"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.866797"], ["updated_at", "2018-05-23 08:19:21.866797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title10"], ["created_at", "2018-05-23 08:19:21.873212"], ["updated_at", "2018-05-23 08:19:21.873212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.875060"], ["updated_at", "2018-05-23 08:19:21.875060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page10"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page10"], ["created_at", "2018-05-23 08:19:21.877661"], ["updated_at", "2018-05-23 08:19:21.877661"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.878552"], ["updated_at", "2018-05-23 08:19:21.878552"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.880746"], ["updated_at", "2018-05-23 08:19:21.880746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-23 08:19:21.882967"], ["updated_at", "2018-05-23 08:19:21.882967"]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.883816"], ["updated_at", "2018-05-23 08:19:21.883816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title11"], ["created_at", "2018-05-23 08:19:21.889483"], ["updated_at", "2018-05-23 08:19:21.889483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.891272"], ["updated_at", "2018-05-23 08:19:21.891272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page11"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page11"], ["created_at", "2018-05-23 08:19:21.893827"], ["updated_at", "2018-05-23 08:19:21.893827"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.894704"], ["updated_at", "2018-05-23 08:19:21.894704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.896830"], ["updated_at", "2018-05-23 08:19:21.896830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-23 08:19:21.899057"], ["updated_at", "2018-05-23 08:19:21.899057"]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.899882"], ["updated_at", "2018-05-23 08:19:21.899882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title12"], ["created_at", "2018-05-23 08:19:21.909379"], ["updated_at", "2018-05-23 08:19:21.909379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.911689"], ["updated_at", "2018-05-23 08:19:21.911689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title13"], ["created_at", "2018-05-23 08:19:21.915424"], ["updated_at", "2018-05-23 08:19:21.915424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.917790"], ["updated_at", "2018-05-23 08:19:21.917790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page"], ["created_at", "2018-05-23 08:19:21.923360"], ["updated_at", "2018-05-23 08:19:21.923360"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "title"], ["body", "body"], ["created_at", "2018-05-23 08:19:21.924392"], ["updated_at", "2018-05-23 08:19:21.924392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title14"], ["created_at", "2018-05-23 08:19:21.928181"], ["updated_at", "2018-05-23 08:19:21.928181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.930536"], ["updated_at", "2018-05-23 08:19:21.930536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title15"], ["created_at", "2018-05-23 08:19:21.933364"], ["updated_at", "2018-05-23 08:19:21.933364"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.935642"], ["updated_at", "2018-05-23 08:19:21.935642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title16"], ["created_at", "2018-05-23 08:19:21.938677"], ["updated_at", "2018-05-23 08:19:21.938677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.940515"], ["updated_at", "2018-05-23 08:19:21.940515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page12"], ["created_at", "2018-05-23 08:19:21.943282"], ["updated_at", "2018-05-23 08:19:21.943282"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.944264"], ["updated_at", "2018-05-23 08:19:21.944264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("wiki_page_id", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_page_id", 1], ["body", "new title"], ["created_at", "2018-05-23 08:19:21.947704"], ["updated_at", "2018-05-23 08:19:21.947704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title17"], ["created_at", "2018-05-23 08:19:21.966025"], ["updated_at", "2018-05-23 08:19:21.966025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.967668"], ["updated_at", "2018-05-23 08:19:21.967668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page13"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page13"], ["created_at", "2018-05-23 08:19:21.970408"], ["updated_at", "2018-05-23 08:19:21.970408"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.971258"], ["updated_at", "2018-05-23 08:19:21.971258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.973007"], ["updated_at", "2018-05-23 08:19:21.973007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title18"], ["created_at", "2018-05-23 08:19:21.976332"], ["updated_at", "2018-05-23 08:19:21.976332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.977845"], ["updated_at", "2018-05-23 08:19:21.977845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page14"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page14"], ["created_at", "2018-05-23 08:19:21.980253"], ["updated_at", "2018-05-23 08:19:21.980253"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.981104"], ["updated_at", "2018-05-23 08:19:21.981104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.982734"], ["updated_at", "2018-05-23 08:19:21.982734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title19"], ["created_at", "2018-05-23 08:19:21.985987"], ["updated_at", "2018-05-23 08:19:21.985987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.987489"], ["updated_at", "2018-05-23 08:19:21.987489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page15"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page15"], ["created_at", "2018-05-23 08:19:21.990037"], ["updated_at", "2018-05-23 08:19:21.990037"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.991013"], ["updated_at", "2018-05-23 08:19:21.991013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.992849"], ["updated_at", "2018-05-23 08:19:21.992849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title20"], ["created_at", "2018-05-23 08:19:21.995941"], ["updated_at", "2018-05-23 08:19:21.995941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.997471"], ["updated_at", "2018-05-23 08:19:21.997471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page16"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page16"], ["created_at", "2018-05-23 08:19:21.999876"], ["updated_at", "2018-05-23 08:19:21.999876"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:22.000794"], ["updated_at", "2018-05-23 08:19:22.000794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title21"], ["created_at", "2018-05-23 08:19:22.005861"], ["updated_at", "2018-05-23 08:19:22.005861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:22.007528"], ["updated_at", "2018-05-23 08:19:22.007528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page17"], ["created_at", "2018-05-23 08:19:22.010092"], ["updated_at", "2018-05-23 08:19:22.010092"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:22.010929"], ["updated_at", "2018-05-23 08:19:22.010929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title22"], ["created_at", "2018-05-23 08:19:22.012781"], ["updated_at", "2018-05-23 08:19:22.012781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:22.014165"], ["updated_at", "2018-05-23 08:19:22.014165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 2], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title23"], ["created_at", "2018-05-23 08:19:22.019145"], ["updated_at", "2018-05-23 08:19:22.019145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:22.020882"], ["updated_at", "2018-05-23 08:19:22.020882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.2ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.3ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page18"], ["created_at", "2018-05-23 08:19:22.024396"], ["updated_at", "2018-05-23 08:19:22.024396"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:22.025701"], ["updated_at", "2018-05-23 08:19:22.025701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:22.027734"], ["updated_at", "2018-05-23 08:19:22.027734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title24"], ["created_at", "2018-05-23 08:19:22.038895"], ["updated_at", "2018-05-23 08:19:22.038895"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:22.040519"], ["updated_at", "2018-05-23 08:19:22.040519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page19"], ["wiki_space_id", 1], ["LIMIT", 1]] Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page19"], ["created_at", "2018-05-23 08:19:22.042995"], ["updated_at", "2018-05-23 08:19:22.042995"]] Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:22.043883"], ["updated_at", "2018-05-23 08:19:22.043883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title25"], ["created_at", "2018-05-23 08:19:22.045396"], ["updated_at", "2018-05-23 08:19:22.045396"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:22.046531"], ["updated_at", "2018-05-23 08:19:22.046531"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page20"], ["wiki_space_id", 2], ["LIMIT", 1]] Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 2], ["path", "path/to/page20"], ["created_at", "2018-05-23 08:19:22.048835"], ["updated_at", "2018-05-23 08:19:22.048835"]] Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:22.049649"], ["updated_at", "2018-05-23 08:19:22.049649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page20"], ["LIMIT", 1]]  (0.6ms) rollback transaction