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 +4 -4
- data/app/decorators/yaw/wiki_page_decorator.rb +19 -0
- data/app/models/yaw/wiki_page.rb +44 -0
- data/app/models/yaw/wiki_page_revision.rb +9 -0
- data/app/models/yaw/wiki_space.rb +11 -0
- data/lib/yaw/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +2190 -0
- data/spec/factories/wiki.rb +2 -2
- data/spec/yaw/wiki_page_decorator_spec.rb +13 -11
- data/spec/yaw/wiki_page_model_spec.rb +47 -45
- metadata +48 -6
- data/app/decorators/wiki_page_decorator.rb +0 -17
- data/app/models/wiki_page.rb +0 -41
- data/app/models/wiki_page_revision.rb +0 -6
- data/app/models/wiki_space.rb +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a71b9162ea745801d0b2238108396c7631dd561a
|
4
|
+
data.tar.gz: 6f4ae32811a06b5e56743fba90da5503269a316f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/yaw/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -1448,3 +1448,2193 @@ Completed 302 Found in 20ms (ActiveRecord: 0.7ms)
|
|
1448
1448
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1449
1449
|
[1m[36mWikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "path/to/page20"], ["LIMIT", 1]]
|
1450
1450
|
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1451
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1452
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
1453
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
1454
|
+
[1m[35m (2.5ms)[0m [1m[31mDELETE FROM "users";[0m
|
1455
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1456
|
+
[1m[35m (0.5ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
|
1457
|
+
[1m[35m (2.0ms)[0m [1m[31mDELETE FROM "wiki_page_revisions";[0m
|
1458
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1459
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_page_revisions';[0m
|
1460
|
+
[1m[35m (2.6ms)[0m [1m[31mDELETE FROM "wiki_pages";[0m
|
1461
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1462
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_pages';[0m
|
1463
|
+
[1m[35m (1.3ms)[0m [1m[31mDELETE FROM "wiki_spaces";[0m
|
1464
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1465
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_spaces';[0m
|
1466
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
1467
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1468
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
1469
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
1470
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1471
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1472
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1473
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1474
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title1"], ["created_at", "2018-05-23 08:11:02.404034"], ["updated_at", "2018-05-23 08:11:02.404034"]]
|
1475
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1476
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1477
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.415083"], ["updated_at", "2018-05-23 08:11:02.415083"]]
|
1478
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1479
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1480
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page1"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1481
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1484
|
+
Processing by Yaw::WikiPageController#show as HTML
|
1485
|
+
Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"}
|
1486
|
+
[1m[36mWikiSpace Load (0.1ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title1"], ["LIMIT", 1]]
|
1487
|
+
[1m[36mWikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "path/to/page1"], ["LIMIT", 1]]
|
1488
|
+
[1m[36mWikiPageRevision Load (0.1ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["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
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1495
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1496
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1497
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1498
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1499
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title2"], ["created_at", "2018-05-23 08:11:02.464482"], ["updated_at", "2018-05-23 08:11:02.464482"]]
|
1500
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1501
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1502
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.465816"], ["updated_at", "2018-05-23 08:11:02.465816"]]
|
1503
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1504
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1505
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page2"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1506
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1509
|
+
Processing by Yaw::WikiPageController#show as HTML
|
1510
|
+
Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"}
|
1511
|
+
[1m[36mWikiSpace Load (0.0ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title2"], ["LIMIT", 1]]
|
1512
|
+
[1m[36mWikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1518
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1519
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1520
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1521
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1522
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title3"], ["created_at", "2018-05-23 08:11:02.480333"], ["updated_at", "2018-05-23 08:11:02.480333"]]
|
1523
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1524
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1525
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.481619"], ["updated_at", "2018-05-23 08:11:02.481619"]]
|
1526
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1527
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1528
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page3"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1529
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1532
|
+
Processing by Yaw::WikiPageController#show as HTML
|
1533
|
+
Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"}
|
1534
|
+
[1m[36mWikiSpace Load (0.1ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title3"], ["LIMIT", 1]]
|
1535
|
+
[1m[36mWikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1540
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1541
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1542
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1543
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1544
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title4"], ["created_at", "2018-05-23 08:11:02.491099"], ["updated_at", "2018-05-23 08:11:02.491099"]]
|
1545
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1546
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1547
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.492382"], ["updated_at", "2018-05-23 08:11:02.492382"]]
|
1548
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1549
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1550
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page4"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1551
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1554
|
+
Processing by Yaw::WikiPageController#edit as HTML
|
1555
|
+
Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"}
|
1556
|
+
[1m[36mWikiSpace Load (0.0ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title4"], ["LIMIT", 1]]
|
1557
|
+
[1m[36mWikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1563
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1564
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1565
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1566
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1567
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title5"], ["created_at", "2018-05-23 08:11:02.520531"], ["updated_at", "2018-05-23 08:11:02.520531"]]
|
1568
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1569
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1570
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.521921"], ["updated_at", "2018-05-23 08:11:02.521921"]]
|
1571
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1572
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1573
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page5"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1574
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mWikiSpace Load (0.2ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title5"], ["LIMIT", 1]]
|
1580
|
+
[1m[36mWikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "path/to/page5"], ["LIMIT", 1]]
|
1581
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1582
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.533807"], ["updated_at", "2018-05-23 08:11:02.533807"]]
|
1583
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1584
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1585
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page5"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1586
|
+
[1m[36mWikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1588
|
+
Redirected to http://test.host/wiki/title5/wiki/path/to/page5
|
1589
|
+
Completed 302 Found in 22ms (ActiveRecord: 0.6ms)
|
1590
|
+
[1m[36mWikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1591
|
+
[1m[36mWikiPageRevision Load (0.0ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["wiki_page_id", 1], ["LIMIT", 1]]
|
1592
|
+
[1m[36mWikiPageRevision Load (0.0ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["wiki_page_id", 1], ["LIMIT", 1]]
|
1593
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
1594
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1595
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1596
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1597
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1598
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1599
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title6"], ["created_at", "2018-05-23 08:11:02.561598"], ["updated_at", "2018-05-23 08:11:02.561598"]]
|
1600
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1601
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1602
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.563049"], ["updated_at", "2018-05-23 08:11:02.563049"]]
|
1603
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1604
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1605
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page6"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1606
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1609
|
+
Processing by Yaw::WikiPageController#create as HTML
|
1610
|
+
Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"}
|
1611
|
+
[1m[36mWikiSpace Load (0.1ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title6"], ["LIMIT", 1]]
|
1612
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1613
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.569542"], ["updated_at", "2018-05-23 08:11:02.569542"]]
|
1614
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1615
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1616
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1617
|
+
[1m[36mWikiPage Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1620
|
+
Redirected to http://test.host/wiki/title6/wiki/path
|
1621
|
+
Completed 302 Found in 21ms (ActiveRecord: 0.6ms)
|
1622
|
+
[1m[36mWikiPageRevision Load (0.1ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["wiki_page_id", 2], ["LIMIT", 1]]
|
1623
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
1624
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1625
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1626
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1627
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1628
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1629
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title7"], ["created_at", "2018-05-23 08:11:02.595591"], ["updated_at", "2018-05-23 08:11:02.595591"]]
|
1630
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1631
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1632
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.597168"], ["updated_at", "2018-05-23 08:11:02.597168"]]
|
1633
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page7"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1636
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1639
|
+
[1m[36mWikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
|
1640
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1641
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1642
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1643
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1644
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1645
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title8"], ["created_at", "2018-05-23 08:11:02.607446"], ["updated_at", "2018-05-23 08:11:02.607446"]]
|
1646
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1647
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1648
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.609029"], ["updated_at", "2018-05-23 08:11:02.609029"]]
|
1649
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1650
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1651
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page8"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1652
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1655
|
+
[1m[36mWikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
|
1656
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1657
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1658
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1659
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1660
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1661
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title9"], ["created_at", "2018-05-23 08:11:02.619586"], ["updated_at", "2018-05-23 08:11:02.619586"]]
|
1662
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1663
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1664
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.621220"], ["updated_at", "2018-05-23 08:11:02.621220"]]
|
1665
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1666
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1667
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page9"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1668
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1671
|
+
[1m[36mWikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
|
1672
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1673
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1674
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1675
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1676
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1677
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title10"], ["created_at", "2018-05-23 08:11:02.630588"], ["updated_at", "2018-05-23 08:11:02.630588"]]
|
1678
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1679
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1680
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.632120"], ["updated_at", "2018-05-23 08:11:02.632120"]]
|
1681
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1682
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1683
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page10"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1684
|
+
[1m[36mWikiPage Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1687
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1688
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.638159"], ["updated_at", "2018-05-23 08:11:02.638159"]]
|
1689
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1690
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1691
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1692
|
+
[1m[36mWikiPage Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1695
|
+
[1m[36mWikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
|
1696
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
1697
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1698
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1699
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1700
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1701
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title11"], ["created_at", "2018-05-23 08:11:02.646485"], ["updated_at", "2018-05-23 08:11:02.646485"]]
|
1702
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1703
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1704
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.647976"], ["updated_at", "2018-05-23 08:11:02.647976"]]
|
1705
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1706
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1707
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page11"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1708
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1711
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1712
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.654134"], ["updated_at", "2018-05-23 08:11:02.654134"]]
|
1713
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1714
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1715
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1716
|
+
[1m[36mWikiPage Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1719
|
+
[1m[36mWikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
|
1720
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
1721
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1722
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1723
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1724
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1725
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1726
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1727
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1728
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1729
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1730
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1731
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1732
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1733
|
+
[1m[36mWikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title12"], ["created_at", "2018-05-23 08:11:02.666235"], ["updated_at", "2018-05-23 08:11:02.666235"]]
|
1734
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1735
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1736
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.668543"], ["updated_at", "2018-05-23 08:11:02.668543"]]
|
1737
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1738
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1739
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1740
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1741
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1742
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1743
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title13"], ["created_at", "2018-05-23 08:11:02.671758"], ["updated_at", "2018-05-23 08:11:02.671758"]]
|
1744
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1745
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1746
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.673835"], ["updated_at", "2018-05-23 08:11:02.673835"]]
|
1747
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1748
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions"[0m
|
1749
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1750
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1751
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1754
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions"[0m
|
1755
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1756
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1757
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1758
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1759
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1760
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title14"], ["created_at", "2018-05-23 08:11:02.683630"], ["updated_at", "2018-05-23 08:11:02.683630"]]
|
1761
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1762
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1763
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.686115"], ["updated_at", "2018-05-23 08:11:02.686115"]]
|
1764
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1765
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1766
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1767
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1768
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1769
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1770
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title15"], ["created_at", "2018-05-23 08:11:02.689338"], ["updated_at", "2018-05-23 08:11:02.689338"]]
|
1771
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1772
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1773
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.691649"], ["updated_at", "2018-05-23 08:11:02.691649"]]
|
1774
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1775
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1776
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1777
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1778
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1779
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1780
|
+
[1m[36mWikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title16"], ["created_at", "2018-05-23 08:11:02.695143"], ["updated_at", "2018-05-23 08:11:02.695143"]]
|
1781
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1782
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1783
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.696875"], ["updated_at", "2018-05-23 08:11:02.696875"]]
|
1784
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1785
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1786
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page12"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1787
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1790
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ?[0m [["wiki_page_id", 1]]
|
1791
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1792
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page12"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1793
|
+
[1m[36mWikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("wiki_page_id", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1795
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ?[0m [["wiki_page_id", 1]]
|
1796
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1797
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1798
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1799
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1800
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1801
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title17"], ["created_at", "2018-05-23 08:11:02.722102"], ["updated_at", "2018-05-23 08:11:02.722102"]]
|
1802
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1803
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1804
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.723687"], ["updated_at", "2018-05-23 08:11:02.723687"]]
|
1805
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1806
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1807
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page13"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1808
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1811
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1812
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.729071"], ["updated_at", "2018-05-23 08:11:02.729071"]]
|
1813
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1814
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1815
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1816
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1817
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1818
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1819
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title18"], ["created_at", "2018-05-23 08:11:02.732376"], ["updated_at", "2018-05-23 08:11:02.732376"]]
|
1820
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1821
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1822
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.734040"], ["updated_at", "2018-05-23 08:11:02.734040"]]
|
1823
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1824
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1825
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page14"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1826
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1829
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1830
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.738903"], ["updated_at", "2018-05-23 08:11:02.738903"]]
|
1831
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1832
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1833
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1834
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1835
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1836
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1837
|
+
[1m[36mWikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title19"], ["created_at", "2018-05-23 08:11:02.741825"], ["updated_at", "2018-05-23 08:11:02.741825"]]
|
1838
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1839
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1840
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.743276"], ["updated_at", "2018-05-23 08:11:02.743276"]]
|
1841
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1842
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1843
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page15"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1844
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1847
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1848
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.748160"], ["updated_at", "2018-05-23 08:11:02.748160"]]
|
1849
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1850
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1851
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1852
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1853
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1854
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1855
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title20"], ["created_at", "2018-05-23 08:11:02.751470"], ["updated_at", "2018-05-23 08:11:02.751470"]]
|
1856
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1857
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1858
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.753046"], ["updated_at", "2018-05-23 08:11:02.753046"]]
|
1859
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1860
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1861
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page16"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1862
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1865
|
+
[1m[36mWikiPageRevision Load (0.0ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["wiki_page_id", 1], ["LIMIT", 1]]
|
1866
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1867
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1868
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1869
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1870
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1871
|
+
[1m[36mWikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title21"], ["created_at", "2018-05-23 08:11:02.760698"], ["updated_at", "2018-05-23 08:11:02.760698"]]
|
1872
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1873
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1874
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.762393"], ["updated_at", "2018-05-23 08:11:02.762393"]]
|
1875
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1876
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1877
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page17"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1878
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1881
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1882
|
+
[1m[36mWikiSpace Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title22"], ["created_at", "2018-05-23 08:11:02.767805"], ["updated_at", "2018-05-23 08:11:02.767805"]]
|
1883
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1884
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1885
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.769048"], ["updated_at", "2018-05-23 08:11:02.769048"]]
|
1886
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1887
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page17"], ["wiki_space_id", 2], ["LIMIT", 1]]
|
1888
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1889
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1890
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1891
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1892
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1893
|
+
[1m[36mWikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title23"], ["created_at", "2018-05-23 08:11:02.780814"], ["updated_at", "2018-05-23 08:11:02.780814"]]
|
1894
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1895
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1896
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.782467"], ["updated_at", "2018-05-23 08:11:02.782467"]]
|
1897
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1898
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1899
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1900
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1903
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1904
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.787822"], ["updated_at", "2018-05-23 08:11:02.787822"]]
|
1905
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1906
|
+
[1m[36mWikiPage Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1907
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
1908
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1909
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1910
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1911
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1912
|
+
[1m[36mWikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title24"], ["created_at", "2018-05-23 08:11:02.799923"], ["updated_at", "2018-05-23 08:11:02.799923"]]
|
1913
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1914
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1915
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.801529"], ["updated_at", "2018-05-23 08:11:02.801529"]]
|
1916
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1917
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1918
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page19"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
1919
|
+
[1m[36mWikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1922
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1923
|
+
[1m[36mWikiSpace Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title25"], ["created_at", "2018-05-23 08:11:02.806411"], ["updated_at", "2018-05-23 08:11:02.806411"]]
|
1924
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1925
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1926
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:11:02.807570"], ["updated_at", "2018-05-23 08:11:02.807570"]]
|
1927
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1928
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1929
|
+
[1m[36mWikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page20"], ["wiki_space_id", 2], ["LIMIT", 1]]
|
1930
|
+
[1m[36mWikiPage Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mWikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1933
|
+
[1m[36mWikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "path/to/page20"], ["LIMIT", 1]]
|
1934
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1935
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1936
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
1937
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
1938
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "users";[0m
|
1939
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1940
|
+
[1m[35m (0.5ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
|
1941
|
+
[1m[35m (1.9ms)[0m [1m[31mDELETE FROM "wiki_page_revisions";[0m
|
1942
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1943
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_page_revisions';[0m
|
1944
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "wiki_pages";[0m
|
1945
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1946
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_pages';[0m
|
1947
|
+
[1m[35m (1.6ms)[0m [1m[31mDELETE FROM "wiki_spaces";[0m
|
1948
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1949
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_spaces';[0m
|
1950
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
1951
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1952
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
1953
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
1954
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1955
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
1956
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
1957
|
+
[1m[35m (2.0ms)[0m [1m[31mDELETE FROM "users";[0m
|
1958
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1959
|
+
[1m[35m (0.6ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
|
1960
|
+
[1m[35m (1.9ms)[0m [1m[31mDELETE FROM "wiki_page_revisions";[0m
|
1961
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1962
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_page_revisions';[0m
|
1963
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "wiki_pages";[0m
|
1964
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1965
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_pages';[0m
|
1966
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "wiki_spaces";[0m
|
1967
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1968
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_spaces';[0m
|
1969
|
+
[1m[35m (1.3ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
1970
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1971
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
1972
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
1973
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1974
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1975
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1976
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1977
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1978
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1979
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1980
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1981
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1982
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1983
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1984
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1985
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1986
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1987
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1988
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1989
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1990
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1991
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1992
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1993
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1994
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1995
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1996
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1997
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1998
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1999
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2000
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2001
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2002
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2003
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2004
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2005
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2006
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2007
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2008
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2009
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2010
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2011
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2012
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2013
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2014
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2015
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2016
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2017
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2018
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2019
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2020
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2021
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2022
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2023
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2024
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2025
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2026
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2027
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2028
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2029
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2030
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2031
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2032
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2033
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2034
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2035
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2036
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2037
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2038
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2039
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2040
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2041
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2042
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2043
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2044
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2045
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2046
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2047
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2048
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2049
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2050
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2051
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2052
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2053
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2054
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2055
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2056
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2057
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2058
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2059
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2060
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2061
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2062
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2063
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2064
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2065
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2066
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2067
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2068
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2069
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2070
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2071
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2072
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2073
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2074
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
2075
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
2076
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "users";[0m
|
2077
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2078
|
+
[1m[35m (0.5ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
|
2079
|
+
[1m[35m (2.1ms)[0m [1m[31mDELETE FROM "wiki_page_revisions";[0m
|
2080
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2081
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_page_revisions';[0m
|
2082
|
+
[1m[35m (1.6ms)[0m [1m[31mDELETE FROM "wiki_pages";[0m
|
2083
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2084
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_pages';[0m
|
2085
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "wiki_spaces";[0m
|
2086
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2087
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_spaces';[0m
|
2088
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
2089
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2090
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
2091
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
2092
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2093
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2094
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2095
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2096
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2097
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2098
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2099
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2100
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2101
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2102
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2103
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2104
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2105
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2106
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2107
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2108
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2109
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2110
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2111
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2112
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2113
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2114
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2115
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2116
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2117
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2118
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2119
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2120
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2121
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2122
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2123
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2124
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2125
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2126
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2127
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2128
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2129
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2130
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2131
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2132
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2133
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2134
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2135
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2136
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2137
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2138
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2139
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2140
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2141
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2142
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2143
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2144
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2145
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2146
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2147
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2148
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2149
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2150
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2151
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2152
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2153
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2154
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2155
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2156
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2157
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2158
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2159
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2160
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2161
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2162
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2163
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2164
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2165
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2166
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2167
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2168
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2169
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2170
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2171
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2172
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2173
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2174
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2175
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2176
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2177
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2178
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2179
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2180
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2181
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2182
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2183
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2184
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2185
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2186
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2187
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2188
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2189
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2190
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2191
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2192
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2193
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
2194
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
2195
|
+
[1m[35m (1.9ms)[0m [1m[31mDELETE FROM "users";[0m
|
2196
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2197
|
+
[1m[35m (0.6ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
|
2198
|
+
[1m[35m (2.0ms)[0m [1m[31mDELETE FROM "wiki_page_revisions";[0m
|
2199
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2200
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_page_revisions';[0m
|
2201
|
+
[1m[35m (1.6ms)[0m [1m[31mDELETE FROM "wiki_pages";[0m
|
2202
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2203
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_pages';[0m
|
2204
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "wiki_spaces";[0m
|
2205
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2206
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_spaces';[0m
|
2207
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
2208
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2209
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
2210
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
2211
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2212
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2213
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2214
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2215
|
+
[1m[36mYaw::WikiSpace Create (0.5ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title1"], ["created_at", "2018-05-23 08:16:59.819213"], ["updated_at", "2018-05-23 08:16:59.819213"]]
|
2216
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2217
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2218
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:16:59.832727"], ["updated_at", "2018-05-23 08:16:59.832727"]]
|
2219
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2220
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2221
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page1"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2222
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2225
|
+
Processing by Yaw::WikiPageController#show as HTML
|
2226
|
+
Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"}
|
2227
|
+
[1m[36mYaw::WikiSpace Load (0.1ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title1"], ["LIMIT", 1]]
|
2228
|
+
[1m[36mYaw::WikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "path/to/page1"], ["LIMIT", 1]]
|
2229
|
+
[1m[36mYaw::WikiPageRevision Load (0.1ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["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
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2236
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2237
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2238
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2239
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2240
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title2"], ["created_at", "2018-05-23 08:16:59.882498"], ["updated_at", "2018-05-23 08:16:59.882498"]]
|
2241
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2242
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2243
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:16:59.883814"], ["updated_at", "2018-05-23 08:16:59.883814"]]
|
2244
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2245
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2246
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page2"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2247
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2250
|
+
Processing by Yaw::WikiPageController#show as HTML
|
2251
|
+
Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"}
|
2252
|
+
[1m[36mYaw::WikiSpace Load (0.0ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title2"], ["LIMIT", 1]]
|
2253
|
+
[1m[36mYaw::WikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2259
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2260
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2261
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2262
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2263
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title3"], ["created_at", "2018-05-23 08:16:59.899344"], ["updated_at", "2018-05-23 08:16:59.899344"]]
|
2264
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2265
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2266
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:16:59.900909"], ["updated_at", "2018-05-23 08:16:59.900909"]]
|
2267
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2268
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2269
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page3"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2270
|
+
[1m[36mYaw::WikiPage Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2273
|
+
Processing by Yaw::WikiPageController#show as HTML
|
2274
|
+
Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"}
|
2275
|
+
[1m[36mYaw::WikiSpace Load (0.1ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title3"], ["LIMIT", 1]]
|
2276
|
+
[1m[36mYaw::WikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2281
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2282
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2283
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2284
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2285
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title4"], ["created_at", "2018-05-23 08:16:59.912276"], ["updated_at", "2018-05-23 08:16:59.912276"]]
|
2286
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2287
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2288
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:16:59.913488"], ["updated_at", "2018-05-23 08:16:59.913488"]]
|
2289
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2290
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2291
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page4"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2292
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2295
|
+
Processing by Yaw::WikiPageController#edit as HTML
|
2296
|
+
Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"}
|
2297
|
+
[1m[36mYaw::WikiSpace Load (0.1ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title4"], ["LIMIT", 1]]
|
2298
|
+
[1m[36mYaw::WikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2304
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2305
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2306
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2307
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2308
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title5"], ["created_at", "2018-05-23 08:16:59.941096"], ["updated_at", "2018-05-23 08:16:59.941096"]]
|
2309
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2310
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2311
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:16:59.942525"], ["updated_at", "2018-05-23 08:16:59.942525"]]
|
2312
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2313
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2314
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page5"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2315
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mYaw::WikiSpace Load (0.1ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title5"], ["LIMIT", 1]]
|
2321
|
+
[1m[36mYaw::WikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "path/to/page5"], ["LIMIT", 1]]
|
2322
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2323
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:16:59.954686"], ["updated_at", "2018-05-23 08:16:59.954686"]]
|
2324
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2325
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2326
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page5"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2327
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2329
|
+
Redirected to http://test.host/wiki/title5/wiki/path/to/page5
|
2330
|
+
Completed 302 Found in 22ms (ActiveRecord: 0.5ms)
|
2331
|
+
[1m[36mYaw::WikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
2332
|
+
[1m[36mYaw::WikiPageRevision Load (0.0ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["wiki_page_id", 1], ["LIMIT", 1]]
|
2333
|
+
[1m[36mYaw::WikiPageRevision Load (0.1ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["wiki_page_id", 1], ["LIMIT", 1]]
|
2334
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
2335
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2336
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2337
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2338
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2339
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2340
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title6"], ["created_at", "2018-05-23 08:16:59.982185"], ["updated_at", "2018-05-23 08:16:59.982185"]]
|
2341
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2342
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2343
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:16:59.983629"], ["updated_at", "2018-05-23 08:16:59.983629"]]
|
2344
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2345
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2346
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page6"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2347
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2350
|
+
Processing by Yaw::WikiPageController#create as HTML
|
2351
|
+
Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"}
|
2352
|
+
[1m[36mYaw::WikiSpace Load (0.0ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title6"], ["LIMIT", 1]]
|
2353
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2354
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:16:59.990253"], ["updated_at", "2018-05-23 08:16:59.990253"]]
|
2355
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2356
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2357
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2358
|
+
[1m[36mYaw::WikiPage Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2361
|
+
Redirected to http://test.host/wiki/title6/wiki/path
|
2362
|
+
Completed 302 Found in 21ms (ActiveRecord: 0.5ms)
|
2363
|
+
[1m[36mYaw::WikiPageRevision Load (0.1ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["wiki_page_id", 2], ["LIMIT", 1]]
|
2364
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
2365
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2366
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2367
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2368
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2369
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2370
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title7"], ["created_at", "2018-05-23 08:17:00.016757"], ["updated_at", "2018-05-23 08:17:00.016757"]]
|
2371
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2372
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2373
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.018281"], ["updated_at", "2018-05-23 08:17:00.018281"]]
|
2374
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2375
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2376
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page7"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2377
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2380
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2381
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2382
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2383
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2384
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2385
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title8"], ["created_at", "2018-05-23 08:17:00.028223"], ["updated_at", "2018-05-23 08:17:00.028223"]]
|
2386
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2387
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2388
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.029747"], ["updated_at", "2018-05-23 08:17:00.029747"]]
|
2389
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2390
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2391
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page8"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2392
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2395
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2396
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2397
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2398
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2399
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2400
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title9"], ["created_at", "2018-05-23 08:17:00.038007"], ["updated_at", "2018-05-23 08:17:00.038007"]]
|
2401
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2402
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2403
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.039663"], ["updated_at", "2018-05-23 08:17:00.039663"]]
|
2404
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2405
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2406
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page9"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2407
|
+
[1m[36mYaw::WikiPage Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2410
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2411
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2412
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2413
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2414
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2415
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title10"], ["created_at", "2018-05-23 08:17:00.048368"], ["updated_at", "2018-05-23 08:17:00.048368"]]
|
2416
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2417
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2418
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.049897"], ["updated_at", "2018-05-23 08:17:00.049897"]]
|
2419
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2420
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2421
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page10"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2422
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2425
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
2426
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2427
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2428
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2429
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2430
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title11"], ["created_at", "2018-05-23 08:17:00.058880"], ["updated_at", "2018-05-23 08:17:00.058880"]]
|
2431
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2432
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2433
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.060643"], ["updated_at", "2018-05-23 08:17:00.060643"]]
|
2434
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2435
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2436
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page11"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2437
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2440
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
2441
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2442
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2443
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2444
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2445
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2446
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2447
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2448
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2449
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2450
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2451
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2452
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2453
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title12"], ["created_at", "2018-05-23 08:17:00.072811"], ["updated_at", "2018-05-23 08:17:00.072811"]]
|
2454
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2455
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2456
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.075159"], ["updated_at", "2018-05-23 08:17:00.075159"]]
|
2457
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2458
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2459
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2460
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2461
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2462
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2463
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title13"], ["created_at", "2018-05-23 08:17:00.078399"], ["updated_at", "2018-05-23 08:17:00.078399"]]
|
2464
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2465
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2466
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.080518"], ["updated_at", "2018-05-23 08:17:00.080518"]]
|
2467
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2468
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions"[0m
|
2469
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2470
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2471
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2474
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions"[0m
|
2475
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2476
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2477
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2478
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2479
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2480
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title14"], ["created_at", "2018-05-23 08:17:00.090807"], ["updated_at", "2018-05-23 08:17:00.090807"]]
|
2481
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2482
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2483
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.092998"], ["updated_at", "2018-05-23 08:17:00.092998"]]
|
2484
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2485
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2486
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2487
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2488
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2489
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2490
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title15"], ["created_at", "2018-05-23 08:17:00.095904"], ["updated_at", "2018-05-23 08:17:00.095904"]]
|
2491
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2492
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2493
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.098084"], ["updated_at", "2018-05-23 08:17:00.098084"]]
|
2494
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2495
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2496
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2497
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2498
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2499
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2500
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title16"], ["created_at", "2018-05-23 08:17:00.100991"], ["updated_at", "2018-05-23 08:17:00.100991"]]
|
2501
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2502
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2503
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.102903"], ["updated_at", "2018-05-23 08:17:00.102903"]]
|
2504
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2505
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2506
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page12"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2507
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2510
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ?[0m [["wiki_page_id", 1]]
|
2511
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2512
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page12"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2513
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("wiki_page_id", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2515
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ?[0m [["wiki_page_id", 1]]
|
2516
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
2517
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2518
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2519
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2520
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2521
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title17"], ["created_at", "2018-05-23 08:17:00.128663"], ["updated_at", "2018-05-23 08:17:00.128663"]]
|
2522
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2523
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2524
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.130245"], ["updated_at", "2018-05-23 08:17:00.130245"]]
|
2525
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2526
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2527
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page13"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2528
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2531
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2532
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.135984"], ["updated_at", "2018-05-23 08:17:00.135984"]]
|
2533
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2534
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2535
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2536
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2537
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2538
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2539
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title18"], ["created_at", "2018-05-23 08:17:00.139586"], ["updated_at", "2018-05-23 08:17:00.139586"]]
|
2540
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2541
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2542
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.141155"], ["updated_at", "2018-05-23 08:17:00.141155"]]
|
2543
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2544
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2545
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page14"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2546
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2549
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2550
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.146193"], ["updated_at", "2018-05-23 08:17:00.146193"]]
|
2551
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2552
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2553
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2554
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2555
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2556
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2557
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title19"], ["created_at", "2018-05-23 08:17:00.149117"], ["updated_at", "2018-05-23 08:17:00.149117"]]
|
2558
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2559
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2560
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.150533"], ["updated_at", "2018-05-23 08:17:00.150533"]]
|
2561
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2562
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2563
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page15"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2564
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2567
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2568
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.155984"], ["updated_at", "2018-05-23 08:17:00.155984"]]
|
2569
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2570
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2571
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2572
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2573
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2574
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2575
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title20"], ["created_at", "2018-05-23 08:17:00.159007"], ["updated_at", "2018-05-23 08:17:00.159007"]]
|
2576
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2577
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2578
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.160364"], ["updated_at", "2018-05-23 08:17:00.160364"]]
|
2579
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2580
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2581
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page16"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2582
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2585
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2586
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2587
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2588
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2589
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2590
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title21"], ["created_at", "2018-05-23 08:17:00.168001"], ["updated_at", "2018-05-23 08:17:00.168001"]]
|
2591
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2592
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2593
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.169928"], ["updated_at", "2018-05-23 08:17:00.169928"]]
|
2594
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2595
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2596
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page17"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2597
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2600
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2601
|
+
[1m[36mYaw::WikiSpace Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title22"], ["created_at", "2018-05-23 08:17:00.174997"], ["updated_at", "2018-05-23 08:17:00.174997"]]
|
2602
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2603
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2604
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.176107"], ["updated_at", "2018-05-23 08:17:00.176107"]]
|
2605
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2606
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page17"], ["wiki_space_id", 2], ["LIMIT", 1]]
|
2607
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2608
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2609
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2610
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2611
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2612
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title23"], ["created_at", "2018-05-23 08:17:00.180444"], ["updated_at", "2018-05-23 08:17:00.180444"]]
|
2613
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2614
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2615
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.181953"], ["updated_at", "2018-05-23 08:17:00.181953"]]
|
2616
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2617
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2618
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2619
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2622
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2623
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.186901"], ["updated_at", "2018-05-23 08:17:00.186901"]]
|
2624
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2625
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2626
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2627
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2628
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2629
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2630
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2631
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title24"], ["created_at", "2018-05-23 08:17:00.205404"], ["updated_at", "2018-05-23 08:17:00.205404"]]
|
2632
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2633
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2634
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.207014"], ["updated_at", "2018-05-23 08:17:00.207014"]]
|
2635
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2636
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2637
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page19"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2638
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2641
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2642
|
+
[1m[36mYaw::WikiSpace Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title25"], ["created_at", "2018-05-23 08:17:00.211812"], ["updated_at", "2018-05-23 08:17:00.211812"]]
|
2643
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2644
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2645
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:17:00.212892"], ["updated_at", "2018-05-23 08:17:00.212892"]]
|
2646
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2647
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2648
|
+
[1m[36mYaw::WikiPage Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page20"], ["wiki_space_id", 2], ["LIMIT", 1]]
|
2649
|
+
[1m[36mYaw::WikiPage Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2652
|
+
[1m[36mYaw::WikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "path/to/page20"], ["LIMIT", 1]]
|
2653
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2654
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2655
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
2656
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
2657
|
+
[1m[35m (2.0ms)[0m [1m[31mDELETE FROM "users";[0m
|
2658
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2659
|
+
[1m[35m (0.5ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
|
2660
|
+
[1m[35m (2.0ms)[0m [1m[31mDELETE FROM "wiki_page_revisions";[0m
|
2661
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2662
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_page_revisions';[0m
|
2663
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "wiki_pages";[0m
|
2664
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2665
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_pages';[0m
|
2666
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "wiki_spaces";[0m
|
2667
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2668
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_spaces';[0m
|
2669
|
+
[1m[35m (1.3ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
2670
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2671
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
2672
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
2673
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2674
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
2675
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
2676
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "users";[0m
|
2677
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2678
|
+
[1m[35m (0.4ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
|
2679
|
+
[1m[35m (1.6ms)[0m [1m[31mDELETE FROM "wiki_page_revisions";[0m
|
2680
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2681
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_page_revisions';[0m
|
2682
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "wiki_pages";[0m
|
2683
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2684
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_pages';[0m
|
2685
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "wiki_spaces";[0m
|
2686
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2687
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_spaces';[0m
|
2688
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
2689
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2690
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
2691
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
2692
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2693
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2694
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2695
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2696
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title1"], ["created_at", "2018-05-23 08:18:25.770987"], ["updated_at", "2018-05-23 08:18:25.770987"]]
|
2697
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2698
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2699
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:25.784411"], ["updated_at", "2018-05-23 08:18:25.784411"]]
|
2700
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2701
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2702
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page1"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2703
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2706
|
+
Processing by Yaw::WikiPageController#show as HTML
|
2707
|
+
Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"}
|
2708
|
+
[1m[36mYaw::WikiSpace Load (0.1ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title1"], ["LIMIT", 1]]
|
2709
|
+
[1m[36mYaw::WikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "path/to/page1"], ["LIMIT", 1]]
|
2710
|
+
[1m[36mYaw::WikiPageRevision Load (0.1ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["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
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2717
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2718
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2719
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2720
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2721
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title2"], ["created_at", "2018-05-23 08:18:25.834038"], ["updated_at", "2018-05-23 08:18:25.834038"]]
|
2722
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2723
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2724
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:25.835336"], ["updated_at", "2018-05-23 08:18:25.835336"]]
|
2725
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2726
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2727
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page2"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2728
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2731
|
+
Processing by Yaw::WikiPageController#show as HTML
|
2732
|
+
Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"}
|
2733
|
+
[1m[36mYaw::WikiSpace Load (0.0ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title2"], ["LIMIT", 1]]
|
2734
|
+
[1m[36mYaw::WikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2740
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2741
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2742
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2743
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2744
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title3"], ["created_at", "2018-05-23 08:18:25.848813"], ["updated_at", "2018-05-23 08:18:25.848813"]]
|
2745
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2746
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2747
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:25.850060"], ["updated_at", "2018-05-23 08:18:25.850060"]]
|
2748
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2749
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2750
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page3"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2751
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2754
|
+
Processing by Yaw::WikiPageController#show as HTML
|
2755
|
+
Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"}
|
2756
|
+
[1m[36mYaw::WikiSpace Load (0.1ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title3"], ["LIMIT", 1]]
|
2757
|
+
[1m[36mYaw::WikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2762
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2763
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2764
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2765
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2766
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title4"], ["created_at", "2018-05-23 08:18:25.860664"], ["updated_at", "2018-05-23 08:18:25.860664"]]
|
2767
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2768
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2769
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:25.862490"], ["updated_at", "2018-05-23 08:18:25.862490"]]
|
2770
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2771
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2772
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page4"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2773
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2776
|
+
Processing by Yaw::WikiPageController#edit as HTML
|
2777
|
+
Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"}
|
2778
|
+
[1m[36mYaw::WikiSpace Load (0.0ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title4"], ["LIMIT", 1]]
|
2779
|
+
[1m[36mYaw::WikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2785
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2786
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2787
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2788
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2789
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title5"], ["created_at", "2018-05-23 08:18:25.889053"], ["updated_at", "2018-05-23 08:18:25.889053"]]
|
2790
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2791
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2792
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:25.890495"], ["updated_at", "2018-05-23 08:18:25.890495"]]
|
2793
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2794
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2795
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page5"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2796
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mYaw::WikiSpace Load (0.1ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title5"], ["LIMIT", 1]]
|
2802
|
+
[1m[36mYaw::WikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "path/to/page5"], ["LIMIT", 1]]
|
2803
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2804
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:25.902961"], ["updated_at", "2018-05-23 08:18:25.902961"]]
|
2805
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2806
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2807
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page5"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2808
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2810
|
+
Redirected to http://test.host/wiki/title5/wiki/path/to/page5
|
2811
|
+
Completed 302 Found in 24ms (ActiveRecord: 0.6ms)
|
2812
|
+
[1m[36mYaw::WikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
2813
|
+
[1m[36mYaw::WikiPageRevision Load (0.1ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["wiki_page_id", 1], ["LIMIT", 1]]
|
2814
|
+
[1m[36mYaw::WikiPageRevision Load (0.0ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["wiki_page_id", 1], ["LIMIT", 1]]
|
2815
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
2816
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2817
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2818
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2819
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2820
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2821
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title6"], ["created_at", "2018-05-23 08:18:25.932236"], ["updated_at", "2018-05-23 08:18:25.932236"]]
|
2822
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2823
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2824
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:25.933851"], ["updated_at", "2018-05-23 08:18:25.933851"]]
|
2825
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2826
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2827
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page6"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2828
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2831
|
+
Processing by Yaw::WikiPageController#create as HTML
|
2832
|
+
Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"}
|
2833
|
+
[1m[36mYaw::WikiSpace Load (0.1ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title6"], ["LIMIT", 1]]
|
2834
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2835
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:25.940914"], ["updated_at", "2018-05-23 08:18:25.940914"]]
|
2836
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2837
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2838
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2839
|
+
[1m[36mYaw::WikiPage Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2842
|
+
Redirected to http://test.host/wiki/title6/wiki/path
|
2843
|
+
Completed 302 Found in 21ms (ActiveRecord: 0.6ms)
|
2844
|
+
[1m[36mYaw::WikiPageRevision Load (0.1ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["wiki_page_id", 2], ["LIMIT", 1]]
|
2845
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
2846
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2847
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2848
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2849
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2850
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2851
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title7"], ["created_at", "2018-05-23 08:18:25.966509"], ["updated_at", "2018-05-23 08:18:25.966509"]]
|
2852
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2853
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2854
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:25.968129"], ["updated_at", "2018-05-23 08:18:25.968129"]]
|
2855
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2856
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2857
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page7"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2858
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2861
|
+
[1m[36mYaw::WikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
|
2862
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2863
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2864
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2865
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2866
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2867
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title8"], ["created_at", "2018-05-23 08:18:25.978022"], ["updated_at", "2018-05-23 08:18:25.978022"]]
|
2868
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2869
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2870
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:25.979637"], ["updated_at", "2018-05-23 08:18:25.979637"]]
|
2871
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2872
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2873
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page8"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2874
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2877
|
+
[1m[36mYaw::WikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
|
2878
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2879
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2880
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2881
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2882
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2883
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title9"], ["created_at", "2018-05-23 08:18:25.988862"], ["updated_at", "2018-05-23 08:18:25.988862"]]
|
2884
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2885
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2886
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:25.990631"], ["updated_at", "2018-05-23 08:18:25.990631"]]
|
2887
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2888
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2889
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page9"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2890
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2893
|
+
[1m[36mYaw::WikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
|
2894
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2895
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2896
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2897
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2898
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2899
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title10"], ["created_at", "2018-05-23 08:18:26.000044"], ["updated_at", "2018-05-23 08:18:26.000044"]]
|
2900
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2901
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2902
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.001824"], ["updated_at", "2018-05-23 08:18:26.001824"]]
|
2903
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2904
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2905
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page10"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2906
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2909
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2910
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.008312"], ["updated_at", "2018-05-23 08:18:26.008312"]]
|
2911
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2912
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2913
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2914
|
+
[1m[36mYaw::WikiPage Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2917
|
+
[1m[36mYaw::WikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
|
2918
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2919
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2920
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2921
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2922
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2923
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title11"], ["created_at", "2018-05-23 08:18:26.016854"], ["updated_at", "2018-05-23 08:18:26.016854"]]
|
2924
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2925
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2926
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.018468"], ["updated_at", "2018-05-23 08:18:26.018468"]]
|
2927
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2928
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2929
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page11"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2930
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2933
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2934
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.024424"], ["updated_at", "2018-05-23 08:18:26.024424"]]
|
2935
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2936
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2937
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2938
|
+
[1m[36mYaw::WikiPage Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2941
|
+
[1m[36mYaw::WikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
|
2942
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2943
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2944
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2945
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2946
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2947
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2948
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2949
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2950
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2951
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2952
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2953
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2954
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2955
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title12"], ["created_at", "2018-05-23 08:18:26.036263"], ["updated_at", "2018-05-23 08:18:26.036263"]]
|
2956
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2957
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2958
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.038566"], ["updated_at", "2018-05-23 08:18:26.038566"]]
|
2959
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2960
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2961
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2962
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2963
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2964
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2965
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title13"], ["created_at", "2018-05-23 08:18:26.042059"], ["updated_at", "2018-05-23 08:18:26.042059"]]
|
2966
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2967
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2968
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.044096"], ["updated_at", "2018-05-23 08:18:26.044096"]]
|
2969
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2970
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions"[0m
|
2971
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2972
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
2973
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2976
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions"[0m
|
2977
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2978
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2979
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2980
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2981
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2982
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title14"], ["created_at", "2018-05-23 08:18:26.054216"], ["updated_at", "2018-05-23 08:18:26.054216"]]
|
2983
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2984
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2985
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.056821"], ["updated_at", "2018-05-23 08:18:26.056821"]]
|
2986
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2987
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2988
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2989
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2990
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2991
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2992
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title15"], ["created_at", "2018-05-23 08:18:26.060053"], ["updated_at", "2018-05-23 08:18:26.060053"]]
|
2993
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2994
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2995
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.062314"], ["updated_at", "2018-05-23 08:18:26.062314"]]
|
2996
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2997
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2998
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2999
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3000
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3001
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3002
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title16"], ["created_at", "2018-05-23 08:18:26.065376"], ["updated_at", "2018-05-23 08:18:26.065376"]]
|
3003
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3004
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3005
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.067098"], ["updated_at", "2018-05-23 08:18:26.067098"]]
|
3006
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3007
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3008
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page12"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3009
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3012
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ?[0m [["wiki_page_id", 1]]
|
3013
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3014
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page12"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3015
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("wiki_page_id", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3017
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ?[0m [["wiki_page_id", 1]]
|
3018
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3019
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3020
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3021
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3022
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3023
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title17"], ["created_at", "2018-05-23 08:18:26.091808"], ["updated_at", "2018-05-23 08:18:26.091808"]]
|
3024
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3025
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3026
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.093554"], ["updated_at", "2018-05-23 08:18:26.093554"]]
|
3027
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3028
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3029
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page13"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3030
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3033
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3034
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.098757"], ["updated_at", "2018-05-23 08:18:26.098757"]]
|
3035
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3036
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
3037
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3038
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3039
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3040
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3041
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title18"], ["created_at", "2018-05-23 08:18:26.102027"], ["updated_at", "2018-05-23 08:18:26.102027"]]
|
3042
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3043
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3044
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.103632"], ["updated_at", "2018-05-23 08:18:26.103632"]]
|
3045
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3046
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3047
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page14"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3048
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3051
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3052
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.108451"], ["updated_at", "2018-05-23 08:18:26.108451"]]
|
3053
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3054
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
3055
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3056
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3057
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3058
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3059
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title19"], ["created_at", "2018-05-23 08:18:26.111621"], ["updated_at", "2018-05-23 08:18:26.111621"]]
|
3060
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3061
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3062
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.113150"], ["updated_at", "2018-05-23 08:18:26.113150"]]
|
3063
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3064
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3065
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page15"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3066
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3069
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3070
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.118128"], ["updated_at", "2018-05-23 08:18:26.118128"]]
|
3071
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3072
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
3073
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3074
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3075
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3076
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3077
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title20"], ["created_at", "2018-05-23 08:18:26.121096"], ["updated_at", "2018-05-23 08:18:26.121096"]]
|
3078
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3079
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3080
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.122629"], ["updated_at", "2018-05-23 08:18:26.122629"]]
|
3081
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3082
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3083
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page16"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3084
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3087
|
+
[1m[36mYaw::WikiPageRevision Load (0.1ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["wiki_page_id", 1], ["LIMIT", 1]]
|
3088
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3089
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3090
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3091
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3092
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3093
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title21"], ["created_at", "2018-05-23 08:18:26.131062"], ["updated_at", "2018-05-23 08:18:26.131062"]]
|
3094
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3095
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3096
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.132524"], ["updated_at", "2018-05-23 08:18:26.132524"]]
|
3097
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3098
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3099
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page17"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3100
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3103
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3104
|
+
[1m[36mYaw::WikiSpace Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title22"], ["created_at", "2018-05-23 08:18:26.137762"], ["updated_at", "2018-05-23 08:18:26.137762"]]
|
3105
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3106
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3107
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.138910"], ["updated_at", "2018-05-23 08:18:26.138910"]]
|
3108
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3109
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page17"], ["wiki_space_id", 2], ["LIMIT", 1]]
|
3110
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3111
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3112
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3113
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3114
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3115
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title23"], ["created_at", "2018-05-23 08:18:26.143473"], ["updated_at", "2018-05-23 08:18:26.143473"]]
|
3116
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3117
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3118
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.145127"], ["updated_at", "2018-05-23 08:18:26.145127"]]
|
3119
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3120
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3121
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3122
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3125
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3126
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.149963"], ["updated_at", "2018-05-23 08:18:26.149963"]]
|
3127
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3128
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3129
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3130
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3131
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3132
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3133
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3134
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title24"], ["created_at", "2018-05-23 08:18:26.169726"], ["updated_at", "2018-05-23 08:18:26.169726"]]
|
3135
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3136
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3137
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.171322"], ["updated_at", "2018-05-23 08:18:26.171322"]]
|
3138
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3139
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3140
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page19"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3141
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3144
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3145
|
+
[1m[36mYaw::WikiSpace Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title25"], ["created_at", "2018-05-23 08:18:26.176467"], ["updated_at", "2018-05-23 08:18:26.176467"]]
|
3146
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3147
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3148
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:18:26.177669"], ["updated_at", "2018-05-23 08:18:26.177669"]]
|
3149
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3150
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3151
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page20"], ["wiki_space_id", 2], ["LIMIT", 1]]
|
3152
|
+
[1m[36mYaw::WikiPage Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3155
|
+
[1m[36mYaw::WikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "path/to/page20"], ["LIMIT", 1]]
|
3156
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
3157
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3158
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
3159
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
3160
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "users";[0m
|
3161
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
3162
|
+
[1m[35m (0.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
|
3163
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "wiki_page_revisions";[0m
|
3164
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
3165
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_page_revisions';[0m
|
3166
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "wiki_pages";[0m
|
3167
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
3168
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_pages';[0m
|
3169
|
+
[1m[35m (0.8ms)[0m [1m[31mDELETE FROM "wiki_spaces";[0m
|
3170
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
3171
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'wiki_spaces';[0m
|
3172
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
3173
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
3174
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
3175
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
3176
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3177
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3178
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3179
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3180
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title1"], ["created_at", "2018-05-23 08:19:21.637228"], ["updated_at", "2018-05-23 08:19:21.637228"]]
|
3181
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3182
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3183
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.654751"], ["updated_at", "2018-05-23 08:19:21.654751"]]
|
3184
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3185
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3186
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page1"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3187
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3190
|
+
Processing by Yaw::WikiPageController#show as HTML
|
3191
|
+
Parameters: {"wiki_space_id"=>"title1", "path"=>"path/to/page1"}
|
3192
|
+
[1m[36mYaw::WikiSpace Load (0.1ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title1"], ["LIMIT", 1]]
|
3193
|
+
[1m[36mYaw::WikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "path/to/page1"], ["LIMIT", 1]]
|
3194
|
+
[1m[36mYaw::WikiPageRevision Load (0.1ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["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
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3201
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3202
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3203
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3204
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3205
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title2"], ["created_at", "2018-05-23 08:19:21.703301"], ["updated_at", "2018-05-23 08:19:21.703301"]]
|
3206
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3207
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3208
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.704664"], ["updated_at", "2018-05-23 08:19:21.704664"]]
|
3209
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3210
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3211
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page2"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3212
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3215
|
+
Processing by Yaw::WikiPageController#show as HTML
|
3216
|
+
Parameters: {"wiki_space_id"=>"title2", "path"=>"new/id"}
|
3217
|
+
[1m[36mYaw::WikiSpace Load (0.0ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title2"], ["LIMIT", 1]]
|
3218
|
+
[1m[36mYaw::WikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
3224
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3225
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3226
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3227
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3228
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title3"], ["created_at", "2018-05-23 08:19:21.718713"], ["updated_at", "2018-05-23 08:19:21.718713"]]
|
3229
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3230
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3231
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.720011"], ["updated_at", "2018-05-23 08:19:21.720011"]]
|
3232
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3233
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3234
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page3"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3235
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3238
|
+
Processing by Yaw::WikiPageController#show as HTML
|
3239
|
+
Parameters: {"wiki_space_id"=>"title3", "path"=>"This%20is%20a%20pen"}
|
3240
|
+
[1m[36mYaw::WikiSpace Load (0.0ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title3"], ["LIMIT", 1]]
|
3241
|
+
[1m[36mYaw::WikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3246
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3247
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3248
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3249
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3250
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title4"], ["created_at", "2018-05-23 08:19:21.729314"], ["updated_at", "2018-05-23 08:19:21.729314"]]
|
3251
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3252
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3253
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.730706"], ["updated_at", "2018-05-23 08:19:21.730706"]]
|
3254
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3255
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3256
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page4"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3257
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3260
|
+
Processing by Yaw::WikiPageController#edit as HTML
|
3261
|
+
Parameters: {"wiki_space_id"=>"title4", "path"=>"path/to/page4"}
|
3262
|
+
[1m[36mYaw::WikiSpace Load (0.0ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title4"], ["LIMIT", 1]]
|
3263
|
+
[1m[36mYaw::WikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3269
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3270
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3271
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3272
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3273
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title5"], ["created_at", "2018-05-23 08:19:21.757879"], ["updated_at", "2018-05-23 08:19:21.757879"]]
|
3274
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3275
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3276
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.759556"], ["updated_at", "2018-05-23 08:19:21.759556"]]
|
3277
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3278
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3279
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page5"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3280
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mYaw::WikiSpace Load (0.1ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title5"], ["LIMIT", 1]]
|
3286
|
+
[1m[36mYaw::WikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "path/to/page5"], ["LIMIT", 1]]
|
3287
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3288
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.773577"], ["updated_at", "2018-05-23 08:19:21.773577"]]
|
3289
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3290
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3291
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page5"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3292
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3294
|
+
Redirected to http://test.host/wiki/title5/wiki/path/to/page5
|
3295
|
+
Completed 302 Found in 27ms (ActiveRecord: 0.6ms)
|
3296
|
+
[1m[36mYaw::WikiPage Load (0.2ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
3297
|
+
[1m[36mYaw::WikiPageRevision Load (0.0ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["wiki_page_id", 1], ["LIMIT", 1]]
|
3298
|
+
[1m[36mYaw::WikiPageRevision Load (0.0ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["wiki_page_id", 1], ["LIMIT", 1]]
|
3299
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
3300
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3301
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3302
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3303
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3304
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3305
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title6"], ["created_at", "2018-05-23 08:19:21.806214"], ["updated_at", "2018-05-23 08:19:21.806214"]]
|
3306
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3307
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3308
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.807709"], ["updated_at", "2018-05-23 08:19:21.807709"]]
|
3309
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3310
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3311
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page6"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3312
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3315
|
+
Processing by Yaw::WikiPageController#create as HTML
|
3316
|
+
Parameters: {"wiki_page"=>{"body"=>"blah", "path"=>"path", "title"=>"new name"}, "wiki_space_id"=>"title6"}
|
3317
|
+
[1m[36mYaw::WikiSpace Load (0.0ms)[0m [1m[34mSELECT "wiki_spaces".* FROM "wiki_spaces" WHERE "wiki_spaces"."title" = ? LIMIT ?[0m [["title", "title6"], ["LIMIT", 1]]
|
3318
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3319
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.813711"], ["updated_at", "2018-05-23 08:19:21.813711"]]
|
3320
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3321
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3322
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3323
|
+
[1m[36mYaw::WikiPage Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3326
|
+
Redirected to http://test.host/wiki/title6/wiki/path
|
3327
|
+
Completed 302 Found in 20ms (ActiveRecord: 0.5ms)
|
3328
|
+
[1m[36mYaw::WikiPageRevision Load (0.1ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["wiki_page_id", 2], ["LIMIT", 1]]
|
3329
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
3330
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
3331
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3332
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3333
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3334
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3335
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title7"], ["created_at", "2018-05-23 08:19:21.838438"], ["updated_at", "2018-05-23 08:19:21.838438"]]
|
3336
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3337
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3338
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.840035"], ["updated_at", "2018-05-23 08:19:21.840035"]]
|
3339
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3340
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3341
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page7"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3342
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3345
|
+
[1m[36mYaw::WikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
|
3346
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3347
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3348
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3349
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3350
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3351
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title8"], ["created_at", "2018-05-23 08:19:21.849678"], ["updated_at", "2018-05-23 08:19:21.849678"]]
|
3352
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3353
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3354
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.851305"], ["updated_at", "2018-05-23 08:19:21.851305"]]
|
3355
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3356
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3357
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page8"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3358
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3361
|
+
[1m[36mYaw::WikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
|
3362
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
3363
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3364
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3365
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3366
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3367
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title9"], ["created_at", "2018-05-23 08:19:21.861695"], ["updated_at", "2018-05-23 08:19:21.861695"]]
|
3368
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3369
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3370
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.863327"], ["updated_at", "2018-05-23 08:19:21.863327"]]
|
3371
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3372
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3373
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page9"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3374
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3377
|
+
[1m[36mYaw::WikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
|
3378
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3379
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3380
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3381
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3382
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3383
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title10"], ["created_at", "2018-05-23 08:19:21.873212"], ["updated_at", "2018-05-23 08:19:21.873212"]]
|
3384
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3385
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3386
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.875060"], ["updated_at", "2018-05-23 08:19:21.875060"]]
|
3387
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3388
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3389
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page10"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3390
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3393
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3394
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.880746"], ["updated_at", "2018-05-23 08:19:21.880746"]]
|
3395
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3396
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3397
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3398
|
+
[1m[36mYaw::WikiPage Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3401
|
+
[1m[36mYaw::WikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
|
3402
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3403
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3404
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3405
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3406
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3407
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title11"], ["created_at", "2018-05-23 08:19:21.889483"], ["updated_at", "2018-05-23 08:19:21.889483"]]
|
3408
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3409
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3410
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.891272"], ["updated_at", "2018-05-23 08:19:21.891272"]]
|
3411
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3412
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3413
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page11"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3414
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3417
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3418
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.896830"], ["updated_at", "2018-05-23 08:19:21.896830"]]
|
3419
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3420
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3421
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "something here"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3422
|
+
[1m[36mYaw::WikiPage Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3425
|
+
[1m[36mYaw::WikiPage Load (0.1ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "something here"], ["LIMIT", 1]]
|
3426
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3427
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3428
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3429
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3430
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3431
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3432
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3433
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3434
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3435
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3436
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3437
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3438
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3439
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title12"], ["created_at", "2018-05-23 08:19:21.909379"], ["updated_at", "2018-05-23 08:19:21.909379"]]
|
3440
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3441
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3442
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.911689"], ["updated_at", "2018-05-23 08:19:21.911689"]]
|
3443
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3444
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3445
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3446
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3447
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3448
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3449
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title13"], ["created_at", "2018-05-23 08:19:21.915424"], ["updated_at", "2018-05-23 08:19:21.915424"]]
|
3450
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3451
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3452
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.917790"], ["updated_at", "2018-05-23 08:19:21.917790"]]
|
3453
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3454
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions"[0m
|
3455
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3456
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3457
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3460
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions"[0m
|
3461
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
3462
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3463
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3464
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3465
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3466
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title14"], ["created_at", "2018-05-23 08:19:21.928181"], ["updated_at", "2018-05-23 08:19:21.928181"]]
|
3467
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3468
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3469
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.930536"], ["updated_at", "2018-05-23 08:19:21.930536"]]
|
3470
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3471
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
3472
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3473
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3474
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3475
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3476
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title15"], ["created_at", "2018-05-23 08:19:21.933364"], ["updated_at", "2018-05-23 08:19:21.933364"]]
|
3477
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3478
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3479
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.935642"], ["updated_at", "2018-05-23 08:19:21.935642"]]
|
3480
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3481
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
3482
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3483
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3484
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3485
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3486
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title16"], ["created_at", "2018-05-23 08:19:21.938677"], ["updated_at", "2018-05-23 08:19:21.938677"]]
|
3487
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3488
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3489
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.940515"], ["updated_at", "2018-05-23 08:19:21.940515"]]
|
3490
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3491
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3492
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page12"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3493
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3496
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ?[0m [["wiki_page_id", 1]]
|
3497
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3498
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."id" != ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page12"], ["id", 1], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3499
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("wiki_page_id", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3501
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ?[0m [["wiki_page_id", 1]]
|
3502
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
3503
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3504
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3505
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3506
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3507
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title17"], ["created_at", "2018-05-23 08:19:21.966025"], ["updated_at", "2018-05-23 08:19:21.966025"]]
|
3508
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3509
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3510
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.967668"], ["updated_at", "2018-05-23 08:19:21.967668"]]
|
3511
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3512
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3513
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page13"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3514
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3517
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3518
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.973007"], ["updated_at", "2018-05-23 08:19:21.973007"]]
|
3519
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3520
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3521
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3522
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3523
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3524
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3525
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title18"], ["created_at", "2018-05-23 08:19:21.976332"], ["updated_at", "2018-05-23 08:19:21.976332"]]
|
3526
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3527
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3528
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.977845"], ["updated_at", "2018-05-23 08:19:21.977845"]]
|
3529
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3530
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3531
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page14"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3532
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3535
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3536
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.982734"], ["updated_at", "2018-05-23 08:19:21.982734"]]
|
3537
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3538
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
3539
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3540
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3541
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3542
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3543
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title19"], ["created_at", "2018-05-23 08:19:21.985987"], ["updated_at", "2018-05-23 08:19:21.985987"]]
|
3544
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3545
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3546
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.987489"], ["updated_at", "2018-05-23 08:19:21.987489"]]
|
3547
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3548
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3549
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page15"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3550
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3553
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3554
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.992849"], ["updated_at", "2018-05-23 08:19:21.992849"]]
|
3555
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3556
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3557
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3558
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
3559
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3560
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3561
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title20"], ["created_at", "2018-05-23 08:19:21.995941"], ["updated_at", "2018-05-23 08:19:21.995941"]]
|
3562
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3563
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3564
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:21.997471"], ["updated_at", "2018-05-23 08:19:21.997471"]]
|
3565
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3566
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3567
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page16"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3568
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3571
|
+
[1m[36mYaw::WikiPageRevision Load (0.1ms)[0m [1m[34mSELECT "wiki_page_revisions".* FROM "wiki_page_revisions" WHERE "wiki_page_revisions"."wiki_page_id" = ? ORDER BY "wiki_page_revisions"."id" DESC LIMIT ?[0m [["wiki_page_id", 1], ["LIMIT", 1]]
|
3572
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3573
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3574
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3575
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3576
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3577
|
+
[1m[36mYaw::WikiSpace Create (0.4ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title21"], ["created_at", "2018-05-23 08:19:22.005861"], ["updated_at", "2018-05-23 08:19:22.005861"]]
|
3578
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3579
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3580
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:22.007528"], ["updated_at", "2018-05-23 08:19:22.007528"]]
|
3581
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3582
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3583
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page17"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3584
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3587
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3588
|
+
[1m[36mYaw::WikiSpace Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title22"], ["created_at", "2018-05-23 08:19:22.012781"], ["updated_at", "2018-05-23 08:19:22.012781"]]
|
3589
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3590
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3591
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:22.014165"], ["updated_at", "2018-05-23 08:19:22.014165"]]
|
3592
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3593
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page17"], ["wiki_space_id", 2], ["LIMIT", 1]]
|
3594
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
3595
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3596
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3597
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3598
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3599
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title23"], ["created_at", "2018-05-23 08:19:22.019145"], ["updated_at", "2018-05-23 08:19:22.019145"]]
|
3600
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3601
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3602
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:22.020882"], ["updated_at", "2018-05-23 08:19:22.020882"]]
|
3603
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3604
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3605
|
+
[1m[36mYaw::WikiPage Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3606
|
+
[1m[36mYaw::WikiPage Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3609
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3610
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:22.027734"], ["updated_at", "2018-05-23 08:19:22.027734"]]
|
3611
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3612
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page18"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3613
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
3614
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3615
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3616
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3617
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3618
|
+
[1m[36mYaw::WikiSpace Create (0.3ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title24"], ["created_at", "2018-05-23 08:19:22.038895"], ["updated_at", "2018-05-23 08:19:22.038895"]]
|
3619
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3620
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3621
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:22.040519"], ["updated_at", "2018-05-23 08:19:22.040519"]]
|
3622
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3623
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3624
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page19"], ["wiki_space_id", 1], ["LIMIT", 1]]
|
3625
|
+
[1m[36mYaw::WikiPage Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.2ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3628
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3629
|
+
[1m[36mYaw::WikiSpace Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_spaces" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "title25"], ["created_at", "2018-05-23 08:19:22.045396"], ["updated_at", "2018-05-23 08:19:22.045396"]]
|
3630
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3631
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3632
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "tom"], ["created_at", "2018-05-23 08:19:22.046531"], ["updated_at", "2018-05-23 08:19:22.046531"]]
|
3633
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3634
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
3635
|
+
[1m[36mYaw::WikiPage Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "wiki_pages" WHERE "wiki_pages"."path" = ? AND "wiki_pages"."wiki_space_id" = ? LIMIT ?[0m [["path", "path/to/page20"], ["wiki_space_id", 2], ["LIMIT", 1]]
|
3636
|
+
[1m[36mYaw::WikiPage Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_pages" ("wiki_space_id", "path", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[36mYaw::WikiPageRevision Create (0.1ms)[0m [1m[32mINSERT INTO "wiki_page_revisions" ("user_id", "wiki_page_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
3639
|
+
[1m[36mYaw::WikiPage Load (0.0ms)[0m [1m[34mSELECT "wiki_pages".* FROM "wiki_pages" WHERE "wiki_pages"."wiki_space_id" = ? AND "wiki_pages"."path" = ? LIMIT ?[0m [["wiki_space_id", 1], ["path", "path/to/page20"], ["LIMIT", 1]]
|
3640
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|