yaw 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 54982ee864ddff612ec93c72046f930e0a5e18a2
4
- data.tar.gz: 6d8e17cd90368566ad012360d24e7c6b5c58a7ef
3
+ metadata.gz: a71b9162ea745801d0b2238108396c7631dd561a
4
+ data.tar.gz: 6f4ae32811a06b5e56743fba90da5503269a316f
5
5
  SHA512:
6
- metadata.gz: 4736f51108702169e8a07db58acf077b711488f179a1fd2725988276f00ac400bcf8d782b174cb8e8f5090439352901abff427c654db4c567986ac79baa104d6
7
- data.tar.gz: 9e5b602c90e7b6cdefb6eb1d476b0465fd31f2f2be88f724442e720c053f7a89e63c2bc1f0b80830264ceb9db3739b296344b1b3acf653f3d45f2a293fc4714a
6
+ metadata.gz: 7d879cda0e5a564c68fee41b3f184989701e02ebbf2db5ede99d4d58fc055567f8cb85f1476f289a9958c4417362d6a2f355592bfc80897b01f76f0790abe360
7
+ data.tar.gz: f51b26777426131bfb0cf9d05cdce554e1ea00a235e283a189cc3387d00828969b15e97719d770578ad80f13682e7cacb86dde1d27e6c90618ee47281d0ad789
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Yaw
4
+ class WikiPageDecorator < Draper::Decorator
5
+ delegate_all
6
+
7
+ def render_body
8
+ # rubocop:disable all
9
+ link_reg = /\[\[([^\]]+)\]\]/
10
+ body.gsub(link_reg) do |match|
11
+ matched = match[link_reg, 1]
12
+ options = { class: 'internal' }
13
+ options[:class] = 'absent' if find_sibling(matched).blank?
14
+ h.link_to matched, h.yaw.wiki_space_wiki_page_path(wiki_space, matched), options
15
+ end.html_safe
16
+ # rubocop:enable all
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Yaw
4
+ class WikiPage < ApplicationRecord
5
+ self.table_name = 'wiki_pages'
6
+ delegate :title=, :body=, :user=, to: :dirty_revision
7
+ after_save :reset_dirty_revision
8
+ belongs_to :wiki_space, required: true, inverse_of: :wiki_pages
9
+ validates :path, uniqueness: { scope: :wiki_space_id }
10
+ has_many :wiki_page_revisions,
11
+ -> { order id: :desc },
12
+ autosave: true,
13
+ inverse_of: :wiki_page
14
+
15
+ def current_revision
16
+ @dirty_revision || wiki_page_revisions.first
17
+ end
18
+
19
+ def to_param
20
+ path
21
+ end
22
+
23
+ delegate :body, to: :current_revision, allow_nil: true
24
+ def title
25
+ current_revision&.title || path&.split('/')&.last
26
+ end
27
+
28
+ delegate :render_body, to: :decorate
29
+
30
+ def find_sibling(path)
31
+ wiki_space.wiki_pages.find_by(path: path)
32
+ end
33
+
34
+ private
35
+
36
+ def dirty_revision
37
+ @dirty_revision ||= wiki_page_revisions.build
38
+ end
39
+
40
+ def reset_dirty_revision
41
+ @dirty_revision = nil
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Yaw
4
+ class WikiPageRevision < ApplicationRecord
5
+ self.table_name = 'wiki_page_revisions'
6
+ belongs_to :user
7
+ belongs_to :wiki_page, inverse_of: :wiki_page_revisions
8
+ end
9
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Yaw
4
+ class WikiSpace < ApplicationRecord
5
+ self.table_name = 'wiki_spaces'
6
+ has_many :wiki_pages, inverse_of: :wiki_space, dependent: :destroy
7
+ def to_param
8
+ title
9
+ end
10
+ end
11
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Yaw
4
- VERSION = '0.0.1'
4
+ VERSION = '0.0.2'
5
5
  end
Binary file
@@ -1448,3 +1448,2193 @@ Completed 302 Found in 20ms (ActiveRecord: 0.7ms)
1448
1448
   (0.1ms) RELEASE SAVEPOINT active_record_1
1449
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
1450
   (0.6ms) rollback transaction
