yaw 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +31 -0
  5. data/app/assets/javascripts/yaw/application.js +13 -0
  6. data/app/assets/stylesheets/scaffold.css +56 -0
  7. data/app/assets/stylesheets/yaw/application.sass +1 -0
  8. data/app/assets/stylesheets/yaw/wiki.sass +0 -0
  9. data/app/controllers/yaw/application_controller.rb +7 -0
  10. data/app/controllers/yaw/wiki_page_controller.rb +45 -0
  11. data/app/decorators/wiki_page_decorator.rb +17 -0
  12. data/app/models/wiki_page.rb +41 -0
  13. data/app/models/wiki_page_revision.rb +6 -0
  14. data/app/models/wiki_space.rb +8 -0
  15. data/app/views/layouts/wiki.haml +1 -0
  16. data/app/views/yaw/wiki_page/_form.html.haml +11 -0
  17. data/app/views/yaw/wiki_page/edit.html.haml +2 -0
  18. data/app/views/yaw/wiki_page/new.html.haml +3 -0
  19. data/app/views/yaw/wiki_page/show.html.haml +15 -0
  20. data/config/locales/en.yml +2 -0
  21. data/config/routes.rb +13 -0
  22. data/db/migrate/20180508080612_add_table_wiki_pages.rb +8 -0
  23. data/db/migrate/20180508082530_add_table_wiki_pages1.rb +10 -0
  24. data/db/migrate/20180508082549_add_table_wiki_pages2.rb +11 -0
  25. data/db/migrate/20180509041839_remove_unique_index_from_wiki_page.rb +5 -0
  26. data/db/migrate/20180509042022_add_index_from_wiki_page.rb +5 -0
  27. data/db/migrate/20180509093458_rename_table_wikis_to_wiki_spaces.rb +5 -0
  28. data/db/migrate/20180509101020_rename_column_wiki_idto_wiki_space_id_for_wiki_pages.rb +5 -0
  29. data/lib/mountable/lib/mountable/enginize.rb +39 -0
  30. data/lib/mountable/lib/mountable/mountable_helper.rb +18 -0
  31. data/lib/mountable/lib/mountable.rb +6 -0
  32. data/lib/tasks/wiki_tasks.rake +5 -0
  33. data/lib/yaw/engine.rb +10 -0
  34. data/lib/yaw/version.rb +5 -0
  35. data/lib/yaw.rb +9 -0
  36. data/spec/dummy/README.rdoc +28 -0
  37. data/spec/dummy/Rakefile +6 -0
  38. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  39. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  40. data/spec/dummy/app/controllers/application_controller.rb +9 -0
  41. data/spec/dummy/app/decorators/user_decorator.rb +6 -0
  42. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  43. data/spec/dummy/app/models/ability.rb +8 -0
  44. data/spec/dummy/app/models/application_record.rb +3 -0
  45. data/spec/dummy/app/models/user.rb +2 -0
  46. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  47. data/spec/dummy/app/views/layouts/exam_base.html.erb +14 -0
  48. data/spec/dummy/bin/bundle +3 -0
  49. data/spec/dummy/bin/rails +4 -0
  50. data/spec/dummy/bin/rake +4 -0
  51. data/spec/dummy/bin/setup +34 -0
  52. data/spec/dummy/bin/update +29 -0
  53. data/spec/dummy/config/application.rb +15 -0
  54. data/spec/dummy/config/boot.rb +3 -0
  55. data/spec/dummy/config/cable.yml +9 -0
  56. data/spec/dummy/config/database.yml +25 -0
  57. data/spec/dummy/config/environment.rb +5 -0
  58. data/spec/dummy/config/environments/development.rb +54 -0
  59. data/spec/dummy/config/environments/production.rb +86 -0
  60. data/spec/dummy/config/environments/test.rb +42 -0
  61. data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -0
  62. data/spec/dummy/config/initializers/assets.rb +11 -0
  63. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  64. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  65. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  66. data/spec/dummy/config/initializers/inflections.rb +16 -0
  67. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  68. data/spec/dummy/config/initializers/new_framework_defaults.rb +20 -0
  69. data/spec/dummy/config/initializers/session_store.rb +3 -0
  70. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  71. data/spec/dummy/config/locales/en.yml +23 -0
  72. data/spec/dummy/config/puma.rb +47 -0
  73. data/spec/dummy/config/routes.rb +3 -0
  74. data/spec/dummy/config/secrets.yml +22 -0
  75. data/spec/dummy/config/spring.rb +6 -0
  76. data/spec/dummy/config.ru +4 -0
  77. data/spec/dummy/db/migrate/20160413040436_create_users.rb +9 -0
  78. data/spec/dummy/db/schema.rb +47 -0
  79. data/spec/dummy/db/test.sqlite3 +0 -0
  80. data/spec/dummy/log/test.log +1450 -0
  81. data/spec/dummy/public/404.html +67 -0
  82. data/spec/dummy/public/422.html +67 -0
  83. data/spec/dummy/public/500.html +66 -0
  84. data/spec/dummy/public/favicon.ico +0 -0
  85. data/spec/factories/wiki.rb +27 -0
  86. data/spec/rails_helper.rb +92 -0
  87. data/spec/spec_helper.rb +16 -0
  88. data/spec/yaw/wiki_controller_spec.rb +62 -0
  89. data/spec/yaw/wiki_page_decorator_spec.rb +20 -0
  90. data/spec/yaw/wiki_page_model_spec.rb +54 -0
  91. metadata +328 -0