1451
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1452
+  (0.1ms) PRAGMA foreign_keys
1453
+  (0.0ms) PRAGMA foreign_keys = OFF
1454
+  (2.5ms) DELETE FROM "users";
1455
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1456
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';
1457
+  (2.0ms) DELETE FROM "wiki_page_revisions";
1458
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1459
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';
1460
+  (2.6ms) DELETE FROM "wiki_pages";
1461
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1462
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';
1463
+  (1.3ms) DELETE FROM "wiki_spaces";
1464
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1465
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';
1466
+  (1.5ms) DELETE FROM "ar_internal_metadata";
1467
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1468
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1469
+  (0.0ms) PRAGMA foreign_keys = 1
1470
+  (0.0ms) begin transaction
1471
+  (0.0ms) commit transaction
1472
+  (0.0ms) begin transaction
1473
+  (0.1ms) SAVEPOINT active_record_1
1474
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title1"], ["created_at", "2018-05-23 08:11:02.404034"], ["updated_at", "2018-05-23 08:11:02.404034"]]
1475
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1476
+  (0.0ms) SAVEPOINT active_record_1
1477
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.415083"], ["updated_at", "2018-05-23 08:11:02.415083"]]
1478
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1479
+  (0.1ms) SAVEPOINT active_record_1
1480
+ 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]]
1481
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page1"], ["created_at", "2018-05-23 08:11:02.437734"], ["updated_at", "2018-05-23 08:11:02.437734"]]
1482
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.438581"], ["updated_at", "2018-05-23 08:11:02.438581"]]
1483
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1484
+ Processing by Yaw::WikiPageController#show as HTML
1485
+ Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"}
1486
+ WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title1"], ["LIMIT", 1]]
1487
+ 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]]
1488
+ 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]]
1489
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki
1490
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1491
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki (0.3ms)
1492
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1493
+ Completed 200 OK in 19ms (Views: 9.4ms | ActiveRecord: 0.3ms)
1494
+  (0.6ms) rollback transaction
1495
+  (0.0ms) begin transaction
1496
+  (0.0ms) commit transaction
1497
+  (0.0ms) begin transaction
1498
+  (0.1ms) SAVEPOINT active_record_1
1499
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title2"], ["created_at", "2018-05-23 08:11:02.464482"], ["updated_at", "2018-05-23 08:11:02.464482"]]
1500
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1501
+  (0.1ms) SAVEPOINT active_record_1
1502
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.465816"], ["updated_at", "2018-05-23 08:11:02.465816"]]
1503
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1504
+  (0.0ms) SAVEPOINT active_record_1
1505
+ 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]]
1506
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page2"], ["created_at", "2018-05-23 08:11:02.467851"], ["updated_at", "2018-05-23 08:11:02.467851"]]
1507
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.468574"], ["updated_at", "2018-05-23 08:11:02.468574"]]
1508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1509
+ Processing by Yaw::WikiPageController#show as HTML
1510
+ Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"}
1511
+ WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title2"], ["LIMIT", 1]]
1512
+ 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]]
1513
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki
1514
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1515
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.3ms)
1516
+ Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.1ms)
1517
+  (0.6ms) rollback transaction
1518
+  (0.1ms) begin transaction
1519
+  (0.0ms) commit transaction
1520
+  (0.0ms) begin transaction
1521
+  (0.0ms) SAVEPOINT active_record_1
1522
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title3"], ["created_at", "2018-05-23 08:11:02.480333"], ["updated_at", "2018-05-23 08:11:02.480333"]]
1523
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1524
+  (0.0ms) SAVEPOINT active_record_1
1525
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.481619"], ["updated_at", "2018-05-23 08:11:02.481619"]]
1526
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1527
+  (0.0ms) SAVEPOINT active_record_1
1528
+ 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]]
1529
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page3"], ["created_at", "2018-05-23 08:11:02.483626"], ["updated_at", "2018-05-23 08:11:02.483626"]]
1530
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.484423"], ["updated_at", "2018-05-23 08:11:02.484423"]]
1531
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1532
+ Processing by Yaw::WikiPageController#show as HTML
1533
+ Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"}
1534
+ WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title3"], ["LIMIT", 1]]
1535
+ 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]]
1536
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki
1537
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.0ms)
1538
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
1539
+  (0.6ms) rollback transaction
1540
+  (0.0ms) begin transaction
1541
+  (0.0ms) commit transaction
1542
+  (0.0ms) begin transaction
1543
+  (0.0ms) SAVEPOINT active_record_1
1544
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title4"], ["created_at", "2018-05-23 08:11:02.491099"], ["updated_at", "2018-05-23 08:11:02.491099"]]
1545
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1546
+  (0.0ms) SAVEPOINT active_record_1
1547
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.492382"], ["updated_at", "2018-05-23 08:11:02.492382"]]
1548
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1549
+  (0.0ms) SAVEPOINT active_record_1
1550
+ 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]]
1551
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page4"], ["created_at", "2018-05-23 08:11:02.494553"], ["updated_at", "2018-05-23 08:11:02.494553"]]
1552
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.495288"], ["updated_at", "2018-05-23 08:11:02.495288"]]
1553
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1554
+ Processing by Yaw::WikiPageController#edit as HTML
1555
+ Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"}
1556
+ WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title4"], ["LIMIT", 1]]
1557
+ 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]]
1558
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki
1559
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1560
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki (0.2ms)
1561
+ Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.1ms)
1562
+  (0.5ms) rollback transaction
1563
+  (0.0ms) begin transaction
1564
+  (0.0ms) commit transaction
1565
+  (0.0ms) begin transaction
1566
+  (0.1ms) SAVEPOINT active_record_1
1567
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title5"], ["created_at", "2018-05-23 08:11:02.520531"], ["updated_at", "2018-05-23 08:11:02.520531"]]
1568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1569
+  (0.0ms) SAVEPOINT active_record_1
1570
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.521921"], ["updated_at", "2018-05-23 08:11:02.521921"]]
1571
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1572
+  (0.0ms) SAVEPOINT active_record_1
1573
+ 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]]
1574
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page5"], ["created_at", "2018-05-23 08:11:02.523877"], ["updated_at", "2018-05-23 08:11:02.523877"]]
1575
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.524562"], ["updated_at", "2018-05-23 08:11:02.524562"]]
1576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1577
+ Processing by Yaw::WikiPageController#update as HTML
1578
+ Parameters: {"wiki_page"=>{"body"=>"blah", "title"=>"new name"}, "wiki_space_id"=>"title5", "path"=>"path/to/page5"}
1579
+ WikiSpace Load (0.2ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title5"], ["LIMIT", 1]]
1580
+ 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]]
1581
+  (0.0ms) SAVEPOINT active_record_1
1582
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.533807"], ["updated_at", "2018-05-23 08:11:02.533807"]]
1583
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1584
+  (0.0ms) SAVEPOINT active_record_1
1585
+ 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]]
1586
+ WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 1], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:11:02.536389"], ["updated_at", "2018-05-23 08:11:02.536389"]]
1587
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1588
+ Redirected to http://test.host/wiki/title5/wiki/path/to/page5
1589
+ Completed 302 Found in 22ms (ActiveRecord: 0.6ms)
1590
+ WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1591
+ 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]]
1592
+ 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]]
1593
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
1594
+  (0.6ms) rollback transaction
1595
+  (0.0ms) begin transaction
1596
+  (0.0ms) commit transaction
1597
+  (0.0ms) begin transaction
1598
+  (0.1ms) SAVEPOINT active_record_1
1599
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title6"], ["created_at", "2018-05-23 08:11:02.561598"], ["updated_at", "2018-05-23 08:11:02.561598"]]
1600
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1601
+  (0.0ms) SAVEPOINT active_record_1
1602
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.563049"], ["updated_at", "2018-05-23 08:11:02.563049"]]
1603
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1604
+  (0.0ms) SAVEPOINT active_record_1
1605
+ 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]]
1606
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page6"], ["created_at", "2018-05-23 08:11:02.565330"], ["updated_at", "2018-05-23 08:11:02.565330"]]
1607
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.566227"], ["updated_at", "2018-05-23 08:11:02.566227"]]
1608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1609
+ Processing by Yaw::WikiPageController#create as HTML
1610
+ Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"}
1611
+ WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title6"], ["LIMIT", 1]]
1612
+  (0.1ms) SAVEPOINT active_record_1
1613
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.569542"], ["updated_at", "2018-05-23 08:11:02.569542"]]
1614
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1615
+  (0.0ms) SAVEPOINT active_record_1
1616
+ 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]]
1617
+ WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path"], ["created_at", "2018-05-23 08:11:02.572549"], ["updated_at", "2018-05-23 08:11:02.572549"]]
1618
+ WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:11:02.573309"], ["updated_at", "2018-05-23 08:11:02.573309"]]
1619
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1620
+ Redirected to http://test.host/wiki/title6/wiki/path
1621
+ Completed 302 Found in 21ms (ActiveRecord: 0.6ms)
1622
+ 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]]
1623
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
1624
+  (0.6ms) rollback transaction
1625
+  (0.1ms) begin transaction
1626
+  (0.0ms) commit transaction
1627
+  (0.0ms) begin transaction
1628
+  (0.0ms) SAVEPOINT active_record_1
1629
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title7"], ["created_at", "2018-05-23 08:11:02.595591"], ["updated_at", "2018-05-23 08:11:02.595591"]]
1630
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1631
+  (0.1ms) SAVEPOINT active_record_1
1632
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.597168"], ["updated_at", "2018-05-23 08:11:02.597168"]]
1633
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634
+  (0.0ms) SAVEPOINT active_record_1
1635
+ 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]]
1636
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page7"], ["created_at", "2018-05-23 08:11:02.600009"], ["updated_at", "2018-05-23 08:11:02.600009"]]
1637
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.600961"], ["updated_at", "2018-05-23 08:11:02.600961"]]
1638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1639
+ 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]]
1640
+  (0.6ms) rollback transaction
1641
+  (0.0ms) begin transaction
1642
+  (0.0ms) commit transaction
1643
+  (0.0ms) begin transaction
1644
+  (0.1ms) SAVEPOINT active_record_1
1645
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title8"], ["created_at", "2018-05-23 08:11:02.607446"], ["updated_at", "2018-05-23 08:11:02.607446"]]
1646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1647
+  (0.0ms) SAVEPOINT active_record_1
1648
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.609029"], ["updated_at", "2018-05-23 08:11:02.609029"]]
1649
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1650
+  (0.0ms) SAVEPOINT active_record_1
1651
+ 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]]
1652
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page8"], ["created_at", "2018-05-23 08:11:02.611698"], ["updated_at", "2018-05-23 08:11:02.611698"]]
1653
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.612647"], ["updated_at", "2018-05-23 08:11:02.612647"]]
1654
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1655
+ 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]]
1656
+  (0.5ms) rollback transaction
1657
+  (0.1ms) begin transaction
1658
+  (0.0ms) commit transaction
1659
+  (0.0ms) begin transaction
1660
+  (0.1ms) SAVEPOINT active_record_1
1661
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title9"], ["created_at", "2018-05-23 08:11:02.619586"], ["updated_at", "2018-05-23 08:11:02.619586"]]
1662
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1663
+  (0.0ms) SAVEPOINT active_record_1
1664
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.621220"], ["updated_at", "2018-05-23 08:11:02.621220"]]
1665
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1666
+  (0.1ms) SAVEPOINT active_record_1
1667
+ 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]]
1668
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page9"], ["created_at", "2018-05-23 08:11:02.623816"], ["updated_at", "2018-05-23 08:11:02.623816"]]
1669
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.624708"], ["updated_at", "2018-05-23 08:11:02.624708"]]
1670
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1671
+ 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]]
1672
+  (0.5ms) rollback transaction
1673
+  (0.0ms) begin transaction
1674
+  (0.0ms) commit transaction
1675
+  (0.0ms) begin transaction
1676
+  (0.0ms) SAVEPOINT active_record_1
1677
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title10"], ["created_at", "2018-05-23 08:11:02.630588"], ["updated_at", "2018-05-23 08:11:02.630588"]]
1678
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1679
+  (0.0ms) SAVEPOINT active_record_1
1680
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.632120"], ["updated_at", "2018-05-23 08:11:02.632120"]]
1681
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1682
+  (0.1ms) SAVEPOINT active_record_1
1683
+ 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]]
1684
+ WikiPage Create (0.4ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page10"], ["created_at", "2018-05-23 08:11:02.634660"], ["updated_at", "2018-05-23 08:11:02.634660"]]
1685
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.635802"], ["updated_at", "2018-05-23 08:11:02.635802"]]
1686
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1687
+  (0.0ms) SAVEPOINT active_record_1
1688
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.638159"], ["updated_at", "2018-05-23 08:11:02.638159"]]
1689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1690
+  (0.0ms) SAVEPOINT active_record_1
1691
+ 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]]
1692
+ WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-23 08:11:02.640445"], ["updated_at", "2018-05-23 08:11:02.640445"]]
1693
+ WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.641158"], ["updated_at", "2018-05-23 08:11:02.641158"]]
1694
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1695
+ 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]]
1696
+  (0.7ms) rollback transaction
1697
+  (0.0ms) begin transaction
1698
+  (0.0ms) commit transaction
1699
+  (0.0ms) begin transaction
1700
+  (0.0ms) SAVEPOINT active_record_1
1701
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title11"], ["created_at", "2018-05-23 08:11:02.646485"], ["updated_at", "2018-05-23 08:11:02.646485"]]
1702
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1703
+  (0.0ms) SAVEPOINT active_record_1
1704
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.647976"], ["updated_at", "2018-05-23 08:11:02.647976"]]
1705
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1706
+  (0.0ms) SAVEPOINT active_record_1
1707
+ 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]]
1708
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page11"], ["created_at", "2018-05-23 08:11:02.650615"], ["updated_at", "2018-05-23 08:11:02.650615"]]
1709
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.651758"], ["updated_at", "2018-05-23 08:11:02.651758"]]
1710
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1711
+  (0.0ms) SAVEPOINT active_record_1
1712
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.654134"], ["updated_at", "2018-05-23 08:11:02.654134"]]
1713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1714
+  (0.0ms) SAVEPOINT active_record_1
1715
+ 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]]
1716
+ WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-23 08:11:02.656400"], ["updated_at", "2018-05-23 08:11:02.656400"]]
1717
+ WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.657147"], ["updated_at", "2018-05-23 08:11:02.657147"]]
1718
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1719
+ 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]]
1720
+  (0.7ms) rollback transaction
1721
+  (0.0ms) begin transaction
1722
+  (0.0ms) commit transaction
1723
+  (0.0ms) begin transaction
1724
+  (0.0ms) rollback transaction
1725
+  (0.0ms) begin transaction
1726
+  (0.0ms) commit transaction
1727
+  (0.0ms) begin transaction
1728
+  (0.0ms) rollback transaction
1729
+  (0.0ms) begin transaction
1730
+  (0.0ms) commit transaction
1731
+  (0.0ms) begin transaction
1732
+  (0.1ms) SAVEPOINT active_record_1
1733
+ WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title12"], ["created_at", "2018-05-23 08:11:02.666235"], ["updated_at", "2018-05-23 08:11:02.666235"]]
1734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1735
+  (0.0ms) SAVEPOINT active_record_1
1736
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.668543"], ["updated_at", "2018-05-23 08:11:02.668543"]]
1737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1738
+  (0.5ms) rollback transaction
1739
+  (0.0ms) begin transaction
1740
+  (0.0ms) commit transaction
1741
+  (0.0ms) begin transaction
1742
+  (0.1ms) SAVEPOINT active_record_1
1743
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title13"], ["created_at", "2018-05-23 08:11:02.671758"], ["updated_at", "2018-05-23 08:11:02.671758"]]
1744
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1745
+  (0.0ms) SAVEPOINT active_record_1
1746
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.673835"], ["updated_at", "2018-05-23 08:11:02.673835"]]
1747
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1748
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"
1749
+  (0.0ms) SAVEPOINT active_record_1
1750
+ 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]]
1751
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page"], ["created_at", "2018-05-23 08:11:02.679082"], ["updated_at", "2018-05-23 08:11:02.679082"]]
1752
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "title"], ["body", "body"], ["created_at", "2018-05-23 08:11:02.680077"], ["updated_at", "2018-05-23 08:11:02.680077"]]
1753
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1754
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"
1755
+  (0.6ms) rollback transaction
1756
+  (0.0ms) begin transaction
1757
+  (0.0ms) commit transaction
1758
+  (0.0ms) begin transaction
1759
+  (0.0ms) SAVEPOINT active_record_1
1760
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title14"], ["created_at", "2018-05-23 08:11:02.683630"], ["updated_at", "2018-05-23 08:11:02.683630"]]
1761
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1762
+  (0.0ms) SAVEPOINT active_record_1
1763
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.686115"], ["updated_at", "2018-05-23 08:11:02.686115"]]
1764
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1765
+  (0.6ms) rollback transaction
1766
+  (0.0ms) begin transaction
1767
+  (0.0ms) commit transaction
1768
+  (0.0ms) begin transaction
1769
+  (0.0ms) SAVEPOINT active_record_1
1770
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title15"], ["created_at", "2018-05-23 08:11:02.689338"], ["updated_at", "2018-05-23 08:11:02.689338"]]
1771
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1772
+  (0.0ms) SAVEPOINT active_record_1
1773
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.691649"], ["updated_at", "2018-05-23 08:11:02.691649"]]
1774
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1775
+  (0.5ms) rollback transaction
1776
+  (0.0ms) begin transaction
1777
+  (0.0ms) commit transaction
1778
+  (0.0ms) begin transaction
1779
+  (0.1ms) SAVEPOINT active_record_1
1780
+ WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title16"], ["created_at", "2018-05-23 08:11:02.695143"], ["updated_at", "2018-05-23 08:11:02.695143"]]
1781
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1782
+  (0.0ms) SAVEPOINT active_record_1
1783
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.696875"], ["updated_at", "2018-05-23 08:11:02.696875"]]
1784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1785
+  (0.0ms) SAVEPOINT active_record_1
1786
+ 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]]
1787
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page12"], ["created_at", "2018-05-23 08:11:02.699550"], ["updated_at", "2018-05-23 08:11:02.699550"]]
1788
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.700487"], ["updated_at", "2018-05-23 08:11:02.700487"]]
1789
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1790
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]
1791
+  (0.1ms) SAVEPOINT active_record_1
1792
+ 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]]
1793
+ WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("wiki_page_id", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_page_id", 1], ["body", "new title"], ["created_at", "2018-05-23 08:11:02.704176"], ["updated_at", "2018-05-23 08:11:02.704176"]]
1794
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1795
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]
1796
+  (0.6ms) rollback transaction
1797
+  (0.1ms) begin transaction
1798
+  (0.0ms) commit transaction
1799
+  (0.0ms) begin transaction
1800
+  (0.1ms) SAVEPOINT active_record_1
1801
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title17"], ["created_at", "2018-05-23 08:11:02.722102"], ["updated_at", "2018-05-23 08:11:02.722102"]]
1802
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1803
+  (0.0ms) SAVEPOINT active_record_1
1804
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.723687"], ["updated_at", "2018-05-23 08:11:02.723687"]]
1805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1806
+  (0.0ms) SAVEPOINT active_record_1
1807
+ 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]]
1808
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page13"], ["created_at", "2018-05-23 08:11:02.726282"], ["updated_at", "2018-05-23 08:11:02.726282"]]
1809
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.727155"], ["updated_at", "2018-05-23 08:11:02.727155"]]
1810
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1811
+  (0.1ms) SAVEPOINT active_record_1
1812
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.729071"], ["updated_at", "2018-05-23 08:11:02.729071"]]
1813
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1814
+  (0.6ms) rollback transaction
1815
+  (0.0ms) begin transaction
1816
+  (0.0ms) commit transaction
1817
+  (0.0ms) begin transaction
1818
+  (0.0ms) SAVEPOINT active_record_1
1819
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title18"], ["created_at", "2018-05-23 08:11:02.732376"], ["updated_at", "2018-05-23 08:11:02.732376"]]
1820
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1821
+  (0.0ms) SAVEPOINT active_record_1
1822
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.734040"], ["updated_at", "2018-05-23 08:11:02.734040"]]
1823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1824
+  (0.0ms) SAVEPOINT active_record_1
1825
+ 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]]
1826
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page14"], ["created_at", "2018-05-23 08:11:02.736362"], ["updated_at", "2018-05-23 08:11:02.736362"]]
1827
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.737236"], ["updated_at", "2018-05-23 08:11:02.737236"]]
1828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1829
+  (0.0ms) SAVEPOINT active_record_1
1830
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.738903"], ["updated_at", "2018-05-23 08:11:02.738903"]]
1831
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1832
+  (0.5ms) rollback transaction
1833
+  (0.0ms) begin transaction
1834
+  (0.0ms) commit transaction
1835
+  (0.0ms) begin transaction
1836
+  (0.0ms) SAVEPOINT active_record_1
1837
+ WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title19"], ["created_at", "2018-05-23 08:11:02.741825"], ["updated_at", "2018-05-23 08:11:02.741825"]]
1838
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1839
+  (0.0ms) SAVEPOINT active_record_1
1840
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.743276"], ["updated_at", "2018-05-23 08:11:02.743276"]]
1841
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1842
+  (0.0ms) SAVEPOINT active_record_1
1843
+ 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]]
1844
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page15"], ["created_at", "2018-05-23 08:11:02.745631"], ["updated_at", "2018-05-23 08:11:02.745631"]]
1845
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.746501"], ["updated_at", "2018-05-23 08:11:02.746501"]]
1846
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1847
+  (0.0ms) SAVEPOINT active_record_1
1848
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.748160"], ["updated_at", "2018-05-23 08:11:02.748160"]]
1849
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1850
+  (0.5ms) rollback transaction
1851
+  (0.0ms) begin transaction
1852
+  (0.0ms) commit transaction
1853
+  (0.0ms) begin transaction
1854
+  (0.1ms) SAVEPOINT active_record_1
1855
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title20"], ["created_at", "2018-05-23 08:11:02.751470"], ["updated_at", "2018-05-23 08:11:02.751470"]]
1856
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1857
+  (0.0ms) SAVEPOINT active_record_1
1858
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.753046"], ["updated_at", "2018-05-23 08:11:02.753046"]]
1859
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1860
+  (0.0ms) SAVEPOINT active_record_1
1861
+ 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]]
1862
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page16"], ["created_at", "2018-05-23 08:11:02.755447"], ["updated_at", "2018-05-23 08:11:02.755447"]]
1863
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.756333"], ["updated_at", "2018-05-23 08:11:02.756333"]]
1864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1865
+ 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]]
1866
+  (0.6ms) rollback transaction
1867
+  (0.0ms) begin transaction
1868
+  (0.0ms) commit transaction
1869
+  (0.0ms) begin transaction
1870
+  (0.1ms) SAVEPOINT active_record_1
1871
+ WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title21"], ["created_at", "2018-05-23 08:11:02.760698"], ["updated_at", "2018-05-23 08:11:02.760698"]]
1872
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1873
+  (0.0ms) SAVEPOINT active_record_1
1874
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.762393"], ["updated_at", "2018-05-23 08:11:02.762393"]]
1875
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1876
+  (0.0ms) SAVEPOINT active_record_1
1877
+ 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]]
1878
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page17"], ["created_at", "2018-05-23 08:11:02.764956"], ["updated_at", "2018-05-23 08:11:02.764956"]]
1879
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.765907"], ["updated_at", "2018-05-23 08:11:02.765907"]]
1880
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1881
+  (0.0ms) SAVEPOINT active_record_1
1882
+ WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title22"], ["created_at", "2018-05-23 08:11:02.767805"], ["updated_at", "2018-05-23 08:11:02.767805"]]
1883
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1884
+  (0.0ms) SAVEPOINT active_record_1
1885
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.769048"], ["updated_at", "2018-05-23 08:11:02.769048"]]
1886
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1887
+ 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]]
1888
+  (0.6ms) rollback transaction
1889
+  (0.0ms) begin transaction
1890
+  (0.0ms) commit transaction
1891
+  (0.0ms) begin transaction
1892
+  (0.0ms) SAVEPOINT active_record_1
1893
+ WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title23"], ["created_at", "2018-05-23 08:11:02.780814"], ["updated_at", "2018-05-23 08:11:02.780814"]]
1894
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1895
+  (0.1ms) SAVEPOINT active_record_1
1896
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.782467"], ["updated_at", "2018-05-23 08:11:02.782467"]]
1897
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1898
+  (0.0ms) SAVEPOINT active_record_1
1899
+ 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]]
1900
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page18"], ["created_at", "2018-05-23 08:11:02.785189"], ["updated_at", "2018-05-23 08:11:02.785189"]]
1901
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.786152"], ["updated_at", "2018-05-23 08:11:02.786152"]]
1902
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1903
+  (0.0ms) SAVEPOINT active_record_1
1904
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.787822"], ["updated_at", "2018-05-23 08:11:02.787822"]]
1905
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1906
+ WikiPage Exists (0.2ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]
1907
+  (0.7ms) rollback transaction
1908
+  (0.0ms) begin transaction
1909
+  (0.0ms) commit transaction
1910
+  (0.0ms) begin transaction
1911
+  (0.1ms) SAVEPOINT active_record_1
1912
+ WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title24"], ["created_at", "2018-05-23 08:11:02.799923"], ["updated_at", "2018-05-23 08:11:02.799923"]]
1913
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1914
+  (0.0ms) SAVEPOINT active_record_1
1915
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.801529"], ["updated_at", "2018-05-23 08:11:02.801529"]]
1916
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1917
+  (0.0ms) SAVEPOINT active_record_1
1918
+ 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]]
1919
+ WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page19"], ["created_at", "2018-05-23 08:11:02.803985"], ["updated_at", "2018-05-23 08:11:02.803985"]]
1920
+ WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.804915"], ["updated_at", "2018-05-23 08:11:02.804915"]]
1921
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1922
+  (0.0ms) SAVEPOINT active_record_1
1923
+ WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title25"], ["created_at", "2018-05-23 08:11:02.806411"], ["updated_at", "2018-05-23 08:11:02.806411"]]
1924
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1925
+  (0.1ms) SAVEPOINT active_record_1
1926
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:11:02.807570"], ["updated_at", "2018-05-23 08:11:02.807570"]]
1927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1928
+  (0.0ms) SAVEPOINT active_record_1
1929
+ 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]]
1930
+ WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 2], ["path", "path/to/page20"], ["created_at", "2018-05-23 08:11:02.809845"], ["updated_at", "2018-05-23 08:11:02.809845"]]
1931
+ WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:11:02.810611"], ["updated_at", "2018-05-23 08:11:02.810611"]]
1932
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1933
+ 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]]
1934
+  (0.6ms) rollback transaction
1935
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1936
+  (0.1ms) PRAGMA foreign_keys
1937
+  (0.1ms) PRAGMA foreign_keys = OFF
1938
+  (1.4ms) DELETE FROM "users";
1939
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1940
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';
1941
+  (1.9ms) DELETE FROM "wiki_page_revisions";
1942
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1943
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';
1944
+  (1.4ms) DELETE FROM "wiki_pages";
1945
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1946
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';
1947
+  (1.6ms) DELETE FROM "wiki_spaces";
1948
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1949
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';
1950
+  (1.2ms) DELETE FROM "ar_internal_metadata";
1951
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1952
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1953
+  (0.1ms) PRAGMA foreign_keys = 1
1954
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1955
+  (0.1ms) PRAGMA foreign_keys
1956
+  (0.1ms) PRAGMA foreign_keys = OFF
1957
+  (2.0ms) DELETE FROM "users";
1958
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1959
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';
1960
+  (1.9ms) DELETE FROM "wiki_page_revisions";
1961
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1962
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';
1963
+  (1.4ms) DELETE FROM "wiki_pages";
1964
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1965
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';
1966
+  (1.4ms) DELETE FROM "wiki_spaces";
1967
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1968
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';
1969
+  (1.3ms) DELETE FROM "ar_internal_metadata";
1970
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1971
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1972
+  (0.0ms) PRAGMA foreign_keys = 1
1973
+  (0.1ms) begin transaction
1974
+  (0.0ms) commit transaction
1975
+  (0.0ms) begin transaction
1976
+  (0.0ms) rollback transaction
1977
+  (0.0ms) begin transaction
1978
+  (0.0ms) commit transaction
1979
+  (0.0ms) begin transaction
1980
+  (0.0ms) rollback transaction
1981
+  (0.0ms) begin transaction
1982
+  (0.0ms) commit transaction
1983
+  (0.0ms) begin transaction
1984
+  (0.0ms) rollback transaction
1985
+  (0.0ms) begin transaction
1986
+  (0.0ms) commit transaction
1987
+  (0.0ms) begin transaction
1988
+  (0.0ms) rollback transaction
1989
+  (0.0ms) begin transaction
1990
+  (0.0ms) commit transaction
1991
+  (0.0ms) begin transaction
1992
+  (0.1ms) rollback transaction
1993
+  (0.1ms) begin transaction
1994
+  (0.0ms) commit transaction
1995
+  (0.0ms) begin transaction
1996
+  (0.0ms) rollback transaction
1997
+  (0.0ms) begin transaction
1998
+  (0.0ms) commit transaction
1999
+  (0.0ms) begin transaction
2000
+  (0.0ms) rollback transaction
2001
+  (0.0ms) begin transaction
2002
+  (0.0ms) commit transaction
2003
+  (0.0ms) begin transaction
2004
+  (0.0ms) rollback transaction
2005
+  (0.0ms) begin transaction
2006
+  (0.0ms) commit transaction
2007
+  (0.0ms) begin transaction
2008
+  (0.0ms) rollback transaction
2009
+  (0.0ms) begin transaction
2010
+  (0.0ms) commit transaction
2011
+  (0.0ms) begin transaction
2012
+  (0.0ms) rollback transaction
2013
+  (0.0ms) begin transaction
2014
+  (0.0ms) commit transaction
2015
+  (0.0ms) begin transaction
2016
+  (0.0ms) rollback transaction
2017
+  (0.0ms) begin transaction
2018
+  (0.0ms) commit transaction
2019
+  (0.0ms) begin transaction
2020
+  (0.0ms) rollback transaction
2021
+  (0.0ms) begin transaction
2022
+  (0.1ms) commit transaction
2023
+  (0.0ms) begin transaction
2024
+  (0.0ms) rollback transaction
2025
+  (0.0ms) begin transaction
2026
+  (0.1ms) commit transaction
2027
+  (0.0ms) begin transaction
2028
+  (0.0ms) rollback transaction
2029
+  (0.0ms) begin transaction
2030
+  (0.0ms) commit transaction
2031
+  (0.1ms) begin transaction
2032
+  (0.0ms) rollback transaction
2033
+  (0.0ms) begin transaction
2034
+  (0.0ms) commit transaction
2035
+  (0.0ms) begin transaction
2036
+  (0.0ms) rollback transaction
2037
+  (0.0ms) begin transaction
2038
+  (0.0ms) commit transaction
2039
+  (0.0ms) begin transaction
2040
+  (0.0ms) rollback transaction
2041
+  (0.0ms) begin transaction
2042
+  (0.0ms) commit transaction
2043
+  (0.0ms) begin transaction
2044
+  (0.0ms) rollback transaction
2045
+  (0.0ms) begin transaction
2046
+  (0.0ms) commit transaction
2047
+  (0.0ms) begin transaction
2048
+  (0.0ms) rollback transaction
2049
+  (0.0ms) begin transaction
2050
+  (0.0ms) commit transaction
2051
+  (0.0ms) begin transaction
2052
+  (0.0ms) rollback transaction
2053
+  (0.0ms) begin transaction
2054
+  (0.0ms) commit transaction
2055
+  (0.0ms) begin transaction
2056
+  (0.0ms) rollback transaction
2057
+  (0.0ms) begin transaction
2058
+  (0.0ms) commit transaction
2059
+  (0.0ms) begin transaction
2060
+  (0.0ms) rollback transaction
2061
+  (0.0ms) begin transaction
2062
+  (0.0ms) commit transaction
2063
+  (0.0ms) begin transaction
2064
+  (0.1ms) rollback transaction
2065
+  (0.0ms) begin transaction
2066
+  (0.0ms) commit transaction
2067
+  (0.0ms) begin transaction
2068
+  (0.0ms) rollback transaction
2069
+  (0.0ms) begin transaction
2070
+  (0.0ms) commit transaction
2071
+  (0.0ms) begin transaction
2072
+  (0.1ms) rollback transaction
2073
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2074
+  (0.1ms) PRAGMA foreign_keys
2075
+  (0.0ms) PRAGMA foreign_keys = OFF
2076
+  (1.1ms) DELETE FROM "users";
2077
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2078
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';
2079
+  (2.1ms) DELETE FROM "wiki_page_revisions";
2080
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2081
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';
2082
+  (1.6ms) DELETE FROM "wiki_pages";
2083
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2084
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';
2085
+  (1.2ms) DELETE FROM "wiki_spaces";
2086
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2087
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';
2088
+  (0.9ms) DELETE FROM "ar_internal_metadata";
2089
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2090
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
2091
+  (0.0ms) PRAGMA foreign_keys = 1
2092
+  (0.1ms) begin transaction
2093
+  (0.0ms) commit transaction
2094
+  (0.0ms) begin transaction
2095
+  (0.0ms) rollback transaction
2096
+  (0.0ms) begin transaction
2097
+  (0.0ms) commit transaction
2098
+  (0.0ms) begin transaction
2099
+  (0.0ms) rollback transaction
2100
+  (0.0ms) begin transaction
2101
+  (0.0ms) commit transaction
2102
+  (0.1ms) begin transaction
2103
+  (0.0ms) rollback transaction
2104
+  (0.0ms) begin transaction
2105
+  (0.0ms) commit transaction
2106
+  (0.0ms) begin transaction
2107
+  (0.0ms) rollback transaction
2108
+  (0.0ms) begin transaction
2109
+  (0.0ms) commit transaction
2110
+  (0.0ms) begin transaction
2111
+  (0.0ms) rollback transaction
2112
+  (0.0ms) begin transaction
2113
+  (0.0ms) commit transaction
2114
+  (0.0ms) begin transaction
2115
+  (0.0ms) rollback transaction
2116
+  (0.1ms) begin transaction
2117
+  (0.0ms) commit transaction
2118
+  (0.0ms) begin transaction
2119
+  (0.0ms) rollback transaction
2120
+  (0.0ms) begin transaction
2121
+  (0.0ms) commit transaction
2122
+  (0.0ms) begin transaction
2123
+  (0.0ms) rollback transaction
2124
+  (0.0ms) begin transaction
2125
+  (0.0ms) commit transaction
2126
+  (0.0ms) begin transaction
2127
+  (0.0ms) rollback transaction
2128
+  (0.0ms) begin transaction
2129
+  (0.0ms) commit transaction
2130
+  (0.0ms) begin transaction
2131
+  (0.0ms) rollback transaction
2132
+  (0.0ms) begin transaction
2133
+  (0.0ms) commit transaction
2134
+  (0.0ms) begin transaction
2135
+  (0.0ms) rollback transaction
2136
+  (0.0ms) begin transaction
2137
+  (0.0ms) commit transaction
2138
+  (0.0ms) begin transaction
2139
+  (0.0ms) rollback transaction
2140
+  (0.0ms) begin transaction
2141
+  (0.0ms) commit transaction
2142
+  (0.0ms) begin transaction
2143
+  (0.0ms) rollback transaction
2144
+  (0.0ms) begin transaction
2145
+  (0.0ms) commit transaction
2146
+  (0.0ms) begin transaction
2147
+  (0.0ms) rollback transaction
2148
+  (0.0ms) begin transaction
2149
+  (0.0ms) commit transaction
2150
+  (0.0ms) begin transaction
2151
+  (0.0ms) rollback transaction
2152
+  (0.0ms) begin transaction
2153
+  (0.0ms) commit transaction
2154
+  (0.0ms) begin transaction
2155
+  (0.0ms) rollback transaction
2156
+  (0.0ms) begin transaction
2157
+  (0.0ms) commit transaction
2158
+  (0.0ms) begin transaction
2159
+  (0.0ms) rollback transaction
2160
+  (0.0ms) begin transaction
2161
+  (0.0ms) commit transaction
2162
+  (0.0ms) begin transaction
2163
+  (0.0ms) rollback transaction
2164
+  (0.0ms) begin transaction
2165
+  (0.0ms) commit transaction
2166
+  (0.0ms) begin transaction
2167
+  (0.0ms) rollback transaction
2168
+  (0.0ms) begin transaction
2169
+  (0.0ms) commit transaction
2170
+  (0.0ms) begin transaction
2171
+  (0.0ms) rollback transaction
2172
+  (0.0ms) begin transaction
2173
+  (0.0ms) commit transaction
2174
+  (0.0ms) begin transaction
2175
+  (0.0ms) rollback transaction
2176
+  (0.1ms) begin transaction
2177
+  (0.0ms) commit transaction
2178
+  (0.0ms) begin transaction
2179
+  (0.0ms) rollback transaction
2180
+  (0.0ms) begin transaction
2181
+  (0.0ms) commit transaction
2182
+  (0.0ms) begin transaction
2183
+  (0.0ms) rollback transaction
2184
+  (0.0ms) begin transaction
2185
+  (0.0ms) commit transaction
2186
+  (0.0ms) begin transaction
2187
+  (0.0ms) rollback transaction
2188
+  (0.0ms) begin transaction
2189
+  (0.0ms) commit transaction
2190
+  (0.0ms) begin transaction
2191
+  (0.0ms) rollback transaction
2192
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2193
+  (0.1ms) PRAGMA foreign_keys
2194
+  (0.1ms) PRAGMA foreign_keys = OFF
2195
+  (1.9ms) DELETE FROM "users";
2196
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2197
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';
2198
+  (2.0ms) DELETE FROM "wiki_page_revisions";
2199
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2200
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';
2201
+  (1.6ms) DELETE FROM "wiki_pages";
2202
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2203
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';
2204
+  (1.5ms) DELETE FROM "wiki_spaces";
2205
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2206
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';
2207
+  (1.5ms) DELETE FROM "ar_internal_metadata";
2208
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2209
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
2210
+  (0.0ms) PRAGMA foreign_keys = 1
2211
+  (0.1ms) begin transaction
2212
+  (0.0ms) commit transaction
2213
+  (0.0ms) begin transaction
2214
+  (0.1ms) SAVEPOINT active_record_1
2215
+ Yaw::WikiSpace Create (0.5ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title1"], ["created_at", "2018-05-23 08:16:59.819213"], ["updated_at", "2018-05-23 08:16:59.819213"]]
2216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2217
+  (0.0ms) SAVEPOINT active_record_1
2218
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.832727"], ["updated_at", "2018-05-23 08:16:59.832727"]]
2219
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2220
+  (0.1ms) SAVEPOINT active_record_1
2221
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page1"], ["wiki_space_id", 1], ["LIMIT", 1]]
2222
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page1"], ["created_at", "2018-05-23 08:16:59.856229"], ["updated_at", "2018-05-23 08:16:59.856229"]]
2223
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:16:59.857153"], ["updated_at", "2018-05-23 08:16:59.857153"]]
2224
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2225
+ Processing by Yaw::WikiPageController#show as HTML
2226
+ Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"}
2227
+ Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title1"], ["LIMIT", 1]]
2228
+ Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page1"], ["LIMIT", 1]]
2229
+ Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]
2230
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki
2231
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2232
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki (0.2ms)
2233
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2234
+ Completed 200 OK in 19ms (Views: 9.3ms | ActiveRecord: 0.3ms)
2235
+  (0.6ms) rollback transaction
2236
+  (0.0ms) begin transaction
2237
+  (0.0ms) commit transaction
2238
+  (0.0ms) begin transaction
2239
+  (0.0ms) SAVEPOINT active_record_1
2240
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title2"], ["created_at", "2018-05-23 08:16:59.882498"], ["updated_at", "2018-05-23 08:16:59.882498"]]
2241
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2242
+  (0.0ms) SAVEPOINT active_record_1
2243
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.883814"], ["updated_at", "2018-05-23 08:16:59.883814"]]
2244
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2245
+  (0.0ms) SAVEPOINT active_record_1
2246
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page2"], ["wiki_space_id", 1], ["LIMIT", 1]]
2247
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page2"], ["created_at", "2018-05-23 08:16:59.886082"], ["updated_at", "2018-05-23 08:16:59.886082"]]
2248
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:16:59.887170"], ["updated_at", "2018-05-23 08:16:59.887170"]]
2249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2250
+ Processing by Yaw::WikiPageController#show as HTML
2251
+ Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"}
2252
+ Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title2"], ["LIMIT", 1]]
2253
+ Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "new/id"], ["LIMIT", 1]]
2254
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki
2255
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2256
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.2ms)
2257
+ Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.1ms)
2258
+  (0.5ms) rollback transaction
2259
+  (0.0ms) begin transaction
2260
+  (0.0ms) commit transaction
2261
+  (0.0ms) begin transaction
2262
+  (0.0ms) SAVEPOINT active_record_1
2263
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title3"], ["created_at", "2018-05-23 08:16:59.899344"], ["updated_at", "2018-05-23 08:16:59.899344"]]
2264
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2265
+  (0.0ms) SAVEPOINT active_record_1
2266
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.900909"], ["updated_at", "2018-05-23 08:16:59.900909"]]
2267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2268
+  (0.0ms) SAVEPOINT active_record_1
2269
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page3"], ["wiki_space_id", 1], ["LIMIT", 1]]
2270
+ Yaw::WikiPage Create (0.3ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page3"], ["created_at", "2018-05-23 08:16:59.903832"], ["updated_at", "2018-05-23 08:16:59.903832"]]
2271
+ Yaw::WikiPageRevision Create (0.3ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:16:59.905146"], ["updated_at", "2018-05-23 08:16:59.905146"]]
2272
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2273
+ Processing by Yaw::WikiPageController#show as HTML
2274
+ Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"}
2275
+ Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title3"], ["LIMIT", 1]]
2276
+ Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "This is a pen"], ["LIMIT", 1]]
2277
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki
2278
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.0ms)
2279
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
2280
+  (0.5ms) rollback transaction
2281
+  (0.0ms) begin transaction
2282
+  (0.0ms) commit transaction
2283
+  (0.0ms) begin transaction
2284
+  (0.0ms) SAVEPOINT active_record_1
2285
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title4"], ["created_at", "2018-05-23 08:16:59.912276"], ["updated_at", "2018-05-23 08:16:59.912276"]]
2286
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2287
+  (0.0ms) SAVEPOINT active_record_1
2288
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.913488"], ["updated_at", "2018-05-23 08:16:59.913488"]]
2289
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2290
+  (0.0ms) SAVEPOINT active_record_1
2291
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page4"], ["wiki_space_id", 1], ["LIMIT", 1]]
2292
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page4"], ["created_at", "2018-05-23 08:16:59.915313"], ["updated_at", "2018-05-23 08:16:59.915313"]]
2293
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:16:59.916333"], ["updated_at", "2018-05-23 08:16:59.916333"]]
2294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2295
+ Processing by Yaw::WikiPageController#edit as HTML
2296
+ Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"}
2297
+ Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title4"], ["LIMIT", 1]]
2298
+ Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page4"], ["LIMIT", 1]]
2299
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki
2300
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2301
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki (0.2ms)
2302
+ Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.1ms)
2303
+  (0.5ms) rollback transaction
2304
+  (0.0ms) begin transaction
2305
+  (0.0ms) commit transaction
2306
+  (0.0ms) begin transaction
2307
+  (0.1ms) SAVEPOINT active_record_1
2308
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title5"], ["created_at", "2018-05-23 08:16:59.941096"], ["updated_at", "2018-05-23 08:16:59.941096"]]
2309
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2310
+  (0.0ms) SAVEPOINT active_record_1
2311
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.942525"], ["updated_at", "2018-05-23 08:16:59.942525"]]
2312
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2313
+  (0.0ms) SAVEPOINT active_record_1
2314
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["wiki_space_id", 1], ["LIMIT", 1]]
2315
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page5"], ["created_at", "2018-05-23 08:16:59.944714"], ["updated_at", "2018-05-23 08:16:59.944714"]]
2316
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:16:59.945566"], ["updated_at", "2018-05-23 08:16:59.945566"]]
2317
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2318
+ Processing by Yaw::WikiPageController#update as HTML
2319
+ Parameters: {"wiki_page"=>{"body"=>"blah", "title"=>"new name"}, "wiki_space_id"=>"title5", "path"=>"path/to/page5"}
2320
+ Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title5"], ["LIMIT", 1]]
2321
+ Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page5"], ["LIMIT", 1]]
2322
+  (0.0ms) SAVEPOINT active_record_1
2323
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.954686"], ["updated_at", "2018-05-23 08:16:59.954686"]]
2324
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2325
+  (0.0ms) SAVEPOINT active_record_1
2326
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]]
2327
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 1], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:16:59.957316"], ["updated_at", "2018-05-23 08:16:59.957316"]]
2328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2329
+ Redirected to http://test.host/wiki/title5/wiki/path/to/page5
2330
+ Completed 302 Found in 22ms (ActiveRecord: 0.5ms)
2331
+ Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2332
+ Yaw::WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]
2333
+ Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]
2334
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
2335
+  (0.6ms) rollback transaction
2336
+  (0.0ms) begin transaction
2337
+  (0.1ms) commit transaction
2338
+  (0.0ms) begin transaction
2339
+  (0.0ms) SAVEPOINT active_record_1
2340
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title6"], ["created_at", "2018-05-23 08:16:59.982185"], ["updated_at", "2018-05-23 08:16:59.982185"]]
2341
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2342
+  (0.0ms) SAVEPOINT active_record_1
2343
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.983629"], ["updated_at", "2018-05-23 08:16:59.983629"]]
2344
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2345
+  (0.0ms) SAVEPOINT active_record_1
2346
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page6"], ["wiki_space_id", 1], ["LIMIT", 1]]
2347
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page6"], ["created_at", "2018-05-23 08:16:59.986145"], ["updated_at", "2018-05-23 08:16:59.986145"]]
2348
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:16:59.987253"], ["updated_at", "2018-05-23 08:16:59.987253"]]
2349
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2350
+ Processing by Yaw::WikiPageController#create as HTML
2351
+ Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"}
2352
+ Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title6"], ["LIMIT", 1]]
2353
+  (0.0ms) SAVEPOINT active_record_1
2354
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:16:59.990253"], ["updated_at", "2018-05-23 08:16:59.990253"]]
2355
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2356
+  (0.0ms) SAVEPOINT active_record_1
2357
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path"], ["wiki_space_id", 1], ["LIMIT", 1]]
2358
+ Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path"], ["created_at", "2018-05-23 08:16:59.993029"], ["updated_at", "2018-05-23 08:16:59.993029"]]
2359
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:16:59.993738"], ["updated_at", "2018-05-23 08:16:59.993738"]]
2360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2361
+ Redirected to http://test.host/wiki/title6/wiki/path
2362
+ Completed 302 Found in 21ms (ActiveRecord: 0.5ms)
2363
+ Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 2], ["LIMIT", 1]]
2364
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
2365
+  (0.6ms) rollback transaction
2366
+  (0.0ms) begin transaction
2367
+  (0.0ms) commit transaction
2368
+  (0.0ms) begin transaction
2369
+  (0.0ms) SAVEPOINT active_record_1
2370
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title7"], ["created_at", "2018-05-23 08:17:00.016757"], ["updated_at", "2018-05-23 08:17:00.016757"]]
2371
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2372
+  (0.0ms) SAVEPOINT active_record_1
2373
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.018281"], ["updated_at", "2018-05-23 08:17:00.018281"]]
2374
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2375
+  (0.1ms) SAVEPOINT active_record_1
2376
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page7"], ["wiki_space_id", 1], ["LIMIT", 1]]
2377
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page7"], ["created_at", "2018-05-23 08:17:00.021337"], ["updated_at", "2018-05-23 08:17:00.021337"]]
2378
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.022352"], ["updated_at", "2018-05-23 08:17:00.022352"]]
2379
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2380
+  (0.6ms) rollback transaction
2381
+  (0.0ms) begin transaction
2382
+  (0.0ms) commit transaction
2383
+  (0.0ms) begin transaction
2384
+  (0.0ms) SAVEPOINT active_record_1
2385
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title8"], ["created_at", "2018-05-23 08:17:00.028223"], ["updated_at", "2018-05-23 08:17:00.028223"]]
2386
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2387
+  (0.0ms) SAVEPOINT active_record_1
2388
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.029747"], ["updated_at", "2018-05-23 08:17:00.029747"]]
2389
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2390
+  (0.0ms) SAVEPOINT active_record_1
2391
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page8"], ["wiki_space_id", 1], ["LIMIT", 1]]
2392
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page8"], ["created_at", "2018-05-23 08:17:00.032059"], ["updated_at", "2018-05-23 08:17:00.032059"]]
2393
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.032893"], ["updated_at", "2018-05-23 08:17:00.032893"]]
2394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2395
+  (0.5ms) rollback transaction
2396
+  (0.1ms) begin transaction
2397
+  (0.0ms) commit transaction
2398
+  (0.1ms) begin transaction
2399
+  (0.1ms) SAVEPOINT active_record_1
2400
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title9"], ["created_at", "2018-05-23 08:17:00.038007"], ["updated_at", "2018-05-23 08:17:00.038007"]]
2401
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2402
+  (0.0ms) SAVEPOINT active_record_1
2403
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.039663"], ["updated_at", "2018-05-23 08:17:00.039663"]]
2404
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2405
+  (0.0ms) SAVEPOINT active_record_1
2406
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page9"], ["wiki_space_id", 1], ["LIMIT", 1]]
2407
+ Yaw::WikiPage Create (0.3ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page9"], ["created_at", "2018-05-23 08:17:00.042253"], ["updated_at", "2018-05-23 08:17:00.042253"]]
2408
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.043464"], ["updated_at", "2018-05-23 08:17:00.043464"]]
2409
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2410
+  (0.5ms) rollback transaction
2411
+  (0.0ms) begin transaction
2412
+  (0.0ms) commit transaction
2413
+  (0.0ms) begin transaction
2414
+  (0.0ms) SAVEPOINT active_record_1
2415
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title10"], ["created_at", "2018-05-23 08:17:00.048368"], ["updated_at", "2018-05-23 08:17:00.048368"]]
2416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2417
+  (0.0ms) SAVEPOINT active_record_1
2418
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.049897"], ["updated_at", "2018-05-23 08:17:00.049897"]]
2419
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2420
+  (0.0ms) SAVEPOINT active_record_1
2421
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page10"], ["wiki_space_id", 1], ["LIMIT", 1]]
2422
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page10"], ["created_at", "2018-05-23 08:17:00.052670"], ["updated_at", "2018-05-23 08:17:00.052670"]]
2423
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.053686"], ["updated_at", "2018-05-23 08:17:00.053686"]]
2424
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2425
+  (0.7ms) rollback transaction
2426
+  (0.0ms) begin transaction
2427
+  (0.0ms) commit transaction
2428
+  (0.0ms) begin transaction
2429
+  (0.0ms) SAVEPOINT active_record_1
2430
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title11"], ["created_at", "2018-05-23 08:17:00.058880"], ["updated_at", "2018-05-23 08:17:00.058880"]]
2431
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2432
+  (0.2ms) SAVEPOINT active_record_1
2433
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.060643"], ["updated_at", "2018-05-23 08:17:00.060643"]]
2434
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2435
+  (0.0ms) SAVEPOINT active_record_1
2436
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page11"], ["wiki_space_id", 1], ["LIMIT", 1]]
2437
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page11"], ["created_at", "2018-05-23 08:17:00.063097"], ["updated_at", "2018-05-23 08:17:00.063097"]]
2438
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.063972"], ["updated_at", "2018-05-23 08:17:00.063972"]]
2439
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2440
+  (0.7ms) rollback transaction
2441
+  (0.0ms) begin transaction
2442
+  (0.0ms) commit transaction
2443
+  (0.1ms) begin transaction
2444
+  (0.0ms) rollback transaction
2445
+  (0.0ms) begin transaction
2446
+  (0.0ms) commit transaction
2447
+  (0.0ms) begin transaction
2448
+  (0.0ms) rollback transaction
2449
+  (0.0ms) begin transaction
2450
+  (0.0ms) commit transaction
2451
+  (0.1ms) begin transaction
2452
+  (0.0ms) SAVEPOINT active_record_1
2453
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title12"], ["created_at", "2018-05-23 08:17:00.072811"], ["updated_at", "2018-05-23 08:17:00.072811"]]
2454
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2455
+  (0.0ms) SAVEPOINT active_record_1
2456
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.075159"], ["updated_at", "2018-05-23 08:17:00.075159"]]
2457
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2458
+  (0.5ms) rollback transaction
2459
+  (0.0ms) begin transaction
2460
+  (0.0ms) commit transaction
2461
+  (0.0ms) begin transaction
2462
+  (0.0ms) SAVEPOINT active_record_1
2463
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title13"], ["created_at", "2018-05-23 08:17:00.078399"], ["updated_at", "2018-05-23 08:17:00.078399"]]
2464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2465
+  (0.0ms) SAVEPOINT active_record_1
2466
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.080518"], ["updated_at", "2018-05-23 08:17:00.080518"]]
2467
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2468
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"
2469
+  (0.0ms) SAVEPOINT active_record_1
2470
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page"], ["wiki_space_id", 1], ["LIMIT", 1]]
2471
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page"], ["created_at", "2018-05-23 08:17:00.085890"], ["updated_at", "2018-05-23 08:17:00.085890"]]
2472
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "title"], ["body", "body"], ["created_at", "2018-05-23 08:17:00.086904"], ["updated_at", "2018-05-23 08:17:00.086904"]]
2473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2474
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"
2475
+  (0.5ms) rollback transaction
2476
+  (0.0ms) begin transaction
2477
+  (0.0ms) commit transaction
2478
+  (0.0ms) begin transaction
2479
+  (0.0ms) SAVEPOINT active_record_1
2480
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title14"], ["created_at", "2018-05-23 08:17:00.090807"], ["updated_at", "2018-05-23 08:17:00.090807"]]
2481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2482
+  (0.0ms) SAVEPOINT active_record_1
2483
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.092998"], ["updated_at", "2018-05-23 08:17:00.092998"]]
2484
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2485
+  (0.4ms) rollback transaction
2486
+  (0.0ms) begin transaction
2487
+  (0.0ms) commit transaction
2488
+  (0.0ms) begin transaction
2489
+  (0.0ms) SAVEPOINT active_record_1
2490
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title15"], ["created_at", "2018-05-23 08:17:00.095904"], ["updated_at", "2018-05-23 08:17:00.095904"]]
2491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2492
+  (0.0ms) SAVEPOINT active_record_1
2493
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.098084"], ["updated_at", "2018-05-23 08:17:00.098084"]]
2494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2495
+  (0.5ms) rollback transaction
2496
+  (0.0ms) begin transaction
2497
+  (0.0ms) commit transaction
2498
+  (0.0ms) begin transaction
2499
+  (0.0ms) SAVEPOINT active_record_1
2500
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title16"], ["created_at", "2018-05-23 08:17:00.100991"], ["updated_at", "2018-05-23 08:17:00.100991"]]
2501
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2502
+  (0.0ms) SAVEPOINT active_record_1
2503
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.102903"], ["updated_at", "2018-05-23 08:17:00.102903"]]
2504
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2505
+  (0.0ms) SAVEPOINT active_record_1
2506
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["wiki_space_id", 1], ["LIMIT", 1]]
2507
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page12"], ["created_at", "2018-05-23 08:17:00.105744"], ["updated_at", "2018-05-23 08:17:00.105744"]]
2508
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.106866"], ["updated_at", "2018-05-23 08:17:00.106866"]]
2509
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2510
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]
2511
+  (0.0ms) SAVEPOINT active_record_1
2512
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]]
2513
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("wiki_page_id", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_page_id", 1], ["body", "new title"], ["created_at", "2018-05-23 08:17:00.110211"], ["updated_at", "2018-05-23 08:17:00.110211"]]
2514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2515
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]
2516
+  (0.7ms) rollback transaction
2517
+  (0.1ms) begin transaction
2518
+  (0.0ms) commit transaction
2519
+  (0.0ms) begin transaction
2520
+  (0.0ms) SAVEPOINT active_record_1
2521
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title17"], ["created_at", "2018-05-23 08:17:00.128663"], ["updated_at", "2018-05-23 08:17:00.128663"]]
2522
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2523
+  (0.1ms) SAVEPOINT active_record_1
2524
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.130245"], ["updated_at", "2018-05-23 08:17:00.130245"]]
2525
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2526
+  (0.0ms) SAVEPOINT active_record_1
2527
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page13"], ["wiki_space_id", 1], ["LIMIT", 1]]
2528
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page13"], ["created_at", "2018-05-23 08:17:00.132748"], ["updated_at", "2018-05-23 08:17:00.132748"]]
2529
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.133831"], ["updated_at", "2018-05-23 08:17:00.133831"]]
2530
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2531
+  (0.0ms) SAVEPOINT active_record_1
2532
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.135984"], ["updated_at", "2018-05-23 08:17:00.135984"]]
2533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2534
+  (0.6ms) rollback transaction
2535
+  (0.1ms) begin transaction
2536
+  (0.0ms) commit transaction
2537
+  (0.0ms) begin transaction
2538
+  (0.1ms) SAVEPOINT active_record_1
2539
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title18"], ["created_at", "2018-05-23 08:17:00.139586"], ["updated_at", "2018-05-23 08:17:00.139586"]]
2540
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2541
+  (0.0ms) SAVEPOINT active_record_1
2542
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.141155"], ["updated_at", "2018-05-23 08:17:00.141155"]]
2543
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2544
+  (0.0ms) SAVEPOINT active_record_1
2545
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page14"], ["wiki_space_id", 1], ["LIMIT", 1]]
2546
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page14"], ["created_at", "2018-05-23 08:17:00.143549"], ["updated_at", "2018-05-23 08:17:00.143549"]]
2547
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.144417"], ["updated_at", "2018-05-23 08:17:00.144417"]]
2548
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2549
+  (0.0ms) SAVEPOINT active_record_1
2550
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.146193"], ["updated_at", "2018-05-23 08:17:00.146193"]]
2551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2552
+  (0.5ms) rollback transaction
2553
+  (0.0ms) begin transaction
2554
+  (0.0ms) commit transaction
2555
+  (0.0ms) begin transaction
2556
+  (0.0ms) SAVEPOINT active_record_1
2557
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title19"], ["created_at", "2018-05-23 08:17:00.149117"], ["updated_at", "2018-05-23 08:17:00.149117"]]
2558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2559
+  (0.0ms) SAVEPOINT active_record_1
2560
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.150533"], ["updated_at", "2018-05-23 08:17:00.150533"]]
2561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2562
+  (0.0ms) SAVEPOINT active_record_1
2563
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page15"], ["wiki_space_id", 1], ["LIMIT", 1]]
2564
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page15"], ["created_at", "2018-05-23 08:17:00.152947"], ["updated_at", "2018-05-23 08:17:00.152947"]]
2565
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.153945"], ["updated_at", "2018-05-23 08:17:00.153945"]]
2566
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2567
+  (0.0ms) SAVEPOINT active_record_1
2568
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.155984"], ["updated_at", "2018-05-23 08:17:00.155984"]]
2569
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2570
+  (0.6ms) rollback transaction
2571
+  (0.0ms) begin transaction
2572
+  (0.0ms) commit transaction
2573
+  (0.0ms) begin transaction
2574
+  (0.0ms) SAVEPOINT active_record_1
2575
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title20"], ["created_at", "2018-05-23 08:17:00.159007"], ["updated_at", "2018-05-23 08:17:00.159007"]]
2576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2577
+  (0.0ms) SAVEPOINT active_record_1
2578
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.160364"], ["updated_at", "2018-05-23 08:17:00.160364"]]
2579
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2580
+  (0.0ms) SAVEPOINT active_record_1
2581
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page16"], ["wiki_space_id", 1], ["LIMIT", 1]]
2582
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page16"], ["created_at", "2018-05-23 08:17:00.162600"], ["updated_at", "2018-05-23 08:17:00.162600"]]
2583
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.163451"], ["updated_at", "2018-05-23 08:17:00.163451"]]
2584
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2585
+  (0.6ms) rollback transaction
2586
+  (0.0ms) begin transaction
2587
+  (0.0ms) commit transaction
2588
+  (0.0ms) begin transaction
2589
+  (0.0ms) SAVEPOINT active_record_1
2590
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title21"], ["created_at", "2018-05-23 08:17:00.168001"], ["updated_at", "2018-05-23 08:17:00.168001"]]
2591
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2592
+  (0.1ms) SAVEPOINT active_record_1
2593
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.169928"], ["updated_at", "2018-05-23 08:17:00.169928"]]
2594
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2595
+  (0.0ms) SAVEPOINT active_record_1
2596
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 1], ["LIMIT", 1]]
2597
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page17"], ["created_at", "2018-05-23 08:17:00.172477"], ["updated_at", "2018-05-23 08:17:00.172477"]]
2598
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.173329"], ["updated_at", "2018-05-23 08:17:00.173329"]]
2599
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2600
+  (0.0ms) SAVEPOINT active_record_1
2601
+ Yaw::WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title22"], ["created_at", "2018-05-23 08:17:00.174997"], ["updated_at", "2018-05-23 08:17:00.174997"]]
2602
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2603
+  (0.0ms) SAVEPOINT active_record_1
2604
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.176107"], ["updated_at", "2018-05-23 08:17:00.176107"]]
2605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2606
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 2], ["LIMIT", 1]]
2607
+  (0.5ms) rollback transaction
2608
+  (0.0ms) begin transaction
2609
+  (0.0ms) commit transaction
2610
+  (0.0ms) begin transaction
2611
+  (0.1ms) SAVEPOINT active_record_1
2612
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title23"], ["created_at", "2018-05-23 08:17:00.180444"], ["updated_at", "2018-05-23 08:17:00.180444"]]
2613
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2614
+  (0.1ms) SAVEPOINT active_record_1
2615
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.181953"], ["updated_at", "2018-05-23 08:17:00.181953"]]
2616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2617
+  (0.0ms) SAVEPOINT active_record_1
2618
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]
2619
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page18"], ["created_at", "2018-05-23 08:17:00.184185"], ["updated_at", "2018-05-23 08:17:00.184185"]]
2620
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.185042"], ["updated_at", "2018-05-23 08:17:00.185042"]]
2621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2622
+  (0.1ms) SAVEPOINT active_record_1
2623
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.186901"], ["updated_at", "2018-05-23 08:17:00.186901"]]
2624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2625
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]
2626
+  (0.6ms) rollback transaction
2627
+  (0.1ms) begin transaction
2628
+  (0.0ms) commit transaction
2629
+  (0.0ms) begin transaction
2630
+  (0.0ms) SAVEPOINT active_record_1
2631
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title24"], ["created_at", "2018-05-23 08:17:00.205404"], ["updated_at", "2018-05-23 08:17:00.205404"]]
2632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2633
+  (0.0ms) SAVEPOINT active_record_1
2634
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.207014"], ["updated_at", "2018-05-23 08:17:00.207014"]]
2635
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2636
+  (0.0ms) SAVEPOINT active_record_1
2637
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page19"], ["wiki_space_id", 1], ["LIMIT", 1]]
2638
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page19"], ["created_at", "2018-05-23 08:17:00.209479"], ["updated_at", "2018-05-23 08:17:00.209479"]]
2639
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.210352"], ["updated_at", "2018-05-23 08:17:00.210352"]]
2640
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2641
+  (0.0ms) SAVEPOINT active_record_1
2642
+ Yaw::WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title25"], ["created_at", "2018-05-23 08:17:00.211812"], ["updated_at", "2018-05-23 08:17:00.211812"]]
2643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2644
+  (0.0ms) SAVEPOINT active_record_1
2645
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:17:00.212892"], ["updated_at", "2018-05-23 08:17:00.212892"]]
2646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2647
+  (0.0ms) SAVEPOINT active_record_1
2648
+ Yaw::WikiPage Exists (0.2ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page20"], ["wiki_space_id", 2], ["LIMIT", 1]]
2649
+ Yaw::WikiPage Create (0.3ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 2], ["path", "path/to/page20"], ["created_at", "2018-05-23 08:17:00.215716"], ["updated_at", "2018-05-23 08:17:00.215716"]]
2650
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:17:00.217720"], ["updated_at", "2018-05-23 08:17:00.217720"]]
2651
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2652
+ Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page20"], ["LIMIT", 1]]
2653
+  (0.5ms) rollback transaction
2654
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2655
+  (0.1ms) PRAGMA foreign_keys
2656
+  (0.1ms) PRAGMA foreign_keys = OFF
2657
+  (2.0ms) DELETE FROM "users";
2658
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2659
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';
2660
+  (2.0ms) DELETE FROM "wiki_page_revisions";
2661
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2662
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';
2663
+  (1.5ms) DELETE FROM "wiki_pages";
2664
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2665
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';
2666
+  (1.5ms) DELETE FROM "wiki_spaces";
2667
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2668
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';
2669
+  (1.3ms) DELETE FROM "ar_internal_metadata";
2670
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2671
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
2672
+  (0.0ms) PRAGMA foreign_keys = 1
2673
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2674
+  (0.1ms) PRAGMA foreign_keys
2675
+  (0.0ms) PRAGMA foreign_keys = OFF
2676
+  (1.1ms) DELETE FROM "users";
2677
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2678
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';
2679
+  (1.6ms) DELETE FROM "wiki_page_revisions";
2680
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2681
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';
2682
+  (1.5ms) DELETE FROM "wiki_pages";
2683
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2684
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';
2685
+  (0.9ms) DELETE FROM "wiki_spaces";
2686
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2687
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';
2688
+  (1.5ms) DELETE FROM "ar_internal_metadata";
2689
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2690
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
2691
+  (0.0ms) PRAGMA foreign_keys = 1
2692
+  (0.0ms) begin transaction
2693
+  (0.0ms) commit transaction
2694
+  (0.0ms) begin transaction
2695
+  (0.1ms) SAVEPOINT active_record_1
2696
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title1"], ["created_at", "2018-05-23 08:18:25.770987"], ["updated_at", "2018-05-23 08:18:25.770987"]]
2697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2698
+  (0.0ms) SAVEPOINT active_record_1
2699
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.784411"], ["updated_at", "2018-05-23 08:18:25.784411"]]
2700
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2701
+  (0.1ms) SAVEPOINT active_record_1
2702
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page1"], ["wiki_space_id", 1], ["LIMIT", 1]]
2703
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page1"], ["created_at", "2018-05-23 08:18:25.808032"], ["updated_at", "2018-05-23 08:18:25.808032"]]
2704
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.809018"], ["updated_at", "2018-05-23 08:18:25.809018"]]
2705
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2706
+ Processing by Yaw::WikiPageController#show as HTML
2707
+ Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"}
2708
+ Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title1"], ["LIMIT", 1]]
2709
+ Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page1"], ["LIMIT", 1]]
2710
+ Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]
2711
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki
2712
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2713
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki (0.2ms)
2714
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2715
+ Completed 200 OK in 19ms (Views: 8.8ms | ActiveRecord: 0.3ms)
2716
+  (0.6ms) rollback transaction
2717
+  (0.1ms) begin transaction
2718
+  (0.0ms) commit transaction
2719
+  (0.0ms) begin transaction
2720
+  (0.0ms) SAVEPOINT active_record_1
2721
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title2"], ["created_at", "2018-05-23 08:18:25.834038"], ["updated_at", "2018-05-23 08:18:25.834038"]]
2722
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2723
+  (0.0ms) SAVEPOINT active_record_1
2724
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.835336"], ["updated_at", "2018-05-23 08:18:25.835336"]]
2725
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2726
+  (0.0ms) SAVEPOINT active_record_1
2727
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page2"], ["wiki_space_id", 1], ["LIMIT", 1]]
2728
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page2"], ["created_at", "2018-05-23 08:18:25.837287"], ["updated_at", "2018-05-23 08:18:25.837287"]]
2729
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.837973"], ["updated_at", "2018-05-23 08:18:25.837973"]]
2730
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2731
+ Processing by Yaw::WikiPageController#show as HTML
2732
+ Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"}
2733
+ Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title2"], ["LIMIT", 1]]
2734
+ Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "new/id"], ["LIMIT", 1]]
2735
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki
2736
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2737
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.2ms)
2738
+ Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.1ms)
2739
+  (0.4ms) rollback transaction
2740
+  (0.0ms) begin transaction
2741
+  (0.0ms) commit transaction
2742
+  (0.0ms) begin transaction
2743
+  (0.0ms) SAVEPOINT active_record_1
2744
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title3"], ["created_at", "2018-05-23 08:18:25.848813"], ["updated_at", "2018-05-23 08:18:25.848813"]]
2745
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2746
+  (0.0ms) SAVEPOINT active_record_1
2747
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.850060"], ["updated_at", "2018-05-23 08:18:25.850060"]]
2748
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2749
+  (0.1ms) SAVEPOINT active_record_1
2750
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page3"], ["wiki_space_id", 1], ["LIMIT", 1]]
2751
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page3"], ["created_at", "2018-05-23 08:18:25.852037"], ["updated_at", "2018-05-23 08:18:25.852037"]]
2752
+ Yaw::WikiPageRevision Create (0.3ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.852836"], ["updated_at", "2018-05-23 08:18:25.852836"]]
2753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2754
+ Processing by Yaw::WikiPageController#show as HTML
2755
+ Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"}
2756
+ Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title3"], ["LIMIT", 1]]
2757
+ Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "This is a pen"], ["LIMIT", 1]]
2758
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki
2759
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.0ms)
2760
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
2761
+  (0.6ms) rollback transaction
2762
+  (0.0ms) begin transaction
2763
+  (0.0ms) commit transaction
2764
+  (0.0ms) begin transaction
2765
+  (0.1ms) SAVEPOINT active_record_1
2766
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title4"], ["created_at", "2018-05-23 08:18:25.860664"], ["updated_at", "2018-05-23 08:18:25.860664"]]
2767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2768
+  (0.0ms) SAVEPOINT active_record_1
2769
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.862490"], ["updated_at", "2018-05-23 08:18:25.862490"]]
2770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2771
+  (0.0ms) SAVEPOINT active_record_1
2772
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page4"], ["wiki_space_id", 1], ["LIMIT", 1]]
2773
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page4"], ["created_at", "2018-05-23 08:18:25.864551"], ["updated_at", "2018-05-23 08:18:25.864551"]]
2774
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.865258"], ["updated_at", "2018-05-23 08:18:25.865258"]]
2775
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2776
+ Processing by Yaw::WikiPageController#edit as HTML
2777
+ Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"}
2778
+ Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title4"], ["LIMIT", 1]]
2779
+ Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page4"], ["LIMIT", 1]]
2780
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki
2781
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2782
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki (0.2ms)
2783
+ Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.1ms)
2784
+  (0.5ms) rollback transaction
2785
+  (0.0ms) begin transaction
2786
+  (0.0ms) commit transaction
2787
+  (0.0ms) begin transaction
2788
+  (0.1ms) SAVEPOINT active_record_1
2789
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title5"], ["created_at", "2018-05-23 08:18:25.889053"], ["updated_at", "2018-05-23 08:18:25.889053"]]
2790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2791
+  (0.0ms) SAVEPOINT active_record_1
2792
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.890495"], ["updated_at", "2018-05-23 08:18:25.890495"]]
2793
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2794
+  (0.0ms) SAVEPOINT active_record_1
2795
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["wiki_space_id", 1], ["LIMIT", 1]]
2796
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page5"], ["created_at", "2018-05-23 08:18:25.892650"], ["updated_at", "2018-05-23 08:18:25.892650"]]
2797
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.893345"], ["updated_at", "2018-05-23 08:18:25.893345"]]
2798
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2799
+ Processing by Yaw::WikiPageController#update as HTML
2800
+ Parameters: {"wiki_page"=>{"body"=>"blah", "title"=>"new name"}, "wiki_space_id"=>"title5", "path"=>"path/to/page5"}
2801
+ Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title5"], ["LIMIT", 1]]
2802
+ Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page5"], ["LIMIT", 1]]
2803
+  (0.1ms) SAVEPOINT active_record_1
2804
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.902961"], ["updated_at", "2018-05-23 08:18:25.902961"]]
2805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2806
+  (0.0ms) SAVEPOINT active_record_1
2807
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]]
2808
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 1], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:18:25.905943"], ["updated_at", "2018-05-23 08:18:25.905943"]]
2809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2810
+ Redirected to http://test.host/wiki/title5/wiki/path/to/page5
2811
+ Completed 302 Found in 24ms (ActiveRecord: 0.6ms)
2812
+ Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2813
+ Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]
2814
+ Yaw::WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]
2815
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
2816
+  (0.6ms) rollback transaction
2817
+  (0.0ms) begin transaction
2818
+  (0.0ms) commit transaction
2819
+  (0.0ms) begin transaction
2820
+  (0.0ms) SAVEPOINT active_record_1
2821
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title6"], ["created_at", "2018-05-23 08:18:25.932236"], ["updated_at", "2018-05-23 08:18:25.932236"]]
2822
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2823
+  (0.0ms) SAVEPOINT active_record_1
2824
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.933851"], ["updated_at", "2018-05-23 08:18:25.933851"]]
2825
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2826
+  (0.1ms) SAVEPOINT active_record_1
2827
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page6"], ["wiki_space_id", 1], ["LIMIT", 1]]
2828
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page6"], ["created_at", "2018-05-23 08:18:25.936657"], ["updated_at", "2018-05-23 08:18:25.936657"]]
2829
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.937630"], ["updated_at", "2018-05-23 08:18:25.937630"]]
2830
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2831
+ Processing by Yaw::WikiPageController#create as HTML
2832
+ Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"}
2833
+ Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title6"], ["LIMIT", 1]]
2834
+  (0.0ms) SAVEPOINT active_record_1
2835
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.940914"], ["updated_at", "2018-05-23 08:18:25.940914"]]
2836
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2837
+  (0.0ms) SAVEPOINT active_record_1
2838
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path"], ["wiki_space_id", 1], ["LIMIT", 1]]
2839
+ Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path"], ["created_at", "2018-05-23 08:18:25.943645"], ["updated_at", "2018-05-23 08:18:25.943645"]]
2840
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:18:25.944444"], ["updated_at", "2018-05-23 08:18:25.944444"]]
2841
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2842
+ Redirected to http://test.host/wiki/title6/wiki/path
2843
+ Completed 302 Found in 21ms (ActiveRecord: 0.6ms)
2844
+ Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 2], ["LIMIT", 1]]
2845
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
2846
+  (0.6ms) rollback transaction
2847
+  (0.0ms) begin transaction
2848
+  (0.0ms) commit transaction
2849
+  (0.0ms) begin transaction
2850
+  (0.0ms) SAVEPOINT active_record_1
2851
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title7"], ["created_at", "2018-05-23 08:18:25.966509"], ["updated_at", "2018-05-23 08:18:25.966509"]]
2852
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2853
+  (0.0ms) SAVEPOINT active_record_1
2854
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.968129"], ["updated_at", "2018-05-23 08:18:25.968129"]]
2855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2856
+  (0.0ms) SAVEPOINT active_record_1
2857
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page7"], ["wiki_space_id", 1], ["LIMIT", 1]]
2858
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page7"], ["created_at", "2018-05-23 08:18:25.970790"], ["updated_at", "2018-05-23 08:18:25.970790"]]
2859
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.971686"], ["updated_at", "2018-05-23 08:18:25.971686"]]
2860
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2861
+ Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
2862
+  (0.5ms) rollback transaction
2863
+  (0.0ms) begin transaction
2864
+  (0.0ms) commit transaction
2865
+  (0.0ms) begin transaction
2866
+  (0.1ms) SAVEPOINT active_record_1
2867
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title8"], ["created_at", "2018-05-23 08:18:25.978022"], ["updated_at", "2018-05-23 08:18:25.978022"]]
2868
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2869
+  (0.0ms) SAVEPOINT active_record_1
2870
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.979637"], ["updated_at", "2018-05-23 08:18:25.979637"]]
2871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2872
+  (0.0ms) SAVEPOINT active_record_1
2873
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page8"], ["wiki_space_id", 1], ["LIMIT", 1]]
2874
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page8"], ["created_at", "2018-05-23 08:18:25.982030"], ["updated_at", "2018-05-23 08:18:25.982030"]]
2875
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.982910"], ["updated_at", "2018-05-23 08:18:25.982910"]]
2876
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2877
+ Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
2878
+  (0.5ms) rollback transaction
2879
+  (0.0ms) begin transaction
2880
+  (0.0ms) commit transaction
2881
+  (0.0ms) begin transaction
2882
+  (0.1ms) SAVEPOINT active_record_1
2883
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title9"], ["created_at", "2018-05-23 08:18:25.988862"], ["updated_at", "2018-05-23 08:18:25.988862"]]
2884
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2885
+  (0.0ms) SAVEPOINT active_record_1
2886
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:25.990631"], ["updated_at", "2018-05-23 08:18:25.990631"]]
2887
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2888
+  (0.0ms) SAVEPOINT active_record_1
2889
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page9"], ["wiki_space_id", 1], ["LIMIT", 1]]
2890
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page9"], ["created_at", "2018-05-23 08:18:25.993129"], ["updated_at", "2018-05-23 08:18:25.993129"]]
2891
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:25.994097"], ["updated_at", "2018-05-23 08:18:25.994097"]]
2892
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2893
+ Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
2894
+  (0.6ms) rollback transaction
2895
+  (0.0ms) begin transaction
2896
+  (0.0ms) commit transaction
2897
+  (0.0ms) begin transaction
2898
+  (0.0ms) SAVEPOINT active_record_1
2899
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title10"], ["created_at", "2018-05-23 08:18:26.000044"], ["updated_at", "2018-05-23 08:18:26.000044"]]
2900
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2901
+  (0.0ms) SAVEPOINT active_record_1
2902
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.001824"], ["updated_at", "2018-05-23 08:18:26.001824"]]
2903
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2904
+  (0.1ms) SAVEPOINT active_record_1
2905
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page10"], ["wiki_space_id", 1], ["LIMIT", 1]]
2906
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page10"], ["created_at", "2018-05-23 08:18:26.004951"], ["updated_at", "2018-05-23 08:18:26.004951"]]
2907
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.005907"], ["updated_at", "2018-05-23 08:18:26.005907"]]
2908
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2909
+  (0.1ms) SAVEPOINT active_record_1
2910
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.008312"], ["updated_at", "2018-05-23 08:18:26.008312"]]
2911
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2912
+  (0.0ms) SAVEPOINT active_record_1
2913
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]]
2914
+ Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-23 08:18:26.010494"], ["updated_at", "2018-05-23 08:18:26.010494"]]
2915
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.011353"], ["updated_at", "2018-05-23 08:18:26.011353"]]
2916
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2917
+ Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
2918
+  (0.6ms) rollback transaction
2919
+  (0.0ms) begin transaction
2920
+  (0.0ms) commit transaction
2921
+  (0.0ms) begin transaction
2922
+  (0.0ms) SAVEPOINT active_record_1
2923
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title11"], ["created_at", "2018-05-23 08:18:26.016854"], ["updated_at", "2018-05-23 08:18:26.016854"]]
2924
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2925
+  (0.0ms) SAVEPOINT active_record_1
2926
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.018468"], ["updated_at", "2018-05-23 08:18:26.018468"]]
2927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2928
+  (0.0ms) SAVEPOINT active_record_1
2929
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page11"], ["wiki_space_id", 1], ["LIMIT", 1]]
2930
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page11"], ["created_at", "2018-05-23 08:18:26.021240"], ["updated_at", "2018-05-23 08:18:26.021240"]]
2931
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.022215"], ["updated_at", "2018-05-23 08:18:26.022215"]]
2932
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2933
+  (0.0ms) SAVEPOINT active_record_1
2934
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.024424"], ["updated_at", "2018-05-23 08:18:26.024424"]]
2935
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2936
+  (0.0ms) SAVEPOINT active_record_1
2937
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]]
2938
+ Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-23 08:18:26.026724"], ["updated_at", "2018-05-23 08:18:26.026724"]]
2939
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.027487"], ["updated_at", "2018-05-23 08:18:26.027487"]]
2940
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2941
+ Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
2942
+  (0.6ms) rollback transaction
2943
+  (0.0ms) begin transaction
2944
+  (0.0ms) commit transaction
2945
+  (0.0ms) begin transaction
2946
+  (0.0ms) rollback transaction
2947
+  (0.0ms) begin transaction
2948
+  (0.0ms) commit transaction
2949
+  (0.0ms) begin transaction
2950
+  (0.0ms) rollback transaction
2951
+  (0.0ms) begin transaction
2952
+  (0.1ms) commit transaction
2953
+  (0.0ms) begin transaction
2954
+  (0.0ms) SAVEPOINT active_record_1
2955
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title12"], ["created_at", "2018-05-23 08:18:26.036263"], ["updated_at", "2018-05-23 08:18:26.036263"]]
2956
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2957
+  (0.0ms) SAVEPOINT active_record_1
2958
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.038566"], ["updated_at", "2018-05-23 08:18:26.038566"]]
2959
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2960
+  (0.6ms) rollback transaction
2961
+  (0.0ms) begin transaction
2962
+  (0.0ms) commit transaction
2963
+  (0.1ms) begin transaction
2964
+  (0.1ms) SAVEPOINT active_record_1
2965
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title13"], ["created_at", "2018-05-23 08:18:26.042059"], ["updated_at", "2018-05-23 08:18:26.042059"]]
2966
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2967
+  (0.0ms) SAVEPOINT active_record_1
2968
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.044096"], ["updated_at", "2018-05-23 08:18:26.044096"]]
2969
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2970
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"
2971
+  (0.0ms) SAVEPOINT active_record_1
2972
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page"], ["wiki_space_id", 1], ["LIMIT", 1]]
2973
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page"], ["created_at", "2018-05-23 08:18:26.049463"], ["updated_at", "2018-05-23 08:18:26.049463"]]
2974
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "title"], ["body", "body"], ["created_at", "2018-05-23 08:18:26.050494"], ["updated_at", "2018-05-23 08:18:26.050494"]]
2975
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2976
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"
2977
+  (0.6ms) rollback transaction
2978
+  (0.0ms) begin transaction
2979
+  (0.0ms) commit transaction
2980
+  (0.1ms) begin transaction
2981
+  (0.0ms) SAVEPOINT active_record_1
2982
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title14"], ["created_at", "2018-05-23 08:18:26.054216"], ["updated_at", "2018-05-23 08:18:26.054216"]]
2983
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2984
+  (0.0ms) SAVEPOINT active_record_1
2985
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.056821"], ["updated_at", "2018-05-23 08:18:26.056821"]]
2986
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2987
+  (0.5ms) rollback transaction
2988
+  (0.1ms) begin transaction
2989
+  (0.0ms) commit transaction
2990
+  (0.0ms) begin transaction
2991
+  (0.0ms) SAVEPOINT active_record_1
2992
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title15"], ["created_at", "2018-05-23 08:18:26.060053"], ["updated_at", "2018-05-23 08:18:26.060053"]]
2993
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2994
+  (0.0ms) SAVEPOINT active_record_1
2995
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.062314"], ["updated_at", "2018-05-23 08:18:26.062314"]]
2996
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2997
+  (0.5ms) rollback transaction
2998
+  (0.1ms) begin transaction
2999
+  (0.0ms) commit transaction
3000
+  (0.0ms) begin transaction
3001
+  (0.0ms) SAVEPOINT active_record_1
3002
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title16"], ["created_at", "2018-05-23 08:18:26.065376"], ["updated_at", "2018-05-23 08:18:26.065376"]]
3003
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3004
+  (0.0ms) SAVEPOINT active_record_1
3005
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.067098"], ["updated_at", "2018-05-23 08:18:26.067098"]]
3006
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3007
+  (0.0ms) SAVEPOINT active_record_1
3008
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["wiki_space_id", 1], ["LIMIT", 1]]
3009
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page12"], ["created_at", "2018-05-23 08:18:26.069852"], ["updated_at", "2018-05-23 08:18:26.069852"]]
3010
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.070834"], ["updated_at", "2018-05-23 08:18:26.070834"]]
3011
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3012
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]
3013
+  (0.0ms) SAVEPOINT active_record_1
3014
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]]
3015
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("wiki_page_id", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_page_id", 1], ["body", "new title"], ["created_at", "2018-05-23 08:18:26.074260"], ["updated_at", "2018-05-23 08:18:26.074260"]]
3016
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3017
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]
3018
+  (0.6ms) rollback transaction
3019
+  (0.0ms) begin transaction
3020
+  (0.0ms) commit transaction
3021
+  (0.0ms) begin transaction
3022
+  (0.1ms) SAVEPOINT active_record_1
3023
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title17"], ["created_at", "2018-05-23 08:18:26.091808"], ["updated_at", "2018-05-23 08:18:26.091808"]]
3024
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3025
+  (0.0ms) SAVEPOINT active_record_1
3026
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.093554"], ["updated_at", "2018-05-23 08:18:26.093554"]]
3027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3028
+  (0.1ms) SAVEPOINT active_record_1
3029
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page13"], ["wiki_space_id", 1], ["LIMIT", 1]]
3030
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page13"], ["created_at", "2018-05-23 08:18:26.096032"], ["updated_at", "2018-05-23 08:18:26.096032"]]
3031
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.096933"], ["updated_at", "2018-05-23 08:18:26.096933"]]
3032
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3033
+  (0.1ms) SAVEPOINT active_record_1
3034
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.098757"], ["updated_at", "2018-05-23 08:18:26.098757"]]
3035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3036
+  (0.5ms) rollback transaction
3037
+  (0.0ms) begin transaction
3038
+  (0.0ms) commit transaction
3039
+  (0.0ms) begin transaction
3040
+  (0.0ms) SAVEPOINT active_record_1
3041
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title18"], ["created_at", "2018-05-23 08:18:26.102027"], ["updated_at", "2018-05-23 08:18:26.102027"]]
3042
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3043
+  (0.0ms) SAVEPOINT active_record_1
3044
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.103632"], ["updated_at", "2018-05-23 08:18:26.103632"]]
3045
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3046
+  (0.0ms) SAVEPOINT active_record_1
3047
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page14"], ["wiki_space_id", 1], ["LIMIT", 1]]
3048
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page14"], ["created_at", "2018-05-23 08:18:26.105964"], ["updated_at", "2018-05-23 08:18:26.105964"]]
3049
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.106804"], ["updated_at", "2018-05-23 08:18:26.106804"]]
3050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3051
+  (0.0ms) SAVEPOINT active_record_1
3052
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.108451"], ["updated_at", "2018-05-23 08:18:26.108451"]]
3053
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3054
+  (0.5ms) rollback transaction
3055
+  (0.0ms) begin transaction
3056
+  (0.0ms) commit transaction
3057
+  (0.0ms) begin transaction
3058
+  (0.1ms) SAVEPOINT active_record_1
3059
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title19"], ["created_at", "2018-05-23 08:18:26.111621"], ["updated_at", "2018-05-23 08:18:26.111621"]]
3060
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3061
+  (0.0ms) SAVEPOINT active_record_1
3062
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.113150"], ["updated_at", "2018-05-23 08:18:26.113150"]]
3063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3064
+  (0.0ms) SAVEPOINT active_record_1
3065
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page15"], ["wiki_space_id", 1], ["LIMIT", 1]]
3066
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page15"], ["created_at", "2018-05-23 08:18:26.115425"], ["updated_at", "2018-05-23 08:18:26.115425"]]
3067
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.116422"], ["updated_at", "2018-05-23 08:18:26.116422"]]
3068
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3069
+  (0.0ms) SAVEPOINT active_record_1
3070
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.118128"], ["updated_at", "2018-05-23 08:18:26.118128"]]
3071
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3072
+  (0.5ms) rollback transaction
3073
+  (0.0ms) begin transaction
3074
+  (0.0ms) commit transaction
3075
+  (0.0ms) begin transaction
3076
+  (0.1ms) SAVEPOINT active_record_1
3077
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title20"], ["created_at", "2018-05-23 08:18:26.121096"], ["updated_at", "2018-05-23 08:18:26.121096"]]
3078
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3079
+  (0.0ms) SAVEPOINT active_record_1
3080
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.122629"], ["updated_at", "2018-05-23 08:18:26.122629"]]
3081
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3082
+  (0.0ms) SAVEPOINT active_record_1
3083
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page16"], ["wiki_space_id", 1], ["LIMIT", 1]]
3084
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page16"], ["created_at", "2018-05-23 08:18:26.125362"], ["updated_at", "2018-05-23 08:18:26.125362"]]
3085
+ Yaw::WikiPageRevision Create (0.3ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.126361"], ["updated_at", "2018-05-23 08:18:26.126361"]]
3086
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3087
+ Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]
3088
+  (0.6ms) rollback transaction
3089
+  (0.1ms) begin transaction
3090
+  (0.0ms) commit transaction
3091
+  (0.0ms) begin transaction
3092
+  (0.0ms) SAVEPOINT active_record_1
3093
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title21"], ["created_at", "2018-05-23 08:18:26.131062"], ["updated_at", "2018-05-23 08:18:26.131062"]]
3094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3095
+  (0.0ms) SAVEPOINT active_record_1
3096
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.132524"], ["updated_at", "2018-05-23 08:18:26.132524"]]
3097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3098
+  (0.1ms) SAVEPOINT active_record_1
3099
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 1], ["LIMIT", 1]]
3100
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page17"], ["created_at", "2018-05-23 08:18:26.134983"], ["updated_at", "2018-05-23 08:18:26.134983"]]
3101
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.136079"], ["updated_at", "2018-05-23 08:18:26.136079"]]
3102
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3103
+  (0.0ms) SAVEPOINT active_record_1
3104
+ Yaw::WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title22"], ["created_at", "2018-05-23 08:18:26.137762"], ["updated_at", "2018-05-23 08:18:26.137762"]]
3105
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3106
+  (0.0ms) SAVEPOINT active_record_1
3107
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.138910"], ["updated_at", "2018-05-23 08:18:26.138910"]]
3108
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3109
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 2], ["LIMIT", 1]]
3110
+  (0.6ms) rollback transaction
3111
+  (0.0ms) begin transaction
3112
+  (0.0ms) commit transaction
3113
+  (0.0ms) begin transaction
3114
+  (0.1ms) SAVEPOINT active_record_1
3115
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title23"], ["created_at", "2018-05-23 08:18:26.143473"], ["updated_at", "2018-05-23 08:18:26.143473"]]
3116
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3117
+  (0.0ms) SAVEPOINT active_record_1
3118
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.145127"], ["updated_at", "2018-05-23 08:18:26.145127"]]
3119
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3120
+  (0.0ms) SAVEPOINT active_record_1
3121
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]
3122
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page18"], ["created_at", "2018-05-23 08:18:26.147499"], ["updated_at", "2018-05-23 08:18:26.147499"]]
3123
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.148356"], ["updated_at", "2018-05-23 08:18:26.148356"]]
3124
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3125
+  (0.0ms) SAVEPOINT active_record_1
3126
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.149963"], ["updated_at", "2018-05-23 08:18:26.149963"]]
3127
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3128
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]
3129
+  (0.6ms) rollback transaction
3130
+  (0.0ms) begin transaction
3131
+  (0.0ms) commit transaction
3132
+  (0.1ms) begin transaction
3133
+  (0.1ms) SAVEPOINT active_record_1
3134
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title24"], ["created_at", "2018-05-23 08:18:26.169726"], ["updated_at", "2018-05-23 08:18:26.169726"]]
3135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3136
+  (0.0ms) SAVEPOINT active_record_1
3137
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.171322"], ["updated_at", "2018-05-23 08:18:26.171322"]]
3138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3139
+  (0.0ms) SAVEPOINT active_record_1
3140
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page19"], ["wiki_space_id", 1], ["LIMIT", 1]]
3141
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page19"], ["created_at", "2018-05-23 08:18:26.173859"], ["updated_at", "2018-05-23 08:18:26.173859"]]
3142
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.174784"], ["updated_at", "2018-05-23 08:18:26.174784"]]
3143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3144
+  (0.0ms) SAVEPOINT active_record_1
3145
+ Yaw::WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title25"], ["created_at", "2018-05-23 08:18:26.176467"], ["updated_at", "2018-05-23 08:18:26.176467"]]
3146
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3147
+  (0.0ms) SAVEPOINT active_record_1
3148
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:18:26.177669"], ["updated_at", "2018-05-23 08:18:26.177669"]]
3149
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3150
+  (0.0ms) SAVEPOINT active_record_1
3151
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page20"], ["wiki_space_id", 2], ["LIMIT", 1]]
3152
+ Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 2], ["path", "path/to/page20"], ["created_at", "2018-05-23 08:18:26.179959"], ["updated_at", "2018-05-23 08:18:26.179959"]]
3153
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:18:26.180709"], ["updated_at", "2018-05-23 08:18:26.180709"]]
3154
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3155
+ Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page20"], ["LIMIT", 1]]
3156
+  (0.5ms) rollback transaction
3157
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3158
+  (0.1ms) PRAGMA foreign_keys
3159
+  (0.1ms) PRAGMA foreign_keys = OFF
3160
+  (1.0ms) DELETE FROM "users";
3161
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3162
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';
3163
+  (1.1ms) DELETE FROM "wiki_page_revisions";
3164
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3165
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_page_revisions';
3166
+  (1.2ms) DELETE FROM "wiki_pages";
3167
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3168
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_pages';
3169
+  (0.8ms) DELETE FROM "wiki_spaces";
3170
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3171
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'wiki_spaces';
3172
+  (1.0ms) DELETE FROM "ar_internal_metadata";
3173
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3174
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
3175
+  (0.0ms) PRAGMA foreign_keys = 1
3176
+  (0.1ms) begin transaction
3177
+  (0.0ms) commit transaction
3178
+  (0.0ms) begin transaction
3179
+  (0.0ms) SAVEPOINT active_record_1
3180
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title1"], ["created_at", "2018-05-23 08:19:21.637228"], ["updated_at", "2018-05-23 08:19:21.637228"]]
3181
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3182
+  (0.0ms) SAVEPOINT active_record_1
3183
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.654751"], ["updated_at", "2018-05-23 08:19:21.654751"]]
3184
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3185
+  (0.1ms) SAVEPOINT active_record_1
3186
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page1"], ["wiki_space_id", 1], ["LIMIT", 1]]
3187
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page1"], ["created_at", "2018-05-23 08:19:21.676630"], ["updated_at", "2018-05-23 08:19:21.676630"]]
3188
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.677514"], ["updated_at", "2018-05-23 08:19:21.677514"]]
3189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3190
+ Processing by Yaw::WikiPageController#show as HTML
3191
+ Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"}
3192
+ Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title1"], ["LIMIT", 1]]
3193
+ Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page1"], ["LIMIT", 1]]
3194
+ Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]
3195
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki
3196
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
3197
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/show.html.haml within layouts/wiki (0.3ms)
3198
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
3199
+ Completed 200 OK in 19ms (Views: 9.6ms | ActiveRecord: 0.3ms)
3200
+  (0.6ms) rollback transaction
3201
+  (0.0ms) begin transaction
3202
+  (0.0ms) commit transaction
3203
+  (0.0ms) begin transaction
3204
+  (0.1ms) SAVEPOINT active_record_1
3205
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title2"], ["created_at", "2018-05-23 08:19:21.703301"], ["updated_at", "2018-05-23 08:19:21.703301"]]
3206
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3207
+  (0.0ms) SAVEPOINT active_record_1
3208
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.704664"], ["updated_at", "2018-05-23 08:19:21.704664"]]
3209
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3210
+  (0.0ms) SAVEPOINT active_record_1
3211
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page2"], ["wiki_space_id", 1], ["LIMIT", 1]]
3212
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page2"], ["created_at", "2018-05-23 08:19:21.706725"], ["updated_at", "2018-05-23 08:19:21.706725"]]
3213
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.707442"], ["updated_at", "2018-05-23 08:19:21.707442"]]
3214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3215
+ Processing by Yaw::WikiPageController#show as HTML
3216
+ Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"}
3217
+ Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title2"], ["LIMIT", 1]]
3218
+ Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "new/id"], ["LIMIT", 1]]
3219
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki
3220
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
3221
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.3ms)
3222
+ Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.1ms)
3223
+  (0.5ms) rollback transaction
3224
+  (0.0ms) begin transaction
3225
+  (0.0ms) commit transaction
3226
+  (0.0ms) begin transaction
3227
+  (0.1ms) SAVEPOINT active_record_1
3228
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title3"], ["created_at", "2018-05-23 08:19:21.718713"], ["updated_at", "2018-05-23 08:19:21.718713"]]
3229
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3230
+  (0.0ms) SAVEPOINT active_record_1
3231
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.720011"], ["updated_at", "2018-05-23 08:19:21.720011"]]
3232
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3233
+  (0.0ms) SAVEPOINT active_record_1
3234
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page3"], ["wiki_space_id", 1], ["LIMIT", 1]]
3235
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page3"], ["created_at", "2018-05-23 08:19:21.722035"], ["updated_at", "2018-05-23 08:19:21.722035"]]
3236
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.722760"], ["updated_at", "2018-05-23 08:19:21.722760"]]
3237
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3238
+ Processing by Yaw::WikiPageController#show as HTML
3239
+ Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"}
3240
+ Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title3"], ["LIMIT", 1]]
3241
+ Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "This is a pen"], ["LIMIT", 1]]
3242
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki
3243
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/new.html.haml within layouts/wiki (0.0ms)
3244
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
3245
+  (0.6ms) rollback transaction
3246
+  (0.0ms) begin transaction
3247
+  (0.0ms) commit transaction
3248
+  (0.0ms) begin transaction
3249
+  (0.0ms) SAVEPOINT active_record_1
3250
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title4"], ["created_at", "2018-05-23 08:19:21.729314"], ["updated_at", "2018-05-23 08:19:21.729314"]]
3251
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3252
+  (0.0ms) SAVEPOINT active_record_1
3253
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.730706"], ["updated_at", "2018-05-23 08:19:21.730706"]]
3254
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3255
+  (0.0ms) SAVEPOINT active_record_1
3256
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page4"], ["wiki_space_id", 1], ["LIMIT", 1]]
3257
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page4"], ["created_at", "2018-05-23 08:19:21.732833"], ["updated_at", "2018-05-23 08:19:21.732833"]]
3258
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.733843"], ["updated_at", "2018-05-23 08:19:21.733843"]]
3259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3260
+ Processing by Yaw::WikiPageController#edit as HTML
3261
+ Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"}
3262
+ Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title4"], ["LIMIT", 1]]
3263
+ Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page4"], ["LIMIT", 1]]
3264
+ Rendering /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki
3265
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
3266
+ Rendered /Users/terry/git/yaw/app/views/yaw/wiki_page/edit.html.haml within layouts/wiki (0.2ms)
3267
+ Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.1ms)
3268
+  (0.6ms) rollback transaction
3269
+  (0.0ms) begin transaction
3270
+  (0.0ms) commit transaction
3271
+  (0.0ms) begin transaction
3272
+  (0.1ms) SAVEPOINT active_record_1
3273
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title5"], ["created_at", "2018-05-23 08:19:21.757879"], ["updated_at", "2018-05-23 08:19:21.757879"]]
3274
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3275
+  (0.0ms) SAVEPOINT active_record_1
3276
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.759556"], ["updated_at", "2018-05-23 08:19:21.759556"]]
3277
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3278
+  (0.0ms) SAVEPOINT active_record_1
3279
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["wiki_space_id", 1], ["LIMIT", 1]]
3280
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page5"], ["created_at", "2018-05-23 08:19:21.762306"], ["updated_at", "2018-05-23 08:19:21.762306"]]
3281
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.763249"], ["updated_at", "2018-05-23 08:19:21.763249"]]
3282
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3283
+ Processing by Yaw::WikiPageController#update as HTML
3284
+ Parameters: {"wiki_page"=>{"body"=>"blah", "title"=>"new name"}, "wiki_space_id"=>"title5", "path"=>"path/to/page5"}
3285
+ Yaw::WikiSpace Load (0.1ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title5"], ["LIMIT", 1]]
3286
+ Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page5"], ["LIMIT", 1]]
3287
+  (0.1ms) SAVEPOINT active_record_1
3288
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.773577"], ["updated_at", "2018-05-23 08:19:21.773577"]]
3289
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3290
+  (0.0ms) SAVEPOINT active_record_1
3291
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page5"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]]
3292
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 1], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:19:21.776717"], ["updated_at", "2018-05-23 08:19:21.776717"]]
3293
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3294
+ Redirected to http://test.host/wiki/title5/wiki/path/to/page5
3295
+ Completed 302 Found in 27ms (ActiveRecord: 0.6ms)
3296
+ Yaw::WikiPage Load (0.2ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3297
+ Yaw::WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]
3298
+ Yaw::WikiPageRevision Load (0.0ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]
3299
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
3300
+  (0.6ms) rollback transaction
3301
+  (0.0ms) begin transaction
3302
+  (0.0ms) commit transaction
3303
+  (0.1ms) begin transaction
3304
+  (0.0ms) SAVEPOINT active_record_1
3305
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title6"], ["created_at", "2018-05-23 08:19:21.806214"], ["updated_at", "2018-05-23 08:19:21.806214"]]
3306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3307
+  (0.1ms) SAVEPOINT active_record_1
3308
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.807709"], ["updated_at", "2018-05-23 08:19:21.807709"]]
3309
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3310
+  (0.0ms) SAVEPOINT active_record_1
3311
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page6"], ["wiki_space_id", 1], ["LIMIT", 1]]
3312
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page6"], ["created_at", "2018-05-23 08:19:21.810039"], ["updated_at", "2018-05-23 08:19:21.810039"]]
3313
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.810891"], ["updated_at", "2018-05-23 08:19:21.810891"]]
3314
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3315
+ Processing by Yaw::WikiPageController#create as HTML
3316
+ Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"}
3317
+ Yaw::WikiSpace Load (0.0ms) SELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ? [["title", "title6"], ["LIMIT", 1]]
3318
+  (0.0ms) SAVEPOINT active_record_1
3319
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.813711"], ["updated_at", "2018-05-23 08:19:21.813711"]]
3320
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3321
+  (0.0ms) SAVEPOINT active_record_1
3322
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path"], ["wiki_space_id", 1], ["LIMIT", 1]]
3323
+ Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path"], ["created_at", "2018-05-23 08:19:21.816382"], ["updated_at", "2018-05-23 08:19:21.816382"]]
3324
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "new name"], ["body", "blah"], ["created_at", "2018-05-23 08:19:21.817087"], ["updated_at", "2018-05-23 08:19:21.817087"]]
3325
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3326
+ Redirected to http://test.host/wiki/title6/wiki/path
3327
+ Completed 302 Found in 20ms (ActiveRecord: 0.5ms)
3328
+ Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 2], ["LIMIT", 1]]
3329
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
3330
+  (0.5ms) rollback transaction
3331
+  (0.0ms) begin transaction
3332
+  (0.0ms) commit transaction
3333
+  (0.0ms) begin transaction
3334
+  (0.0ms) SAVEPOINT active_record_1
3335
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title7"], ["created_at", "2018-05-23 08:19:21.838438"], ["updated_at", "2018-05-23 08:19:21.838438"]]
3336
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3337
+  (0.0ms) SAVEPOINT active_record_1
3338
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.840035"], ["updated_at", "2018-05-23 08:19:21.840035"]]
3339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3340
+  (0.1ms) SAVEPOINT active_record_1
3341
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page7"], ["wiki_space_id", 1], ["LIMIT", 1]]
3342
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page7"], ["created_at", "2018-05-23 08:19:21.842683"], ["updated_at", "2018-05-23 08:19:21.842683"]]
3343
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.843552"], ["updated_at", "2018-05-23 08:19:21.843552"]]
3344
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3345
+ Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
3346
+  (0.6ms) rollback transaction
3347
+  (0.0ms) begin transaction
3348
+  (0.0ms) commit transaction
3349
+  (0.0ms) begin transaction
3350
+  (0.0ms) SAVEPOINT active_record_1
3351
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title8"], ["created_at", "2018-05-23 08:19:21.849678"], ["updated_at", "2018-05-23 08:19:21.849678"]]
3352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3353
+  (0.0ms) SAVEPOINT active_record_1
3354
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.851305"], ["updated_at", "2018-05-23 08:19:21.851305"]]
3355
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3356
+  (0.0ms) SAVEPOINT active_record_1
3357
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page8"], ["wiki_space_id", 1], ["LIMIT", 1]]
3358
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page8"], ["created_at", "2018-05-23 08:19:21.853891"], ["updated_at", "2018-05-23 08:19:21.853891"]]
3359
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.854822"], ["updated_at", "2018-05-23 08:19:21.854822"]]
3360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3361
+ Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
3362
+  (0.7ms) rollback transaction
3363
+  (0.0ms) begin transaction
3364
+  (0.0ms) commit transaction
3365
+  (0.0ms) begin transaction
3366
+  (0.1ms) SAVEPOINT active_record_1
3367
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title9"], ["created_at", "2018-05-23 08:19:21.861695"], ["updated_at", "2018-05-23 08:19:21.861695"]]
3368
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3369
+  (0.0ms) SAVEPOINT active_record_1
3370
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.863327"], ["updated_at", "2018-05-23 08:19:21.863327"]]
3371
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3372
+  (0.0ms) SAVEPOINT active_record_1
3373
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page9"], ["wiki_space_id", 1], ["LIMIT", 1]]
3374
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page9"], ["created_at", "2018-05-23 08:19:21.865821"], ["updated_at", "2018-05-23 08:19:21.865821"]]
3375
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.866797"], ["updated_at", "2018-05-23 08:19:21.866797"]]
3376
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3377
+ Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
3378
+  (0.6ms) rollback transaction
3379
+  (0.1ms) begin transaction
3380
+  (0.0ms) commit transaction
3381
+  (0.0ms) begin transaction
3382
+  (0.1ms) SAVEPOINT active_record_1
3383
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title10"], ["created_at", "2018-05-23 08:19:21.873212"], ["updated_at", "2018-05-23 08:19:21.873212"]]
3384
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3385
+  (0.0ms) SAVEPOINT active_record_1
3386
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.875060"], ["updated_at", "2018-05-23 08:19:21.875060"]]
3387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3388
+  (0.0ms) SAVEPOINT active_record_1
3389
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page10"], ["wiki_space_id", 1], ["LIMIT", 1]]
3390
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page10"], ["created_at", "2018-05-23 08:19:21.877661"], ["updated_at", "2018-05-23 08:19:21.877661"]]
3391
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.878552"], ["updated_at", "2018-05-23 08:19:21.878552"]]
3392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3393
+  (0.1ms) SAVEPOINT active_record_1
3394
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.880746"], ["updated_at", "2018-05-23 08:19:21.880746"]]
3395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3396
+  (0.1ms) SAVEPOINT active_record_1
3397
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]]
3398
+ Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-23 08:19:21.882967"], ["updated_at", "2018-05-23 08:19:21.882967"]]
3399
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.883816"], ["updated_at", "2018-05-23 08:19:21.883816"]]
3400
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3401
+ Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
3402
+  (0.6ms) rollback transaction
3403
+  (0.1ms) begin transaction
3404
+  (0.0ms) commit transaction
3405
+  (0.0ms) begin transaction
3406
+  (0.0ms) SAVEPOINT active_record_1
3407
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title11"], ["created_at", "2018-05-23 08:19:21.889483"], ["updated_at", "2018-05-23 08:19:21.889483"]]
3408
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3409
+  (0.0ms) SAVEPOINT active_record_1
3410
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.891272"], ["updated_at", "2018-05-23 08:19:21.891272"]]
3411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3412
+  (0.0ms) SAVEPOINT active_record_1
3413
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page11"], ["wiki_space_id", 1], ["LIMIT", 1]]
3414
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page11"], ["created_at", "2018-05-23 08:19:21.893827"], ["updated_at", "2018-05-23 08:19:21.893827"]]
3415
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.894704"], ["updated_at", "2018-05-23 08:19:21.894704"]]
3416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3417
+  (0.0ms) SAVEPOINT active_record_1
3418
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.896830"], ["updated_at", "2018-05-23 08:19:21.896830"]]
3419
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3420
+  (0.0ms) SAVEPOINT active_record_1
3421
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]]
3422
+ Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "something here"], ["created_at", "2018-05-23 08:19:21.899057"], ["updated_at", "2018-05-23 08:19:21.899057"]]
3423
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.899882"], ["updated_at", "2018-05-23 08:19:21.899882"]]
3424
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3425
+ Yaw::WikiPage Load (0.1ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
3426
+  (0.6ms) rollback transaction
3427
+  (0.1ms) begin transaction
3428
+  (0.0ms) commit transaction
3429
+  (0.0ms) begin transaction
3430
+  (0.0ms) rollback transaction
3431
+  (0.0ms) begin transaction
3432
+  (0.0ms) commit transaction
3433
+  (0.0ms) begin transaction
3434
+  (0.1ms) rollback transaction
3435
+  (0.0ms) begin transaction
3436
+  (0.0ms) commit transaction
3437
+  (0.0ms) begin transaction
3438
+  (0.0ms) SAVEPOINT active_record_1
3439
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title12"], ["created_at", "2018-05-23 08:19:21.909379"], ["updated_at", "2018-05-23 08:19:21.909379"]]
3440
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3441
+  (0.0ms) SAVEPOINT active_record_1
3442
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.911689"], ["updated_at", "2018-05-23 08:19:21.911689"]]
3443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3444
+  (0.6ms) rollback transaction
3445
+  (0.0ms) begin transaction
3446
+  (0.0ms) commit transaction
3447
+  (0.0ms) begin transaction
3448
+  (0.1ms) SAVEPOINT active_record_1
3449
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title13"], ["created_at", "2018-05-23 08:19:21.915424"], ["updated_at", "2018-05-23 08:19:21.915424"]]
3450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3451
+  (0.0ms) SAVEPOINT active_record_1
3452
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.917790"], ["updated_at", "2018-05-23 08:19:21.917790"]]
3453
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3454
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"
3455
+  (0.0ms) SAVEPOINT active_record_1
3456
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page"], ["wiki_space_id", 1], ["LIMIT", 1]]
3457
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page"], ["created_at", "2018-05-23 08:19:21.923360"], ["updated_at", "2018-05-23 08:19:21.923360"]]
3458
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "title"], ["body", "body"], ["created_at", "2018-05-23 08:19:21.924392"], ["updated_at", "2018-05-23 08:19:21.924392"]]
3459
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3460
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions"
3461
+  (0.5ms) rollback transaction
3462
+  (0.0ms) begin transaction
3463
+  (0.0ms) commit transaction
3464
+  (0.0ms) begin transaction
3465
+  (0.0ms) SAVEPOINT active_record_1
3466
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title14"], ["created_at", "2018-05-23 08:19:21.928181"], ["updated_at", "2018-05-23 08:19:21.928181"]]
3467
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3468
+  (0.1ms) SAVEPOINT active_record_1
3469
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.930536"], ["updated_at", "2018-05-23 08:19:21.930536"]]
3470
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3471
+  (0.4ms) rollback transaction
3472
+  (0.0ms) begin transaction
3473
+  (0.0ms) commit transaction
3474
+  (0.0ms) begin transaction
3475
+  (0.0ms) SAVEPOINT active_record_1
3476
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title15"], ["created_at", "2018-05-23 08:19:21.933364"], ["updated_at", "2018-05-23 08:19:21.933364"]]
3477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3478
+  (0.0ms) SAVEPOINT active_record_1
3479
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.935642"], ["updated_at", "2018-05-23 08:19:21.935642"]]
3480
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3481
+  (0.5ms) rollback transaction
3482
+  (0.0ms) begin transaction
3483
+  (0.0ms) commit transaction
3484
+  (0.0ms) begin transaction
3485
+  (0.0ms) SAVEPOINT active_record_1
3486
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title16"], ["created_at", "2018-05-23 08:19:21.938677"], ["updated_at", "2018-05-23 08:19:21.938677"]]
3487
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3488
+  (0.0ms) SAVEPOINT active_record_1
3489
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.940515"], ["updated_at", "2018-05-23 08:19:21.940515"]]
3490
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3491
+  (0.0ms) SAVEPOINT active_record_1
3492
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["wiki_space_id", 1], ["LIMIT", 1]]
3493
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page12"], ["created_at", "2018-05-23 08:19:21.943282"], ["updated_at", "2018-05-23 08:19:21.943282"]]
3494
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.944264"], ["updated_at", "2018-05-23 08:19:21.944264"]]
3495
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3496
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]
3497
+  (0.0ms) SAVEPOINT active_record_1
3498
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page12"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]]
3499
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("wiki_page_id", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_page_id", 1], ["body", "new title"], ["created_at", "2018-05-23 08:19:21.947704"], ["updated_at", "2018-05-23 08:19:21.947704"]]
3500
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3501
+  (0.1ms) SELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? [["wiki_page_id", 1]]
3502
+  (0.7ms) rollback transaction
3503
+  (0.0ms) begin transaction
3504
+  (0.0ms) commit transaction
3505
+  (0.0ms) begin transaction
3506
+  (0.0ms) SAVEPOINT active_record_1
3507
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title17"], ["created_at", "2018-05-23 08:19:21.966025"], ["updated_at", "2018-05-23 08:19:21.966025"]]
3508
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3509
+  (0.0ms) SAVEPOINT active_record_1
3510
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.967668"], ["updated_at", "2018-05-23 08:19:21.967668"]]
3511
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3512
+  (0.0ms) SAVEPOINT active_record_1
3513
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page13"], ["wiki_space_id", 1], ["LIMIT", 1]]
3514
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page13"], ["created_at", "2018-05-23 08:19:21.970408"], ["updated_at", "2018-05-23 08:19:21.970408"]]
3515
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.971258"], ["updated_at", "2018-05-23 08:19:21.971258"]]
3516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3517
+  (0.0ms) SAVEPOINT active_record_1
3518
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.973007"], ["updated_at", "2018-05-23 08:19:21.973007"]]
3519
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3520
+  (0.6ms) rollback transaction
3521
+  (0.0ms) begin transaction
3522
+  (0.0ms) commit transaction
3523
+  (0.0ms) begin transaction
3524
+  (0.0ms) SAVEPOINT active_record_1
3525
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title18"], ["created_at", "2018-05-23 08:19:21.976332"], ["updated_at", "2018-05-23 08:19:21.976332"]]
3526
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3527
+  (0.0ms) SAVEPOINT active_record_1
3528
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.977845"], ["updated_at", "2018-05-23 08:19:21.977845"]]
3529
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3530
+  (0.0ms) SAVEPOINT active_record_1
3531
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page14"], ["wiki_space_id", 1], ["LIMIT", 1]]
3532
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page14"], ["created_at", "2018-05-23 08:19:21.980253"], ["updated_at", "2018-05-23 08:19:21.980253"]]
3533
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.981104"], ["updated_at", "2018-05-23 08:19:21.981104"]]
3534
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3535
+  (0.0ms) SAVEPOINT active_record_1
3536
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.982734"], ["updated_at", "2018-05-23 08:19:21.982734"]]
3537
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3538
+  (0.5ms) rollback transaction
3539
+  (0.1ms) begin transaction
3540
+  (0.0ms) commit transaction
3541
+  (0.0ms) begin transaction
3542
+  (0.0ms) SAVEPOINT active_record_1
3543
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title19"], ["created_at", "2018-05-23 08:19:21.985987"], ["updated_at", "2018-05-23 08:19:21.985987"]]
3544
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3545
+  (0.0ms) SAVEPOINT active_record_1
3546
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.987489"], ["updated_at", "2018-05-23 08:19:21.987489"]]
3547
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3548
+  (0.0ms) SAVEPOINT active_record_1
3549
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page15"], ["wiki_space_id", 1], ["LIMIT", 1]]
3550
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page15"], ["created_at", "2018-05-23 08:19:21.990037"], ["updated_at", "2018-05-23 08:19:21.990037"]]
3551
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:21.991013"], ["updated_at", "2018-05-23 08:19:21.991013"]]
3552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3553
+  (0.0ms) SAVEPOINT active_record_1
3554
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.992849"], ["updated_at", "2018-05-23 08:19:21.992849"]]
3555
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3556
+  (0.6ms) rollback transaction
3557
+  (0.0ms) begin transaction
3558
+  (0.1ms) commit transaction
3559
+  (0.0ms) begin transaction
3560
+  (0.1ms) SAVEPOINT active_record_1
3561
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title20"], ["created_at", "2018-05-23 08:19:21.995941"], ["updated_at", "2018-05-23 08:19:21.995941"]]
3562
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3563
+  (0.0ms) SAVEPOINT active_record_1
3564
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:21.997471"], ["updated_at", "2018-05-23 08:19:21.997471"]]
3565
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3566
+  (0.1ms) SAVEPOINT active_record_1
3567
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page16"], ["wiki_space_id", 1], ["LIMIT", 1]]
3568
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page16"], ["created_at", "2018-05-23 08:19:21.999876"], ["updated_at", "2018-05-23 08:19:21.999876"]]
3569
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:22.000794"], ["updated_at", "2018-05-23 08:19:22.000794"]]
3570
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3571
+ Yaw::WikiPageRevision Load (0.1ms) SELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ? [["wiki_page_id", 1], ["LIMIT", 1]]
3572
+  (0.6ms) rollback transaction
3573
+  (0.0ms) begin transaction
3574
+  (0.0ms) commit transaction
3575
+  (0.0ms) begin transaction
3576
+  (0.1ms) SAVEPOINT active_record_1
3577
+ Yaw::WikiSpace Create (0.4ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title21"], ["created_at", "2018-05-23 08:19:22.005861"], ["updated_at", "2018-05-23 08:19:22.005861"]]
3578
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3579
+  (0.0ms) SAVEPOINT active_record_1
3580
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:22.007528"], ["updated_at", "2018-05-23 08:19:22.007528"]]
3581
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3582
+  (0.0ms) SAVEPOINT active_record_1
3583
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 1], ["LIMIT", 1]]
3584
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page17"], ["created_at", "2018-05-23 08:19:22.010092"], ["updated_at", "2018-05-23 08:19:22.010092"]]
3585
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:22.010929"], ["updated_at", "2018-05-23 08:19:22.010929"]]
3586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3587
+  (0.0ms) SAVEPOINT active_record_1
3588
+ Yaw::WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title22"], ["created_at", "2018-05-23 08:19:22.012781"], ["updated_at", "2018-05-23 08:19:22.012781"]]
3589
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3590
+  (0.0ms) SAVEPOINT active_record_1
3591
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:22.014165"], ["updated_at", "2018-05-23 08:19:22.014165"]]
3592
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3593
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page17"], ["wiki_space_id", 2], ["LIMIT", 1]]
3594
+  (0.5ms) rollback transaction
3595
+  (0.0ms) begin transaction
3596
+  (0.0ms) commit transaction
3597
+  (0.0ms) begin transaction
3598
+  (0.0ms) SAVEPOINT active_record_1
3599
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title23"], ["created_at", "2018-05-23 08:19:22.019145"], ["updated_at", "2018-05-23 08:19:22.019145"]]
3600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3601
+  (0.1ms) SAVEPOINT active_record_1
3602
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:22.020882"], ["updated_at", "2018-05-23 08:19:22.020882"]]
3603
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3604
+  (0.1ms) SAVEPOINT active_record_1
3605
+ Yaw::WikiPage Exists (0.2ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]
3606
+ Yaw::WikiPage Create (0.3ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page18"], ["created_at", "2018-05-23 08:19:22.024396"], ["updated_at", "2018-05-23 08:19:22.024396"]]
3607
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:22.025701"], ["updated_at", "2018-05-23 08:19:22.025701"]]
3608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3609
+  (0.0ms) SAVEPOINT active_record_1
3610
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:22.027734"], ["updated_at", "2018-05-23 08:19:22.027734"]]
3611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3612
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]
3613
+  (0.6ms) rollback transaction
3614
+  (0.0ms) begin transaction
3615
+  (0.0ms) commit transaction
3616
+  (0.0ms) begin transaction
3617
+  (0.0ms) SAVEPOINT active_record_1
3618
+ Yaw::WikiSpace Create (0.3ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title24"], ["created_at", "2018-05-23 08:19:22.038895"], ["updated_at", "2018-05-23 08:19:22.038895"]]
3619
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3620
+  (0.1ms) SAVEPOINT active_record_1
3621
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:22.040519"], ["updated_at", "2018-05-23 08:19:22.040519"]]
3622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3623
+  (0.0ms) SAVEPOINT active_record_1
3624
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page19"], ["wiki_space_id", 1], ["LIMIT", 1]]
3625
+ Yaw::WikiPage Create (0.2ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 1], ["path", "path/to/page19"], ["created_at", "2018-05-23 08:19:22.042995"], ["updated_at", "2018-05-23 08:19:22.042995"]]
3626
+ Yaw::WikiPageRevision Create (0.2ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 1], ["wiki_page_id", 1], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:22.043883"], ["updated_at", "2018-05-23 08:19:22.043883"]]
3627
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3628
+  (0.0ms) SAVEPOINT active_record_1
3629
+ Yaw::WikiSpace Create (0.1ms) INSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "title25"], ["created_at", "2018-05-23 08:19:22.045396"], ["updated_at", "2018-05-23 08:19:22.045396"]]
3630
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3631
+  (0.0ms) SAVEPOINT active_record_1
3632
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2018-05-23 08:19:22.046531"], ["updated_at", "2018-05-23 08:19:22.046531"]]
3633
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3634
+  (0.0ms) SAVEPOINT active_record_1
3635
+ Yaw::WikiPage Exists (0.1ms) SELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ? [["path", "path/to/page20"], ["wiki_space_id", 2], ["LIMIT", 1]]
3636
+ Yaw::WikiPage Create (0.1ms) INSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["wiki_space_id", 2], ["path", "path/to/page20"], ["created_at", "2018-05-23 08:19:22.048835"], ["updated_at", "2018-05-23 08:19:22.048835"]]
3637
+ Yaw::WikiPageRevision Create (0.1ms) INSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["user_id", 2], ["wiki_page_id", 2], ["title", "a wiki"], ["body", "is a page"], ["created_at", "2018-05-23 08:19:22.049649"], ["updated_at", "2018-05-23 08:19:22.049649"]]
3638
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3639
+ Yaw::WikiPage Load (0.0ms) SELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ? [["wiki_space_id", 1], ["path", "path/to/page20"], ["LIMIT", 1]]
3640
+  (0.6ms) rollback transaction