@@ -0,0 +1,1450 @@
1
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2
+  (0.1ms) PRAGMA foreign_keys
3
+  (0.0ms) PRAGMA foreign_keys = OFF
4
+  (1.4ms) DELETE FROM "users";
5
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
6
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';
7
+  (1.1ms) DELETE FROM "wiki_page_revisions";
8
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';
10
+  (1.0ms) DELETE FROM "wiki_pages";
11
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
12
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';
13
+  (0.9ms) DELETE FROM "wiki_spaces";
14
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
15
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';
16
+  (1.0ms) DELETE FROM "ar_internal_metadata";
17
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
18
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
19
+  (0.1ms) PRAGMA foreign_keys = 1
20
+  (0.1ms) begin transaction
21
+  (0.0ms) commit transaction
22
+  (0.0ms) begin transaction
23
+  (0.1ms) SAVEPOINT active_record_1
24
+ 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"]]
25
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26
+  (0.1ms) SAVEPOINT active_record_1
27
+ 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"]]
28
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29
+  (0.1ms) SAVEPOINT active_record_1
30
+ 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]]
31
+ 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"]]
32
+ 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"]]
33
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34
+ Processing by Yaw::WikiPageController#show as HTML
35
+ Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"}
36
+ WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title1"], ["LIMIT", 1]]
37
+ 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]]
38
+ 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]]
39
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki
40
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
41
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki (0.2ms)
42
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
43
+ Completed 200 OK in 17ms (Views: 7.9ms | ActiveRecord: 0.3ms)
44
+  (0.5ms) rollback transaction
45
+  (0.0ms) begin transaction
46
+  (0.0ms) commit transaction
47
+  (0.0ms) begin transaction
48
+  (0.0ms) SAVEPOINT active_record_1
49
+ 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"]]
50
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51
+  (0.0ms) SAVEPOINT active_record_1
52
+ 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"]]
53
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54
+  (0.0ms) SAVEPOINT active_record_1
55
+ 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]]
56
+ 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"]]
57
+ 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"]]
58
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59
+ Processing by Yaw::WikiPageController#show as HTML
60
+ Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"}
61
+ WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title2"], ["LIMIT", 1]]
62
+ 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]]
63
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki
64
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
65
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.2ms)
66
+ Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.1ms)
67
+  (0.5ms) rollback transaction
68
+  (0.0ms) begin transaction
69
+  (0.0ms) commit transaction
70
+  (0.0ms) begin transaction
71
+  (0.0ms) SAVEPOINT active_record_1
72
+ 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"]]
73
+  (0.0ms) RELEASE SAVEPOINT active_record_1
74
+  (0.0ms) SAVEPOINT active_record_1
75
+ 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"]]
76
+  (0.0ms) RELEASE SAVEPOINT active_record_1
77
+  (0.0ms) SAVEPOINT active_record_1
78
+ 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]]
79
+ 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"]]
80
+ 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"]]
81
+  (0.0ms) RELEASE SAVEPOINT active_record_1
82
+ Processing by Yaw::WikiPageController#show as HTML
83
+ Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"}
84
+ WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title3"], ["LIMIT", 1]]
85
+ 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]]
86
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki
87
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.0ms)
88
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
89
+  (0.5ms) rollback transaction
90
+  (0.0ms) begin transaction
91
+  (0.0ms) commit transaction
92
+  (0.0ms) begin transaction
93
+  (0.0ms) SAVEPOINT active_record_1
94
+ 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"]]
95
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96
+  (0.0ms) SAVEPOINT active_record_1
97
+ 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"]]
98
+  (0.0ms) RELEASE SAVEPOINT active_record_1
99
+  (0.0ms) SAVEPOINT active_record_1
100
+ 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]]
101
+ 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"]]
102
+ 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"]]
103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104
+ Processing by Yaw::WikiPageController#edit as HTML
105
+ Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"}
106
+ WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title4"], ["LIMIT", 1]]
107
+ 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]]
108
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki
109
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
110
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki (0.2ms)
111
+ Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.1ms)
112
+  (0.6ms) rollback transaction
113
+  (0.0ms) begin transaction
114
+  (0.0ms) commit transaction
115
+  (0.0ms) begin transaction
116
+  (0.1ms) SAVEPOINT active_record_1
117
+ 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"]]
118
+  (0.0ms) RELEASE SAVEPOINT active_record_1
119
+  (0.0ms) SAVEPOINT active_record_1
120
+ 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"]]
121
+  (0.0ms) RELEASE SAVEPOINT active_record_1
122
+  (0.0ms) SAVEPOINT active_record_1
123
+ 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]]
124
+ 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"]]
125
+ 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"]]
126
+  (0.1ms) RELEASE SAVEPOINT active_record_1
127
+ Processing by Yaw::WikiPageController#update as HTML
128
+ Parameters: {"wiki_page"=>{"body"=>"blah", "title"=>"new name"}, "wiki_space_id"=>"title5", "path"=>"path/to/page5"}
129
+ WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title5"], ["LIMIT", 1]]
130
+ 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]]
131
+  (0.0ms) SAVEPOINT active_record_1
132
+ 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"]]
133
+  (0.0ms) RELEASE SAVEPOINT active_record_1
134
+  (0.0ms) SAVEPOINT active_record_1
135
+ 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]]
136
+ 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"]]
137
+  (0.0ms) RELEASE SAVEPOINT active_record_1
138
+ Redirected to http://test.host/wiki/title5/wiki/path/to/page5
139
+ Completed 302 Found in 27ms (ActiveRecord: 0.5ms)
140
+ WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
141
+ 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]]
142
+ 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]]
143
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
144
+  (0.5ms) rollback transaction
145
+  (0.0ms) begin transaction
146
+  (0.0ms) commit transaction
147
+  (0.0ms) begin transaction
148
+  (0.0ms) SAVEPOINT active_record_1
149
+ 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"]]
150
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151
+  (0.0ms) SAVEPOINT active_record_1
152
+ 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"]]
153
+  (0.0ms) RELEASE SAVEPOINT active_record_1
154
+  (0.0ms) SAVEPOINT active_record_1
155
+ 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]]
156
+ 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"]]
157
+ 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"]]
158
+  (0.0ms) RELEASE SAVEPOINT active_record_1
159
+ Processing by Yaw::WikiPageController#create as HTML
160
+ Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"}
161
+ WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title6"], ["LIMIT", 1]]
162
+  (0.0ms) SAVEPOINT active_record_1
163
+ 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"]]
164
+  (0.1ms) RELEASE SAVEPOINT active_record_1
165
+  (0.0ms) SAVEPOINT active_record_1
166
+ 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]]
167
+ 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"]]
168
+ 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"]]
169
+  (0.0ms) RELEASE SAVEPOINT active_record_1
170
+ Redirected to http://test.host/wiki/title6/wiki/path
171
+ Completed 302 Found in 19ms (ActiveRecord: 0.6ms)
172
+ 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]]
173
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
174
+  (0.4ms) rollback transaction
175
+  (0.0ms) begin transaction
176
+  (0.0ms) commit transaction
177
+  (0.0ms) begin transaction
178
+  (0.0ms) SAVEPOINT active_record_1
179
+ 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"]]
180
+  (0.0ms) RELEASE SAVEPOINT active_record_1
181
+  (0.0ms) SAVEPOINT active_record_1
182
+ 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"]]
183
+  (0.0ms) RELEASE SAVEPOINT active_record_1
184
+  (0.0ms) SAVEPOINT active_record_1
185
+ 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]]
186
+ 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"]]
187
+ 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"]]
188
+  (0.0ms) RELEASE SAVEPOINT active_record_1
189
+ 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]]
190
+  (0.5ms) rollback transaction
191
+  (0.1ms) begin transaction
192
+  (0.0ms) commit transaction
193
+  (0.0ms) begin transaction
194
+  (0.0ms) SAVEPOINT active_record_1
195
+ 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"]]
196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
197
+  (0.0ms) SAVEPOINT active_record_1
198
+ 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"]]
199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
200
+  (0.0ms) SAVEPOINT active_record_1
201
+ 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]]
202
+ 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"]]
203
+ 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"]]
204
+  (0.0ms) RELEASE SAVEPOINT active_record_1
205
+  (0.6ms) rollback transaction
206
+  (0.0ms) begin transaction
207
+  (0.0ms) commit transaction
208
+  (0.0ms) begin transaction
209
+  (0.0ms) SAVEPOINT active_record_1
210
+ 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"]]
211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
212
+  (0.1ms) SAVEPOINT active_record_1
213
+ 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"]]
214
+  (0.1ms) RELEASE SAVEPOINT active_record_1
215
+  (0.0ms) SAVEPOINT active_record_1
216
+ 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]]
217
+ 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"]]
218
+ 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"]]
219
+  (0.0ms) RELEASE SAVEPOINT active_record_1
220
+ 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]]
221
+  (0.6ms) rollback transaction
222
+  (0.1ms) begin transaction
223
+  (0.0ms) commit transaction
224
+  (0.0ms) begin transaction
225
+  (0.0ms) SAVEPOINT active_record_1
226
+ 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"]]
227
+  (0.0ms) RELEASE SAVEPOINT active_record_1
228
+  (0.0ms) SAVEPOINT active_record_1
229
+ 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"]]
230
+  (0.0ms) RELEASE SAVEPOINT active_record_1
231
+  (0.0ms) SAVEPOINT active_record_1
232
+ 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]]
233
+ 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"]]
234
+ 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"]]
235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
236
+  (0.0ms) SAVEPOINT active_record_1
237
+ 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"]]
238
+  (0.0ms) RELEASE SAVEPOINT active_record_1
239
+  (0.1ms) SAVEPOINT active_record_1
240
+ 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]]
241
+ 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"]]
242
+ 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"]]
243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
244
+ 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]]
245
+  (0.6ms) rollback transaction
246
+  (0.0ms) begin transaction
247
+  (0.0ms) commit transaction
248
+  (0.0ms) begin transaction
249
+  (0.0ms) SAVEPOINT active_record_1
250
+ 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"]]
251
+  (0.1ms) RELEASE SAVEPOINT active_record_1
252
+  (0.0ms) SAVEPOINT active_record_1
253
+ 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"]]
254
+  (0.0ms) RELEASE SAVEPOINT active_record_1
255
+  (0.0ms) SAVEPOINT active_record_1
256
+ 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]]
257
+ 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"]]
258
+ 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"]]
259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
260
+  (0.0ms) SAVEPOINT active_record_1
261
+ 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"]]
262
+  (0.0ms) RELEASE SAVEPOINT active_record_1
263
+  (0.0ms) SAVEPOINT active_record_1
264
+ 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]]
265
+ 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"]]
266
+ 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"]]
267
+  (0.0ms) RELEASE SAVEPOINT active_record_1
268
+ 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]]
269
+  (0.6ms) rollback transaction
270
+  (0.0ms) begin transaction
271
+  (0.0ms) commit transaction
272
+  (0.0ms) begin transaction
273
+  (0.0ms) rollback transaction
274
+  (0.0ms) begin transaction
275
+  (0.0ms) commit transaction
276
+  (0.0ms) begin transaction
277
+  (0.1ms) rollback transaction
278
+  (0.1ms) begin transaction
279
+  (0.0ms) commit transaction
280
+  (0.0ms) begin transaction
281
+  (0.0ms) SAVEPOINT active_record_1
282
+ 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"]]
283
+  (0.0ms) RELEASE SAVEPOINT active_record_1
284
+  (0.0ms) SAVEPOINT active_record_1
285
+ 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"]]
286
+  (0.0ms) RELEASE SAVEPOINT active_record_1
287
+  (0.4ms) rollback transaction
288
+  (0.0ms) begin transaction
289
+  (0.0ms) commit transaction
290
+  (0.0ms) begin transaction
291
+  (0.0ms) SAVEPOINT active_record_1
292
+ 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"]]
293
+  (0.1ms) RELEASE SAVEPOINT active_record_1
294
+  (0.1ms) SAVEPOINT active_record_1
295
+ 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"]]
296
+  (0.0ms) RELEASE SAVEPOINT active_record_1
297
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"
298
+  (0.0ms) SAVEPOINT active_record_1
299
+ 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]]
300
+ 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"]]
301
+ 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"]]
302
+  (0.0ms) RELEASE SAVEPOINT active_record_1
303
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"
304
+  (0.6ms) rollback transaction
305
+  (0.1ms) begin transaction
306
+  (0.0ms) commit transaction
307
+  (0.0ms) begin transaction
308
+  (0.1ms) SAVEPOINT active_record_1
309
+ 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"]]
310
+  (0.1ms) RELEASE SAVEPOINT active_record_1
311
+  (0.0ms) SAVEPOINT active_record_1
312
+ 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"]]
313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
314
+  (0.4ms) rollback transaction
315
+  (0.1ms) begin transaction
316
+  (0.0ms) commit transaction
317
+  (0.0ms) begin transaction
318
+  (0.0ms) SAVEPOINT active_record_1
319
+ 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"]]
320
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321
+  (0.1ms) SAVEPOINT active_record_1
322
+ 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"]]
323
+  (0.0ms) RELEASE SAVEPOINT active_record_1
324
+  (0.5ms) rollback transaction
325
+  (0.0ms) begin transaction
326
+  (0.0ms) commit transaction
327
+  (0.1ms) begin transaction
328
+  (0.0ms) SAVEPOINT active_record_1
329
+ 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"]]
330
+  (0.0ms) RELEASE SAVEPOINT active_record_1
331
+  (0.0ms) SAVEPOINT active_record_1
332
+ 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"]]
333
+  (0.0ms) RELEASE SAVEPOINT active_record_1
334
+  (0.0ms) SAVEPOINT active_record_1
335
+ 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]]
336
+ 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"]]
337
+ 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"]]
338
+  (0.0ms) RELEASE SAVEPOINT active_record_1
339
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]
340
+  (0.0ms) SAVEPOINT active_record_1
341
+ 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]]
342
+ 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"]]
343
+  (0.1ms) RELEASE SAVEPOINT active_record_1
344
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]
345
+  (0.6ms) rollback transaction
346
+  (0.0ms) begin transaction
347
+  (0.0ms) commit transaction
348
+  (0.0ms) begin transaction
349
+  (0.0ms) SAVEPOINT active_record_1
350
+ 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"]]
351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352
+  (0.0ms) SAVEPOINT active_record_1
353
+ 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"]]
354
+  (0.1ms) RELEASE SAVEPOINT active_record_1
355
+  (0.0ms) SAVEPOINT active_record_1
356
+ 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]]
357
+ 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"]]
358
+ 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"]]
359
+  (0.0ms) RELEASE SAVEPOINT active_record_1
360
+  (0.0ms) SAVEPOINT active_record_1
361
+ 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"]]
362
+  (0.0ms) RELEASE SAVEPOINT active_record_1
363
+  (0.5ms) rollback transaction
364
+  (0.0ms) begin transaction
365
+  (0.0ms) commit transaction
366
+  (0.0ms) begin transaction
367
+  (0.0ms) SAVEPOINT active_record_1
368
+ 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"]]
369
+  (0.0ms) RELEASE SAVEPOINT active_record_1
370
+  (0.0ms) SAVEPOINT active_record_1
371
+ 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"]]
372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
373
+  (0.0ms) SAVEPOINT active_record_1
374
+ 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]]
375
+ 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"]]
376
+ 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"]]
377
+  (0.0ms) RELEASE SAVEPOINT active_record_1
378
+  (0.0ms) SAVEPOINT active_record_1
379
+ 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"]]
380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
381
+  (0.5ms) rollback transaction
382
+  (0.0ms) begin transaction
383
+  (0.0ms) commit transaction
384
+  (0.0ms) begin transaction
385
+  (0.0ms) SAVEPOINT active_record_1
386
+ 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"]]
387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
388
+  (0.0ms) SAVEPOINT active_record_1
389
+ 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"]]
390
+  (0.0ms) RELEASE SAVEPOINT active_record_1
391
+  (0.0ms) SAVEPOINT active_record_1
392
+ 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]]
393
+ 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"]]
394
+ 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"]]
395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
396
+  (0.0ms) SAVEPOINT active_record_1
397
+ 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"]]
398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
399
+  (0.5ms) rollback transaction
400
+  (0.0ms) begin transaction
401
+  (0.0ms) commit transaction
402
+  (0.0ms) begin transaction
403
+  (0.0ms) SAVEPOINT active_record_1
404
+ 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"]]
405
+  (0.0ms) RELEASE SAVEPOINT active_record_1
406
+  (0.0ms) SAVEPOINT active_record_1
407
+ 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"]]
408
+  (0.0ms) RELEASE SAVEPOINT active_record_1
409
+  (0.0ms) SAVEPOINT active_record_1
410
+ 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]]
411
+ 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"]]
412
+ 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"]]
413
+  (0.0ms) RELEASE SAVEPOINT active_record_1
414
+ 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]]
415
+  (0.6ms) rollback transaction
416
+  (0.0ms) begin transaction
417
+  (0.0ms) commit transaction
418
+  (0.0ms) begin transaction
419
+  (0.0ms) SAVEPOINT active_record_1
420
+ 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"]]
421
+  (0.0ms) RELEASE SAVEPOINT active_record_1
422
+  (0.0ms) SAVEPOINT active_record_1
423
+ 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"]]
424
+  (0.0ms) RELEASE SAVEPOINT active_record_1
425
+  (0.0ms) SAVEPOINT active_record_1
426
+ 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]]
427
+ 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"]]
428
+ 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"]]
429
+  (0.0ms) RELEASE SAVEPOINT active_record_1
430
+  (0.0ms) SAVEPOINT active_record_1
431
+ 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"]]
432
+  (0.0ms) RELEASE SAVEPOINT active_record_1
433
+  (0.1ms) SAVEPOINT active_record_1
434
+ 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"]]
435
+  (0.0ms) RELEASE SAVEPOINT active_record_1
436
+ 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]]
437
+  (0.6ms) rollback transaction
438
+  (0.0ms) begin transaction
439
+  (0.0ms) commit transaction
440
+  (0.0ms) begin transaction
441
+  (0.0ms) SAVEPOINT active_record_1
442
+ 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"]]
443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
444
+  (0.0ms) SAVEPOINT active_record_1
445
+ 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"]]
446
+  (0.0ms) RELEASE SAVEPOINT active_record_1
447
+  (0.1ms) SAVEPOINT active_record_1
448
+ 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]]
449
+ 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"]]
450
+ 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"]]
451
+  (0.0ms) RELEASE SAVEPOINT active_record_1
452
+  (0.0ms) SAVEPOINT active_record_1
453
+ 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"]]
454
+  (0.1ms) RELEASE SAVEPOINT active_record_1
455
+ 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]]
456
+  (0.5ms) rollback transaction
457
+  (0.1ms) begin transaction
458
+  (0.0ms) commit transaction
459
+  (0.0ms) begin transaction
460
+  (0.1ms) SAVEPOINT active_record_1
461
+ 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"]]
462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
463
+  (0.0ms) SAVEPOINT active_record_1
464
+ 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"]]
465
+  (0.0ms) RELEASE SAVEPOINT active_record_1
466
+  (0.0ms) SAVEPOINT active_record_1
467
+ 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]]
468
+ 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"]]
469
+ 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"]]
470
+  (0.0ms) RELEASE SAVEPOINT active_record_1
471
+  (0.0ms) SAVEPOINT active_record_1
472
+ 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"]]
473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
474
+  (0.0ms) SAVEPOINT active_record_1
475
+ 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"]]
476
+  (0.0ms) RELEASE SAVEPOINT active_record_1
477
+  (0.0ms) SAVEPOINT active_record_1
478
+ 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]]
479
+ 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"]]
480
+ 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"]]
481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
482
+ 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]]
483
+  (0.5ms) rollback transaction
484
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
485
+  (0.1ms) PRAGMA foreign_keys
486
+  (0.1ms) PRAGMA foreign_keys = OFF
487
+  (1.3ms) DELETE FROM "users";
488
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
489
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';
490
+  (2.1ms) DELETE FROM "wiki_page_revisions";
491
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
492
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';
493
+  (1.6ms) DELETE FROM "wiki_pages";
494
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
495
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';
496
+  (1.4ms) DELETE FROM "wiki_spaces";
497
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
498
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';
499
+  (1.4ms) DELETE FROM "ar_internal_metadata";
500
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
501
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
502
+  (0.0ms) PRAGMA foreign_keys = 1
503
+  (0.1ms) begin transaction
504
+  (0.0ms) commit transaction
505
+  (0.0ms) begin transaction
506
+  (0.1ms) SAVEPOINT active_record_1
507
+ 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"]]
508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
509
+  (0.0ms) SAVEPOINT active_record_1
510
+ 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"]]
511
+  (0.0ms) RELEASE SAVEPOINT active_record_1
512
+  (0.1ms) SAVEPOINT active_record_1
513
+ 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]]
514
+ 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"]]
515
+ 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"]]
516
+  (0.1ms) RELEASE SAVEPOINT active_record_1
517
+ Processing by Yaw::WikiPageController#show as HTML
518
+ Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"}
519
+ WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title1"], ["LIMIT", 1]]
520
+ 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]]
521
+ 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]]
522
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki
523
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
524
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki (0.2ms)
525
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
526
+ Completed 200 OK in 21ms (Views: 8.6ms | ActiveRecord: 0.3ms)
527
+  (0.6ms) rollback transaction
528
+  (0.0ms) begin transaction
529
+  (0.0ms) commit transaction
530
+  (0.0ms) begin transaction
531
+  (0.0ms) SAVEPOINT active_record_1
532
+ 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"]]
533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
534
+  (0.0ms) SAVEPOINT active_record_1
535
+ 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"]]
536
+  (0.0ms) RELEASE SAVEPOINT active_record_1
537
+  (0.0ms) SAVEPOINT active_record_1
538
+ 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]]
539
+ 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"]]
540
+ 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"]]
541
+  (0.0ms) RELEASE SAVEPOINT active_record_1
542
+ Processing by Yaw::WikiPageController#show as HTML
543
+ Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"}
544
+ WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title2"], ["LIMIT", 1]]
545
+ 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]]
546
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki
547
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
548
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.2ms)
549
+ Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.1ms)
550
+  (0.6ms) rollback transaction
551
+  (0.1ms) begin transaction
552
+  (0.0ms) commit transaction
553
+  (0.0ms) begin transaction
554
+  (0.0ms) SAVEPOINT active_record_1
555
+ 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"]]
556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
557
+  (0.0ms) SAVEPOINT active_record_1
558
+ 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"]]
559
+  (0.0ms) RELEASE SAVEPOINT active_record_1
560
+  (0.0ms) SAVEPOINT active_record_1
561
+ 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]]
562
+ 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"]]
563
+ 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"]]
564
+  (0.0ms) RELEASE SAVEPOINT active_record_1
565
+ Processing by Yaw::WikiPageController#show as HTML
566
+ Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"}
567
+ WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title3"], ["LIMIT", 1]]
568
+ 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]]
569
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki
570
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.1ms)
571
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.1ms)
572
+  (0.5ms) rollback transaction
573
+  (0.0ms) begin transaction
574
+  (0.0ms) commit transaction
575
+  (0.0ms) begin transaction
576
+  (0.1ms) SAVEPOINT active_record_1
577
+ 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"]]
578
+  (0.0ms) RELEASE SAVEPOINT active_record_1
579
+  (0.0ms) SAVEPOINT active_record_1
580
+ 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"]]
581
+  (0.0ms) RELEASE SAVEPOINT active_record_1
582
+  (0.0ms) SAVEPOINT active_record_1
583
+ 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]]
584
+ 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"]]
585
+ 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"]]
586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
587
+ Processing by Yaw::WikiPageController#edit as HTML
588
+ Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"}
589
+ WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title4"], ["LIMIT", 1]]
590
+ 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]]
591
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki
592
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
593
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki (0.2ms)
594
+ Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.1ms)
595
+  (0.4ms) rollback transaction
596
+  (0.0ms) begin transaction
597
+  (0.0ms) commit transaction
598
+  (0.0ms) begin transaction
599
+  (0.1ms) SAVEPOINT active_record_1
600
+ 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"]]
601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
602
+  (0.0ms) SAVEPOINT active_record_1
603
+ 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"]]
604
+  (0.1ms) RELEASE SAVEPOINT active_record_1
605
+  (0.0ms) SAVEPOINT active_record_1
606
+ 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]]
607
+ 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"]]
608
+ 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"]]
609
+  (0.0ms) RELEASE SAVEPOINT active_record_1
610
+ Processing by Yaw::WikiPageController#update as HTML
611
+ Parameters: {"wiki_page"=>{"body"=>"blah", "title"=>"new name"}, "wiki_space_id"=>"title5", "path"=>"path/to/page5"}
612
+ WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title5"], ["LIMIT", 1]]
613
+ 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]]
614
+  (0.1ms) SAVEPOINT active_record_1
615
+ 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"]]
616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
617
+  (0.1ms) SAVEPOINT active_record_1
618
+ 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]]
619
+ 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"]]
620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
621
+ Redirected to http://test.host/wiki/title5/wiki/path/to/page5
622
+ Completed 302 Found in 22ms (ActiveRecord: 0.6ms)
623
+ WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
624
+ 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]]
625
+ 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]]
626
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
627
+  (0.6ms) rollback transaction
628
+  (0.0ms) begin transaction
629
+  (0.0ms) commit transaction
630
+  (0.0ms) begin transaction
631
+  (0.0ms) SAVEPOINT active_record_1
632
+ 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"]]
633
+  (0.1ms) RELEASE SAVEPOINT active_record_1
634
+  (0.0ms) SAVEPOINT active_record_1
635
+ 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"]]
636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
637
+  (0.0ms) SAVEPOINT active_record_1
638
+ 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]]
639
+ 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"]]
640
+ 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"]]
641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
642
+ Processing by Yaw::WikiPageController#create as HTML
643
+ Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"}
644
+ WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title6"], ["LIMIT", 1]]
645
+  (0.0ms) SAVEPOINT active_record_1
646
+ 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"]]
647
+  (0.0ms) RELEASE SAVEPOINT active_record_1
648
+  (0.0ms) SAVEPOINT active_record_1
649
+ 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]]
650
+ 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"]]
651
+ 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"]]
652
+  (0.0ms) RELEASE SAVEPOINT active_record_1
653
+ Redirected to http://test.host/wiki/title6/wiki/path
654
+ Completed 302 Found in 20ms (ActiveRecord: 0.5ms)
655
+ 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]]
656
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
657
+  (0.6ms) rollback transaction
658
+  (0.0ms) begin transaction
659
+  (0.0ms) commit transaction
660
+  (0.0ms) begin transaction
661
+  (0.0ms) SAVEPOINT active_record_1
662
+ 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"]]
663
+  (0.0ms) RELEASE SAVEPOINT active_record_1
664
+  (0.0ms) SAVEPOINT active_record_1
665
+ 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"]]
666
+  (0.0ms) RELEASE SAVEPOINT active_record_1
667
+  (0.0ms) SAVEPOINT active_record_1
668
+ 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]]
669
+ 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"]]
670
+ 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"]]
671
+  (0.0ms) RELEASE SAVEPOINT active_record_1
672
+ 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]]
673
+  (0.6ms) rollback transaction
674
+  (0.0ms) begin transaction
675
+  (0.0ms) commit transaction
676
+  (0.0ms) begin transaction
677
+  (0.0ms) SAVEPOINT active_record_1
678
+ 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"]]
679
+  (0.0ms) RELEASE SAVEPOINT active_record_1
680
+  (0.0ms) SAVEPOINT active_record_1
681
+ 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"]]
682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
683
+  (0.0ms) SAVEPOINT active_record_1
684
+ 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]]
685
+ 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"]]
686
+ 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"]]
687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
688
+  (0.7ms) rollback transaction
689
+  (0.1ms) begin transaction
690
+  (0.1ms) commit transaction
691
+  (0.0ms) begin transaction
692
+  (0.1ms) SAVEPOINT active_record_1
693
+ 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"]]
694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
695
+  (0.0ms) SAVEPOINT active_record_1
696
+ 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"]]
697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
698
+  (0.1ms) SAVEPOINT active_record_1
699
+ 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]]
700
+ 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"]]
701
+ 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"]]
702
+  (0.0ms) RELEASE SAVEPOINT active_record_1
703
+ 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]]
704
+  (0.5ms) rollback transaction
705
+  (0.0ms) begin transaction
706
+  (0.0ms) commit transaction
707
+  (0.0ms) begin transaction
708
+  (0.1ms) SAVEPOINT active_record_1
709
+ 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"]]
710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
711
+  (0.0ms) SAVEPOINT active_record_1
712
+ 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"]]
713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
714
+  (0.0ms) SAVEPOINT active_record_1
715
+ 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]]
716
+ 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"]]
717
+ 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"]]
718
+  (0.1ms) RELEASE SAVEPOINT active_record_1
719
+  (0.1ms) SAVEPOINT active_record_1
720
+ 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"]]
721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
722
+  (0.0ms) SAVEPOINT active_record_1
723
+ 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]]
724
+ 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"]]
725
+ 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"]]
726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
727
+ 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]]
728
+  (0.6ms) rollback transaction
729
+  (0.1ms) begin transaction
730
+  (0.0ms) commit transaction
731
+  (0.0ms) begin transaction
732
+  (0.0ms) SAVEPOINT active_record_1
733
+ 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"]]
734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
735
+  (0.0ms) SAVEPOINT active_record_1
736
+ 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"]]
737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
738
+  (0.0ms) SAVEPOINT active_record_1
739
+ 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]]
740
+ 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"]]
741
+ 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"]]
742
+  (0.0ms) RELEASE SAVEPOINT active_record_1
743
+  (0.0ms) SAVEPOINT active_record_1
744
+ 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"]]
745
+  (0.0ms) RELEASE SAVEPOINT active_record_1
746
+  (0.0ms) SAVEPOINT active_record_1
747
+ 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]]
748
+ 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"]]
749
+ 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"]]
750
+  (0.0ms) RELEASE SAVEPOINT active_record_1
751
+ 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]]
752
+  (0.6ms) rollback transaction
753
+  (0.0ms) begin transaction
754
+  (0.0ms) commit transaction
755
+  (0.0ms) begin transaction
756
+  (0.0ms) rollback transaction
757
+  (0.0ms) begin transaction
758
+  (0.0ms) commit transaction
759
+  (0.0ms) begin transaction
760
+  (0.0ms) rollback transaction
761
+  (0.1ms) begin transaction
762
+  (0.0ms) commit transaction
763
+  (0.0ms) begin transaction
764
+  (0.1ms) SAVEPOINT active_record_1
765
+ 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"]]
766
+  (0.0ms) RELEASE SAVEPOINT active_record_1
767
+  (0.0ms) SAVEPOINT active_record_1
768
+ 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"]]
769
+  (0.0ms) RELEASE SAVEPOINT active_record_1
770
+  (0.4ms) rollback transaction
771
+  (0.0ms) begin transaction
772
+  (0.0ms) commit transaction
773
+  (0.0ms) begin transaction
774
+  (0.0ms) SAVEPOINT active_record_1
775
+ 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"]]
776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
777
+  (0.0ms) SAVEPOINT active_record_1
778
+ 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"]]
779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
780
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"
781
+  (0.0ms) SAVEPOINT active_record_1
782
+ 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]]
783
+ 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"]]
784
+ 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"]]
785
+  (0.0ms) RELEASE SAVEPOINT active_record_1
786
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"
787
+  (0.6ms) rollback transaction
788
+  (0.0ms) begin transaction
789
+  (0.0ms) commit transaction
790
+  (0.0ms) begin transaction
791
+  (0.0ms) SAVEPOINT active_record_1
792
+ 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"]]
793
+  (0.0ms) RELEASE SAVEPOINT active_record_1
794
+  (0.0ms) SAVEPOINT active_record_1
795
+ 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"]]
796
+  (0.1ms) RELEASE SAVEPOINT active_record_1
797
+  (0.5ms) rollback transaction
798
+  (0.0ms) begin transaction
799
+  (0.0ms) commit transaction
800
+  (0.0ms) begin transaction
801
+  (0.1ms) SAVEPOINT active_record_1
802
+ 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"]]
803
+  (0.0ms) RELEASE SAVEPOINT active_record_1
804
+  (0.0ms) SAVEPOINT active_record_1
805
+ 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"]]
806
+  (0.1ms) RELEASE SAVEPOINT active_record_1
807
+  (0.6ms) rollback transaction
808
+  (0.0ms) begin transaction
809
+  (0.0ms) commit transaction
810
+  (0.0ms) begin transaction
811
+  (0.1ms) SAVEPOINT active_record_1
812
+ 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"]]
813
+  (0.0ms) RELEASE SAVEPOINT active_record_1
814
+  (0.1ms) SAVEPOINT active_record_1
815
+ 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"]]
816
+  (0.0ms) RELEASE SAVEPOINT active_record_1
817
+  (0.0ms) SAVEPOINT active_record_1
818
+ 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]]
819
+ 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"]]
820
+ 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"]]
821
+  (0.0ms) RELEASE SAVEPOINT active_record_1
822
+  (0.2ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]
823
+  (0.0ms) SAVEPOINT active_record_1
824
+ 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]]
825
+ 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"]]
826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
827
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]
828
+  (0.6ms) rollback transaction
829
+  (0.1ms) begin transaction
830
+  (0.0ms) commit transaction
831
+  (0.0ms) begin transaction
832
+  (0.1ms) SAVEPOINT active_record_1
833
+ 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"]]
834
+  (0.0ms) RELEASE SAVEPOINT active_record_1
835
+  (0.1ms) SAVEPOINT active_record_1
836
+ 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"]]
837
+  (0.0ms) RELEASE SAVEPOINT active_record_1
838
+  (0.0ms) SAVEPOINT active_record_1
839
+ 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]]
840
+ 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"]]
841
+ 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"]]
842
+  (0.0ms) RELEASE SAVEPOINT active_record_1
843
+  (0.1ms) SAVEPOINT active_record_1
844
+ 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"]]
845
+  (0.0ms) RELEASE SAVEPOINT active_record_1
846
+  (0.5ms) rollback transaction
847
+  (0.0ms) begin transaction
848
+  (0.0ms) commit transaction
849
+  (0.0ms) begin transaction
850
+  (0.0ms) SAVEPOINT active_record_1
851
+ 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"]]
852
+  (0.0ms) RELEASE SAVEPOINT active_record_1
853
+  (0.0ms) SAVEPOINT active_record_1
854
+ 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"]]
855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
856
+  (0.1ms) SAVEPOINT active_record_1
857
+ 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]]
858
+ 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"]]
859
+ 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"]]
860
+  (0.0ms) RELEASE SAVEPOINT active_record_1
861
+  (0.0ms) SAVEPOINT active_record_1
862
+ 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"]]
863
+  (0.1ms) RELEASE SAVEPOINT active_record_1
864
+  (0.6ms) rollback transaction
865
+  (0.1ms) begin transaction
866
+  (0.0ms) commit transaction
867
+  (0.0ms) begin transaction
868
+  (0.0ms) SAVEPOINT active_record_1
869
+ 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"]]
870
+  (0.1ms) RELEASE SAVEPOINT active_record_1
871
+  (0.0ms) SAVEPOINT active_record_1
872
+ 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"]]
873
+  (0.0ms) RELEASE SAVEPOINT active_record_1
874
+  (0.0ms) SAVEPOINT active_record_1
875
+ 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]]
876
+ 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"]]
877
+ 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"]]
878
+  (0.0ms) RELEASE SAVEPOINT active_record_1
879
+  (0.0ms) SAVEPOINT active_record_1
880
+ 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"]]
881
+  (0.0ms) RELEASE SAVEPOINT active_record_1
882
+  (0.6ms) rollback transaction
883
+  (0.1ms) begin transaction
884
+  (0.0ms) commit transaction
885
+  (0.0ms) begin transaction
886
+  (0.0ms) SAVEPOINT active_record_1
887
+ 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"]]
888
+  (0.0ms) RELEASE SAVEPOINT active_record_1
889
+  (0.0ms) SAVEPOINT active_record_1
890
+ 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"]]
891
+  (0.1ms) RELEASE SAVEPOINT active_record_1
892
+  (0.1ms) SAVEPOINT active_record_1
893
+ 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]]
894
+ 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"]]
895
+ 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"]]
896
+  (0.0ms) RELEASE SAVEPOINT active_record_1
897
+ 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]]
898
+  (0.6ms) rollback transaction
899
+  (0.0ms) begin transaction
900
+  (0.0ms) commit transaction
901
+  (0.0ms) begin transaction
902
+  (0.0ms) SAVEPOINT active_record_1
903
+ 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"]]
904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
905
+  (0.0ms) SAVEPOINT active_record_1
906
+ 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"]]
907
+  (0.1ms) RELEASE SAVEPOINT active_record_1
908
+  (0.0ms) SAVEPOINT active_record_1
909
+ 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]]
910
+ 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"]]
911
+ 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"]]
912
+  (0.0ms) RELEASE SAVEPOINT active_record_1
913
+  (0.0ms) SAVEPOINT active_record_1
914
+ 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"]]
915
+  (0.0ms) RELEASE SAVEPOINT active_record_1
916
+  (0.0ms) SAVEPOINT active_record_1
917
+ 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"]]
918
+  (0.0ms) RELEASE SAVEPOINT active_record_1
919
+ 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]]
920
+  (0.6ms) rollback transaction
921
+  (0.1ms) begin transaction
922
+  (0.0ms) commit transaction
923
+  (0.1ms) begin transaction
924
+  (0.1ms) SAVEPOINT active_record_1
925
+ 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"]]
926
+  (0.0ms) RELEASE SAVEPOINT active_record_1
927
+  (0.0ms) SAVEPOINT active_record_1
928
+ 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"]]
929
+  (0.0ms) RELEASE SAVEPOINT active_record_1
930
+  (0.1ms) SAVEPOINT active_record_1
931
+ 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]]
932
+ 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"]]
933
+ 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"]]
934
+  (0.0ms) RELEASE SAVEPOINT active_record_1
935
+  (0.0ms) SAVEPOINT active_record_1
936
+ 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"]]
937
+  (0.0ms) RELEASE SAVEPOINT active_record_1
938
+ 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]]
939
+  (0.6ms) rollback transaction
940
+  (0.0ms) begin transaction
941
+  (0.0ms) commit transaction
942
+  (0.0ms) begin transaction
943
+  (0.1ms) SAVEPOINT active_record_1
944
+ 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"]]
945
+  (0.0ms) RELEASE SAVEPOINT active_record_1
946
+  (0.0ms) SAVEPOINT active_record_1
947
+ 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"]]
948
+  (0.0ms) RELEASE SAVEPOINT active_record_1
949
+  (0.0ms) SAVEPOINT active_record_1
950
+ 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]]
951
+ 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"]]
952
+ 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"]]
953
+  (0.0ms) RELEASE SAVEPOINT active_record_1
954
+  (0.0ms) SAVEPOINT active_record_1
955
+ 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"]]
956
+  (0.1ms) RELEASE SAVEPOINT active_record_1
957
+  (0.0ms) SAVEPOINT active_record_1
958
+ 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"]]
959
+  (0.1ms) RELEASE SAVEPOINT active_record_1
960
+  (0.1ms) SAVEPOINT active_record_1
961
+ 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]]
962
+ 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"]]
963
+ 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"]]
964
+  (0.0ms) RELEASE SAVEPOINT active_record_1
965
+ 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]]
966
+  (0.6ms) rollback transaction
967
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
968
+  (0.1ms) PRAGMA foreign_keys
969
+  (0.0ms) PRAGMA foreign_keys = OFF
970
+  (1.1ms) DELETE FROM "users";
971
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
972
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';
973
+  (1.3ms) DELETE FROM "wiki_page_revisions";
974
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
975
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';
976
+  (1.1ms) DELETE FROM "wiki_pages";
977
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
978
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';
979
+  (0.9ms) DELETE FROM "wiki_spaces";
980
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
981
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';
982
+  (1.0ms) DELETE FROM "ar_internal_metadata";
983
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
984
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
985
+  (0.0ms) PRAGMA foreign_keys = 1
986
+  (0.1ms) begin transaction
987
+  (0.0ms) commit transaction
988
+  (0.0ms) begin transaction
989
+  (0.0ms) SAVEPOINT active_record_1
990
+ 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"]]
991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
992
+  (0.1ms) SAVEPOINT active_record_1
993
+ 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"]]
994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
995
+  (0.1ms) SAVEPOINT active_record_1
996
+ 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]]
997
+ 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"]]
998
+ 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"]]
999
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1000
+ Processing by Yaw::WikiPageController#show as HTML
1001
+ Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"}
1002
+ WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title1"], ["LIMIT", 1]]
1003
+ 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]]
1004
+ 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]]
1005
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki
1006
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1007
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki (0.2ms)
1008
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1009
+ Completed 200 OK in 22ms (Views: 10.1ms | ActiveRecord: 0.3ms)
1010
+  (0.6ms) rollback transaction
1011
+  (0.0ms) begin transaction
1012
+  (0.0ms) commit transaction
1013
+  (0.0ms) begin transaction
1014
+  (0.0ms) SAVEPOINT active_record_1
1015
+ 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"]]
1016
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1017
+  (0.0ms) SAVEPOINT active_record_1
1018
+ 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"]]
1019
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1020
+  (0.0ms) SAVEPOINT active_record_1
1021
+ 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]]
1022
+ 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"]]
1023
+ 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"]]
1024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1025
+ Processing by Yaw::WikiPageController#show as HTML
1026
+ Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"}
1027
+ WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title2"], ["LIMIT", 1]]
1028
+ 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]]
1029
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki
1030
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1031
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.2ms)
1032
+ Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.1ms)
1033
+  (0.6ms) rollback transaction
1034
+  (0.0ms) begin transaction
1035
+  (0.0ms) commit transaction
1036
+  (0.0ms) begin transaction
1037
+  (0.0ms) SAVEPOINT active_record_1
1038
+ 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"]]
1039
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1040
+  (0.0ms) SAVEPOINT active_record_1
1041
+ 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"]]
1042
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1043
+  (0.0ms) SAVEPOINT active_record_1
1044
+ 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]]
1045
+ 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"]]
1046
+ 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"]]
1047
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1048
+ Processing by Yaw::WikiPageController#show as HTML
1049
+ Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"}
1050
+ WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title3"], ["LIMIT", 1]]
1051
+ 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]]
1052
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki
1053
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.0ms)
1054
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1055
+  (0.6ms) rollback transaction
1056
+  (0.1ms) begin transaction
1057
+  (0.0ms) commit transaction
1058
+  (0.0ms) begin transaction
1059
+  (0.1ms) SAVEPOINT active_record_1
1060
+ 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"]]
1061
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1062
+  (0.0ms) SAVEPOINT active_record_1
1063
+ 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"]]
1064
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1065
+  (0.0ms) SAVEPOINT active_record_1
1066
+ 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]]
1067
+ 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"]]
1068
+ 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"]]
1069
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1070
+ Processing by Yaw::WikiPageController#edit as HTML
1071
+ Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"}
1072
+ WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title4"], ["LIMIT", 1]]
1073
+ 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]]
1074
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki
1075
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1076
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki (0.2ms)
1077
+ Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.1ms)
1078
+  (0.6ms) rollback transaction
1079
+  (0.1ms) begin transaction
1080
+  (0.0ms) commit transaction
1081
+  (0.0ms) begin transaction
1082
+  (0.1ms) SAVEPOINT active_record_1
1083
+ 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"]]
1084
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1085
+  (0.0ms) SAVEPOINT active_record_1
1086
+ 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"]]
1087
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1088
+  (0.0ms) SAVEPOINT active_record_1
1089
+ 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]]
1090
+ 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"]]
1091
+ 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"]]
1092
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1093
+ Processing by Yaw::WikiPageController#update as HTML
1094
+ Parameters: {"wiki_page"=>{"body"=>"blah", "title"=>"new name"}, "wiki_space_id"=>"title5", "path"=>"path/to/page5"}
1095
+ WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title5"], ["LIMIT", 1]]
1096
+ 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]]
1097
+  (0.1ms) SAVEPOINT active_record_1
1098
+ 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"]]
1099
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1100
+  (0.0ms) SAVEPOINT active_record_1
1101
+ 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]]
1102
+ 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"]]
1103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1104
+ Redirected to http://test.host/wiki/title5/wiki/path/to/page5
1105
+ Completed 302 Found in 25ms (ActiveRecord: 0.6ms)
1106
+ WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1107
+ 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]]
1108
+ 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]]
1109
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
1110
+  (0.5ms) rollback transaction
1111
+  (0.0ms) begin transaction
1112
+  (0.0ms) commit transaction
1113
+  (0.0ms) begin transaction
1114
+  (0.0ms) SAVEPOINT active_record_1
1115
+ 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"]]
1116
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1117
+  (0.0ms) SAVEPOINT active_record_1
1118
+ 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"]]
1119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1120
+  (0.0ms) SAVEPOINT active_record_1
1121
+ 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]]
1122
+ 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"]]
1123
+ 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"]]
1124
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1125
+ Processing by Yaw::WikiPageController#create as HTML
1126
+ Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"}
1127
+ WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title6"], ["LIMIT", 1]]
1128
+  (0.0ms) SAVEPOINT active_record_1
1129
+ 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"]]
1130
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1131
+  (0.0ms) SAVEPOINT active_record_1
1132
+ 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]]
1133
+ 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"]]
1134
+ 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"]]
1135
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1136
+ Redirected to http://test.host/wiki/title6/wiki/path
1137
+ Completed 302 Found in 20ms (ActiveRecord: 0.7ms)
1138
+ 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]]
1139
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
1140
+  (0.5ms) rollback transaction
1141
+  (0.1ms) begin transaction
1142
+  (0.0ms) commit transaction
1143
+  (0.0ms) begin transaction
1144
+  (0.0ms) SAVEPOINT active_record_1
1145
+ 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"]]
1146
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1147
+  (0.0ms) SAVEPOINT active_record_1
1148
+ 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"]]
1149
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1150
+  (0.0ms) SAVEPOINT active_record_1
1151
+ 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]]
1152
+ 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"]]
1153
+ 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"]]
1154
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1155
+ 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]]
1156
+  (0.6ms) rollback transaction
1157
+  (0.0ms) begin transaction
1158
+  (0.0ms) commit transaction
1159
+  (0.0ms) begin transaction
1160
+  (0.1ms) SAVEPOINT active_record_1
1161
+ 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"]]
1162
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1163
+  (0.0ms) SAVEPOINT active_record_1
1164
+ 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"]]
1165
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1166
+  (0.0ms) SAVEPOINT active_record_1
1167
+ 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]]
1168
+ 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"]]
1169
+ 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"]]
1170
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1171
+ 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]]
1172
+  (0.6ms) rollback transaction
1173
+  (0.1ms) begin transaction
1174
+  (0.0ms) commit transaction
1175
+  (0.0ms) begin transaction
1176
+  (0.0ms) SAVEPOINT active_record_1
1177
+ 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"]]
1178
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1179
+  (0.0ms) SAVEPOINT active_record_1
1180
+ 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"]]
1181
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1182
+  (0.0ms) SAVEPOINT active_record_1
1183
+ 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]]
1184
+ 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"]]
1185
+ 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"]]
1186
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1187
+ 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]]
1188
+  (0.5ms) rollback transaction
1189
+  (0.0ms) begin transaction
1190
+  (0.0ms) commit transaction
1191
+  (0.0ms) begin transaction
1192
+  (0.0ms) SAVEPOINT active_record_1
1193
+ 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"]]
1194
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1195
+  (0.0ms) SAVEPOINT active_record_1
1196
+ 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"]]
1197
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1198
+  (0.0ms) SAVEPOINT active_record_1
1199
+ 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]]
1200
+ 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"]]
1201
+ 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"]]
1202
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1203
+  (0.0ms) SAVEPOINT active_record_1
1204
+ 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"]]
1205
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1206
+  (0.0ms) SAVEPOINT active_record_1
1207
+ 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]]
1208
+ 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"]]
1209
+ 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"]]
1210
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1211
+ 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]]
1212
+  (0.7ms) rollback transaction
1213
+  (0.0ms) begin transaction
1214
+  (0.0ms) commit transaction
1215
+  (0.0ms) begin transaction
1216
+  (0.0ms) SAVEPOINT active_record_1
1217
+ 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"]]
1218
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1219
+  (0.0ms) SAVEPOINT active_record_1
1220
+ 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"]]
1221
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1222
+  (0.0ms) SAVEPOINT active_record_1
1223
+ 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]]
1224
+ 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"]]
1225
+ 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"]]
1226
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1227
+  (0.0ms) SAVEPOINT active_record_1
1228
+ 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"]]
1229
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1230
+  (0.1ms) SAVEPOINT active_record_1
1231
+ 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]]
1232
+ 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"]]
1233
+ 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"]]
1234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1235
+ 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]]
1236
+  (0.6ms) rollback transaction
1237
+  (0.0ms) begin transaction
1238
+  (0.0ms) commit transaction
1239
+  (0.0ms) begin transaction
1240
+  (0.0ms) rollback transaction
1241
+  (0.0ms) begin transaction
1242
+  (0.0ms) commit transaction
1243
+  (0.0ms) begin transaction
1244
+  (0.0ms) rollback transaction
1245
+  (0.0ms) begin transaction
1246
+  (0.0ms) commit transaction
1247
+  (0.0ms) begin transaction
1248
+  (0.0ms) SAVEPOINT active_record_1
1249
+ 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"]]
1250
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1251
+  (0.1ms) SAVEPOINT active_record_1
1252
+ 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"]]
1253
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1254
+  (0.6ms) rollback transaction
1255
+  (0.0ms) begin transaction
1256
+  (0.0ms) commit transaction
1257
+  (0.0ms) begin transaction
1258
+  (0.0ms) SAVEPOINT active_record_1
1259
+ 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"]]
1260
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1261
+  (0.0ms) SAVEPOINT active_record_1
1262
+ 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"]]
1263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1264
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"
1265
+  (0.0ms) SAVEPOINT active_record_1
1266
+ 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]]
1267
+ 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"]]
1268
+ 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"]]
1269
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1270
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"
1271
+  (0.5ms) rollback transaction
1272
+  (0.0ms) begin transaction
1273
+  (0.0ms) commit transaction
1274
+  (0.0ms) begin transaction
1275
+  (0.0ms) SAVEPOINT active_record_1
1276
+ 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"]]
1277
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1278
+  (0.0ms) SAVEPOINT active_record_1
1279
+ 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"]]
1280
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1281
+  (0.4ms) rollback transaction
1282
+  (0.0ms) begin transaction
1283
+  (0.0ms) commit transaction
1284
+  (0.0ms) begin transaction
1285
+  (0.0ms) SAVEPOINT active_record_1
1286
+ 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"]]
1287
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1288
+  (0.0ms) SAVEPOINT active_record_1
1289
+ 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"]]
1290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1291
+  (0.4ms) rollback transaction
1292
+  (0.0ms) begin transaction
1293
+  (0.0ms) commit transaction
1294
+  (0.0ms) begin transaction
1295
+  (0.1ms) SAVEPOINT active_record_1
1296
+ 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"]]
1297
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1298
+  (0.0ms) SAVEPOINT active_record_1
1299
+ 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"]]
1300
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1301
+  (0.0ms) SAVEPOINT active_record_1
1302
+ 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]]
1303
+ 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"]]
1304
+ 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"]]
1305
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1306
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]
1307
+  (0.0ms) SAVEPOINT active_record_1
1308
+ 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]]
1309
+ 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"]]
1310
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1311
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]
1312
+  (0.6ms) rollback transaction
1313
+  (0.0ms) begin transaction
1314
+  (0.0ms) commit transaction
1315
+  (0.0ms) begin transaction
1316
+  (0.0ms) SAVEPOINT active_record_1
1317
+ 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"]]
1318
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1319
+  (0.0ms) SAVEPOINT active_record_1
1320
+ 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"]]
1321
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1322
+  (0.0ms) SAVEPOINT active_record_1
1323
+ 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]]
1324
+ 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"]]
1325
+ 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"]]
1326
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1327
+  (0.0ms) SAVEPOINT active_record_1
1328
+ 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"]]
1329
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1330
+  (0.5ms) rollback transaction
1331
+  (0.0ms) begin transaction
1332
+  (0.0ms) commit transaction
1333
+  (0.0ms) begin transaction
1334
+  (0.0ms) SAVEPOINT active_record_1
1335
+ 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"]]
1336
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1337
+  (0.0ms) SAVEPOINT active_record_1
1338
+ 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"]]
1339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1340
+  (0.0ms) SAVEPOINT active_record_1
1341
+ 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]]
1342
+ 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"]]
1343
+ 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"]]
1344
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1345
+  (0.0ms) SAVEPOINT active_record_1
1346
+ 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"]]
1347
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1348
+  (0.6ms) rollback transaction
1349
+  (0.0ms) begin transaction
1350
+  (0.0ms) commit transaction
1351
+  (0.0ms) begin transaction
1352
+  (0.0ms) SAVEPOINT active_record_1
1353
+ 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"]]
1354
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1355
+  (0.0ms) SAVEPOINT active_record_1
1356
+ 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"]]
1357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1358
+  (0.0ms) SAVEPOINT active_record_1
1359
+ 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]]
1360
+ 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"]]
1361
+ 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"]]
1362
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1363
+  (0.1ms) SAVEPOINT active_record_1
1364
+ 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"]]
1365
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1366
+  (0.6ms) rollback transaction
1367
+  (0.0ms) begin transaction
1368
+  (0.0ms) commit transaction
1369
+  (0.0ms) begin transaction
1370
+  (0.0ms) SAVEPOINT active_record_1
1371
+ 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"]]
1372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1373
+  (0.0ms) SAVEPOINT active_record_1
1374
+ 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"]]
1375
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1376
+  (0.1ms) SAVEPOINT active_record_1
1377
+ 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]]
1378
+ 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"]]
1379
+ 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"]]
1380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1381
+ 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]]
1382
+  (0.6ms) rollback transaction
1383
+  (0.0ms) begin transaction
1384
+  (0.0ms) commit transaction
1385
+  (0.0ms) begin transaction
1386
+  (0.1ms) SAVEPOINT active_record_1
1387
+ 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"]]
1388
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1389
+  (0.0ms) SAVEPOINT active_record_1
1390
+ 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"]]
1391
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1392
+  (0.0ms) SAVEPOINT active_record_1
1393
+ 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]]
1394
+ 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"]]
1395
+ 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"]]
1396
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1397
+  (0.0ms) SAVEPOINT active_record_1
1398
+ 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"]]
1399
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1400
+  (0.0ms) SAVEPOINT active_record_1
1401
+ 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"]]
1402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1403
+ 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]]
1404
+  (0.6ms) rollback transaction
1405
+  (0.0ms) begin transaction
1406
+  (0.0ms) commit transaction
1407
+  (0.0ms) begin transaction
1408
+  (0.0ms) SAVEPOINT active_record_1
1409
+ 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"]]
1410
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1411
+  (0.1ms) SAVEPOINT active_record_1
1412
+ 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"]]
1413
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1414
+  (0.0ms) SAVEPOINT active_record_1
1415
+ 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]]
1416
+ 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"]]
1417
+ 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"]]
1418
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1419
+  (0.0ms) SAVEPOINT active_record_1
1420
+ 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"]]
1421
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1422
+ 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]]
1423
+  (0.6ms) rollback transaction
1424
+  (0.1ms) begin transaction
1425
+  (0.0ms) commit transaction
1426
+  (0.0ms) begin transaction
1427
+  (0.1ms) SAVEPOINT active_record_1
1428
+ 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"]]
1429
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1430
+  (0.1ms) SAVEPOINT active_record_1
1431
+ 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"]]
1432
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1433
+  (0.0ms) SAVEPOINT active_record_1
1434
+ 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]]
1435
+ 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"]]
1436
+ 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"]]
1437
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1438
+  (0.0ms) SAVEPOINT active_record_1
1439
+ 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"]]
1440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1441
+  (0.0ms) SAVEPOINT active_record_1
1442
+ 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"]]
1443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1444
+  (0.0ms) SAVEPOINT active_record_1
1445
+ 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]]
1446
+ 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"]]
1447
+ 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"]]
1448
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1449
+ 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]]
1450
+  (0.6ms) rollback transaction